swBackend
Class SWEditor

java.lang.Object
  |
  +--swBackend.SWEditor

public class SWEditor
extends java.lang.Object

Author:
Steffen MS: changed backend to IAbstractionLayer

Field Summary
static IAbstractionLayer backend
           
 
Constructor Summary
SWEditor()
           
 
Method Summary
static java.lang.String clearString(java.lang.String s)
           
static java.util.Vector ClearVector(java.util.Vector v)
           
protected static void htmlClassTree(java.io.Writer out, int Level, java.lang.String Concept, java.util.Vector expandable, java.lang.String URL, java.lang.String editorURL, java.lang.String target)
          Writes all subconcepts of Concepts, if Concept is in expandable.
static void htmlClassTree(java.io.Writer out, java.lang.String expanded, java.lang.String URL, java.lang.String editorURL, java.lang.String target)
          Writes the complete concept-tree with the concept "expanded" as expanded.
protected static void htmlPropertyTree(java.io.Writer out, int Level, java.lang.String Property, java.util.Vector expandable)
          Writes all subproperties of Proeprty, if Property is in expandable.
static void htmlPropertyTree(java.io.Writer out, java.lang.String expanded)
          Writes the complete property-tree with the property "expanded" as expanded.
static void printVector(java.io.Writer out, java.util.Vector v, boolean sort)
           
static boolean sameContent(java.util.Vector v1, java.util.Vector v2)
           
static void SingleInstance()
           
static void sort(java.util.Vector v)
           
static java.util.Vector StringToVector(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

backend

public static IAbstractionLayer backend
Constructor Detail

SWEditor

public SWEditor()
Method Detail

SingleInstance

public static void SingleInstance()
                           throws SWException
SWException

clearString

public static java.lang.String clearString(java.lang.String s)

sameContent

public static boolean sameContent(java.util.Vector v1,
                                  java.util.Vector v2)

ClearVector

public static java.util.Vector ClearVector(java.util.Vector v)

StringToVector

public static java.util.Vector StringToVector(java.lang.String s)

sort

public static void sort(java.util.Vector v)

printVector

public static void printVector(java.io.Writer out,
                               java.util.Vector v,
                               boolean sort)
                        throws java.io.IOException
java.io.IOException

htmlClassTree

protected static void htmlClassTree(java.io.Writer out,
                                    int Level,
                                    java.lang.String Concept,
                                    java.util.Vector expandable,
                                    java.lang.String URL,
                                    java.lang.String editorURL,
                                    java.lang.String target)
                             throws SWException,
                                    java.io.IOException
Writes all subconcepts of Concepts, if Concept is in expandable.

Parameters:
out - The writer where the concept-tree will be written.
Level - The Level of "Concept".
Concept - The subconcepts of this Concept will be written.
expandable - The vector of concepts, which are expanded
Throws:
SWException
java.io.IOException

htmlClassTree

public static void htmlClassTree(java.io.Writer out,
                                 java.lang.String expanded,
                                 java.lang.String URL,
                                 java.lang.String editorURL,
                                 java.lang.String target)
                          throws SWException,
                                 java.io.IOException
Writes the complete concept-tree with the concept "expanded" as expanded.

Parameters:
out - The writer where the concept-tree will be written.
expanded - The concept which is expanded. There is always exactly one expanded concept.
editorURL -
target -
Throws:
SWException
java.io.IOException

htmlPropertyTree

protected static void htmlPropertyTree(java.io.Writer out,
                                       int Level,
                                       java.lang.String Property,
                                       java.util.Vector expandable)
                                throws SWException,
                                       java.io.IOException
Writes all subproperties of Proeprty, if Property is in expandable.

Parameters:
out - The writer where the property-tree will be written.
Level - The Level of "Property".
Property - The subproperties of this Property will be written.
expandable - The vector of properties, which are expanded
Throws:
SWException
java.io.IOException

htmlPropertyTree

public static void htmlPropertyTree(java.io.Writer out,
                                    java.lang.String expanded)
                             throws SWException,
                                    java.io.IOException
Writes the complete property-tree with the property "expanded" as expanded.

Parameters:
out - The writer where the property-tree will be written.
expanded - The concept which is expanded. There is always exactly one expanded concept.
Throws:
SWException
java.io.IOException