Package eu.bandm.tools.muli.tdom
Class Element
java.lang.Object
- All Implemented Interfaces:
Locatable<XMLDocumentIdentifier>
,Matchable<BaseMatcher>
,TypedContent
,Visitable<Visitor>
- Direct Known Subclasses:
Element_entry
,Element_text
,Element_translationfile
@Undocumented
public abstract class Element
extends TypedElement<Element,Extension>
implements Visitable<Visitor>, Matchable<BaseMatcher>
Common superclass for all Element classes in this tdom model. Useful for
utmost abstract methods, which require only common information defined in
TypedElement
, or require only to be visitable or to call getDeepPCData()
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Common wrapper class for the contents of all Elements with a content model of "(#PCDATA)
only."
Behaves as a simplified version of its superclass.Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedElement
TypedElement.AttributeDecoder, TypedElement.AttributeEncoder, TypedElement.MixedContent<E extends TypedElement<E,
X>, X extends TypedExtension>, TypedElement.MixedContentContainer, TypedElement.MixedContentFactory<C extends TypedElement.MixedContent<E, X>, E extends TypedElement<E, X>, X extends TypedExtension, Y extends Exception>, TypedElement.PCDataContainer Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedNode
TypedNode.ParseListener<E extends TypedElement<?,
?>> Nested classes/interfaces inherited from interface eu.bandm.tools.tdom.runtime.TypedContent
TypedContent.DecodingConstructor<C extends TypedContent,
X extends TypedExtension, Y extends Exception>, TypedContent.ParsingConstructor<C extends TypedContent, E extends TypedElement<E, X>, X extends TypedExtension, Y extends Exception> -
Field Summary
Modifier and TypeFieldDescription(package private) static final ArrayList<TypedContent.DecodingConstructor<?,
Extension, TdomAttributeException>> (package private) static final HashMap<String,
TypedContent.ParsingConstructor<? extends Element, Element, Extension, TdomAttributeException>> Fields inherited from class eu.bandm.tools.tdom.runtime.TypedElement
getDeepPCData, getFlatPCData, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static Element
decode
(DecodingInputStream in, Extension ext) Collect and concatenate all PCData, directly or indirectly contained in this model component (mostly: an Element).static TypedDTD.AbstractElementInfo
Get reflexive info about the generated code.Methods inherited from class eu.bandm.tools.tdom.runtime.TypedElement
__dumpElementSnapshot, __getAllAttrs, classifyForException, decodeMixed, decodeOptional, decodePlus, decodePlusList, decodeStar, decodeStarList, encode, encodeMixed, end, ensureSize, extractElement, getAttrsSnapshot, getAttrsSnapshot, getElemsSnapshot, getEtherealContainer, getLocalName, getName, getNamespaceURI, getPCData, getTagIndex, getTagName, initAttrs, initAttrs, initAttrsSafe, matchEndElement, matchEndElement, matchStartElement, matchStartElement, parseAbstract, parseAndClose, parseAndClose, parseMixed, parseMixed, parseOptional, parsePlus, parsePlusList, parseStar, parseStarList, semiparseEmpty, semiparseMixed, setResizing, start, w3c_getNamespaceName
Methods inherited from class eu.bandm.tools.tdom.runtime.TypedSubstantial
dumpFollowingEthereals, dumpPrecedingEthereals, getFollowingEthereals, getPrecedingEthereals, readFollowingEthereals, readPrecedingEthereals
Methods 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.tools.location.Locatable
getLocation
-
Field Details
-
parseTable
static final HashMap<String,TypedContent.ParsingConstructor<? extends Element, parseTableElement, Extension, TdomAttributeException>> -
decodeTable
static final ArrayList<TypedContent.DecodingConstructor<?,Extension, decodeTableTdomAttributeException>>
-
-
Constructor Details
-
Element
Element(NamespaceName name) (Internal use only !-) -
Element
Element(Element domElement) (Internal use only !-)
-
-
Method Details
-
getDeepPCData
Description copied from class:TypedSubstantial
Collect and concatenate all PCData, directly or indirectly contained in this model component (mostly: an Element).- Specified by:
getDeepPCData
in classTypedElement<Element,
Extension>
-
decode
static Element decode(DecodingInputStream in, Extension ext) throws IOException, TdomAttributeException, TdomContentException -
getInterfaceInfo
Get reflexive info about the generated code.
-