Package eu.bandm.tools.tdom.runtime
Class TypedPCData
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode
eu.bandm.tools.tdom.runtime.TypedSubstantial
eu.bandm.tools.tdom.runtime.TypedPCData
- All Implemented Interfaces:
Matchable<BaseMatcher>,Visitable<BaseVisitor>
public class TypedPCData
extends TypedSubstantial
implements Matchable<BaseMatcher>, Visitable<BaseVisitor>
Represents a piece of contiguous PCData in a model instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedNode
TypedNode.ParseListener<E extends TypedElement<?,?>> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringvoiddump(ContentHandler contentHandler, LexicalHandler lexicalHandler) voidencode(EncodingOutputStream out, TypedExtension ext) Abstract fall-back method which MUST be overridden and always throws an Exception.final TypedSubstantial<?> Collect and concatenate all PCData, directly or indirectly contained in this model component (mostly: an Element).voidhost(BaseVisitor v) Send the visitor to this instance.voidMethods inherited from class eu.bandm.tools.tdom.runtime.TypedSubstantial
dumpFollowingEthereals, dumpPrecedingEthereals, getFollowingEthereals, getPrecedingEthereals, readFollowingEthereals, readPrecedingEtherealsMethods 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
-
Field Details
-
pcdata
The immutable string contents of this instance.
-
-
Constructor Details
-
TypedPCData
-
TypedPCData
-
-
Method Details
-
getPCData
-
getDeepPCData
Description copied from class:TypedSubstantialCollect and concatenate all PCData, directly or indirectly contained in this model component (mostly: an Element).- Specified by:
getDeepPCDatain classTypedSubstantial
-
encode
Description copied from class:TypedNodeAbstract fall-back method which MUST be overridden and always throws an Exception.- Specified by:
encodein classTypedNode- Throws:
IOException
-
decodeValue
- Throws:
IOException
-
identify
- Specified by:
identifyin interfaceMatchable<BaseMatcher>
-
host
Description copied from interface:VisitableSend the visitor to this instance.- Specified by:
hostin interfaceVisitable<BaseVisitor>
-
dump
- Throws:
SAXException
-
forAnyExtension
-