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 String
void
dump
(ContentHandler contentHandler, LexicalHandler lexicalHandler) void
encode
(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).void
host
(BaseVisitor v) Send the visitor to this instance.void
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
-
Field Details
-
pcdata
The immutable string contents of this instance.
-
-
Constructor Details
-
TypedPCData
-
TypedPCData
-
-
Method Details
-
getPCData
-
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 classTypedSubstantial
-
encode
Description copied from class:TypedNode
Abstract fall-back method which MUST be overridden and always throws an Exception.- Specified by:
encode
in classTypedNode
- Throws:
IOException
-
decodeValue
- Throws:
IOException
-
identify
- Specified by:
identify
in interfaceMatchable<BaseMatcher>
-
host
Description copied from interface:Visitable
Send the visitor to this instance.- Specified by:
host
in interfaceVisitable<BaseVisitor>
-
dump
- Throws:
SAXException
-
forAnyExtension
-