@User public class Document_optionlist extends Document
Element_optionlist
as its root (=topmost) element.
Of main interest for the programmer are the constructors. These allow to read different external representations. Furthermore, each instance is visitable as a whole.Furthermore, the ID relation is managed by TypedDocument.createDictionary()
.TypedNode.ParseListener<E extends TypedElement<?,?>>
root, STRING_ETHEREAL_SEPARATOR
Constructor and Description |
---|
Document_optionlist(Element_optionlist root)
Create a document in a bottom-up fashion from its toplevel element.
|
Document_optionlist(InputStream in,
Extension ext)
Input must be tdom-spec compressed encoding,
as written by
encode(EncodingOutputStream) . |
Modifier and Type | Method and Description |
---|---|
protected Element |
decode(DecodingInputStream in,
Extension ext) |
void |
encode(EncodingOutputStream out) |
void |
encode(EncodingOutputStream out,
Extension ext)
Abstract fall-back method which MUST be overridden and always throws an Exception.
|
Element_optionlist |
getDocumentElement()
Return the top level element.
|
int |
getTagIndex() |
void |
host(Visitor visitor)
Send the visitor to this instance.
|
createDictionary, decode, decodeEthereals, encode, encodeEthereals, end, getDTD, getEtherealContainer, getRootUntyped, start
asBigDecimal, asBigDecimal, asBigDecimal, asBigDecimal, asBigInteger, asBigInteger, asBigInteger, asBigInteger, asBoolean, asBoolean, asDouble, asDouble, asDouble, asDouble, asFloat, asFloat, asFloat, asFloat, asHexInt, asHexInt, asHexInt, asHexInt, asInt, asInt, asInt, asInt, asLong, asLong, asLong, asLong, asTrimmedString, asTrimmedString, asTrimmedString, asTrimmedString, checkPlus, checkPlus, checkStar, checkStar, checkStrict, encode, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation
@User public Document_optionlist(Element_optionlist root)
public Document_optionlist(InputStream in, Extension ext) throws IOException, TdomAttributeException, TdomContentException
encode(EncodingOutputStream)
.
XML text representation requires some XML parser
and piping its SAX Events into #Document_optionlist(SAXEventStream)}.@User public Element_optionlist getDocumentElement()
public void host(Visitor visitor)
Visitable
public final int getTagIndex()
getTagIndex
in class TypedDocument<Element,Extension>
protected final Element decode(DecodingInputStream in, Extension ext) throws IOException, TdomAttributeException, TdomContentException
decode
in class TypedDocument<Element,Extension>
IOException
TdomAttributeException
TdomContentException
public final void encode(EncodingOutputStream out, Extension ext) throws IOException
TypedNode
encode
in class TypedDocument<Element,Extension>
IOException
public final void encode(EncodingOutputStream out) throws IOException
IOException
see also the complete user documentation .