Package eu.bandm.tools.tdom.runtime
Class TypedEtherealContainer
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedEtherealContainer
Gives access to the
TypedEthereal
(Comments and PIs)
which follow the open tag and precede the close tag of an Element,
or stand at the begin and end of a document.
See the description of TypedEthereal
for a discussion of the different cases.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
dumpLeadingEthereals
(ContentHandler contentHandler, LexicalHandler lexicalHandler) Write PIs to the content handler, and Comments to the lexical Handler, if present.protected void
dumpTrailingEthereals
(ContentHandler contentHandler, LexicalHandler lexicalHandler) Write PIs to the content handler, and Comments to the lexical Handler, if present.Returns the writable instance.Returns the writable instance.List
<? extends TypedEthereal> Returns an unmodifiable copy.List
<? extends TypedEthereal> Returns an unmodifiable copy.
-
Constructor Details
-
TypedEtherealContainer
public TypedEtherealContainer()
-
-
Method Details
-
readLeadingEthereals
Returns an unmodifiable copy. See the general description ofTypedEthereal
for details.- Returns:
- an unmodifiable copy.
-
getLeadingEthereals
Returns the writable instance. See the general description ofTypedEthereal
for details.- Returns:
- the writable instance.
-
readTrailingEthereals
Returns an unmodifiable copy. See the general description ofTypedEthereal
for details.- Returns:
- an unmodifiable copy.
-
getTrailingEthereals
Returns the writable instance. See the general description ofTypedEthereal
for details.- Returns:
- the writable instance.
-
dumpLeadingEthereals
protected void dumpLeadingEthereals(ContentHandler contentHandler, @Opt LexicalHandler lexicalHandler) throws SAXException Write PIs to the content handler, and Comments to the lexical Handler, if present.- Parameters:
contentHandler
- (never null)lexicalHandler
- (maybe null)- Throws:
SAXException
-
dumpTrailingEthereals
protected void dumpTrailingEthereals(ContentHandler contentHandler, @Opt LexicalHandler lexicalHandler) throws SAXException Write PIs to the content handler, and Comments to the lexical Handler, if present.- Parameters:
contentHandler
- (never null)lexicalHandler
- (maybe null)- Throws:
SAXException
-