Package eu.bandm.tools.lablog.xml
Class Document_a_list
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<Extension>
eu.bandm.tools.tdom.runtime.TypedDocument<Element,Extension>
eu.bandm.tools.lablog.xml.Document
eu.bandm.tools.lablog.xml.Document_a_list
@Generated(generator="eu.bandm.tools.tdom.cli.Tool",
version="",
timestamp="2025-08-17_22h58m29")
@Undocumented
public class Document_a_list
extends Document
Document with an
Element_a_list 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().-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedNode
TypedNode.ParseListener<E extends TypedElement<?,?>> -
Field Summary
Fields inherited from class eu.bandm.tools.tdom.runtime.TypedDocument
generationComment, root, STRING_ETHEREAL_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionCreate a document in a bottom-up fashion from its toplevel element.Document_a_list(SAXEventStream in, Extension ext) Document_a_list(InputStream in, Extension ext) Input must be tdom-spec compressed encoding, as written byencode(EncodingOutputStream).Document_a_list(Document domDocument, Extension ext) Parses an untyped W3C DOM document into a tdom instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected final Elementdecode(DecodingInputStream in, Extension ext) final voidfinal voidencode(EncodingOutputStream out, Extension ext) Abstract fall-back method which MUST be overridden and always throws an Exception.Return the top level element.final intvoidSend the visitor to this instance.Methods inherited from class eu.bandm.tools.tdom.runtime.TypedDocument
createDictionary, decode, decodeEthereals, encode, encodeEthereals, end, getDTD, getEtherealContainer, getGenerationComment, getRootUntyped, setGenerationComment, startMethods inherited from class eu.bandm.tools.tdom.runtime.TypedNode
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
-
Constructor Details
-
Document_a_list
@Undocumented Document_a_list(Document domDocument, Extension ext) throws TdomContentException, TdomAttributeException Parses an untyped W3C DOM document into a tdom instance.- Throws:
TdomContentException- if content models of contained elements are violated.TdomAttributeException- if required attributes are missing, or attribute syntax is violated.
-
Document_a_list
Create a document in a bottom-up fashion from its toplevel element.- Parameters:
root- (never null) top element.
-
Document_a_list
Document_a_list(SAXEventStream in, Extension ext) throws TdomXmlException, TdomContentException, TdomAttributeException -
Document_a_list
public Document_a_list(InputStream in, Extension ext) throws TdomContentException, IOException, TdomAttributeException Input must be tdom-spec compressed encoding, as written byencode(EncodingOutputStream). XML text representation requires some XML parser and piping its SAX Events into #Document_a:list(SAXEventStream)}.
-
-
Method Details
-
getDocumentElement
Return the top level element. @return (never null) the top element. -
host
Description copied from interface:VisitableSend the visitor to this instance. -
getTagIndex
public final int getTagIndex()- Overrides:
getTagIndexin classTypedDocument<Element,Extension>
-
decode
protected final Element decode(DecodingInputStream in, Extension ext) throws TdomContentException, IOException, TdomAttributeException - Specified by:
decodein classTypedDocument<Element,Extension> - Throws:
TdomContentExceptionIOExceptionTdomAttributeException
-
encode
Description copied from class:TypedNodeAbstract fall-back method which MUST be overridden and always throws an Exception.- Overrides:
encodein classTypedDocument<Element,Extension> - Throws:
IOException
-
encode
- Throws:
IOException
-