|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openptk.structure.Converter org.openptk.structure.HtmlConverter
public class HtmlConverter
This class supports the conversion of StructureIF data TO
HTML. Nested data is presented using standard HTML tables.
This Converter does NOT implement the conversion of HTML
to StructureIF data.
Field Summary |
---|
Fields inherited from class org.openptk.structure.Converter |
---|
GT, GTE, KEYVALUE, LT, LTE, NEWLINE, PAD, QUOTE, SEPARATOR |
Fields inherited from interface org.openptk.structure.ConverterIF |
---|
PROP_CHILDREN, PROP_NAMEVALUE, PROP_VALUE, VALUE_CHILDREN_DISCRETE, VALUE_CHILDREN_LIST, VALUE_NAMEVALUE_COLLAPSED, VALUE_NAMEVALUE_EXPANDED, VALUE_VALUE_MULTI, VALUE_VALUE_SINGLE |
Constructor Summary | |
---|---|
HtmlConverter()
Creates a new HtmlConvert object. |
Method Summary | |
---|---|
java.lang.String |
encode(StructureIF struct)
Convert the Structure data into a HTML formated String. |
Methods inherited from class org.openptk.structure.Converter |
---|
decode, getStructInfo, getStructInfoIds, getStructProperty, getType, handleError, pad, setStructInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlConverter()
Method Detail |
---|
public final java.lang.String encode(StructureIF struct) throws ConverterException
encode
in interface ConverterIF
encode
in class Converter
struct
- StructureIF of data
ConverterException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |