Class TypedEtherealContainer

java.lang.Object
eu.bandm.tools.tdom.runtime.TypedEtherealContainer

public class TypedEtherealContainer extends Object
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 Details

    • TypedEtherealContainer

      public TypedEtherealContainer()
  • Method Details

    • readLeadingEthereals

      public List<? extends TypedEthereal> readLeadingEthereals()
      Returns an unmodifiable copy. See the general description of TypedEthereal for details.
      Returns:
      an unmodifiable copy.
    • getLeadingEthereals

      public List<TypedEthereal> getLeadingEthereals()
      Returns the writable instance. See the general description of TypedEthereal for details.
      Returns:
      the writable instance.
    • readTrailingEthereals

      public List<? extends TypedEthereal> readTrailingEthereals()
      Returns an unmodifiable copy. See the general description of TypedEthereal for details.
      Returns:
      an unmodifiable copy.
    • getTrailingEthereals

      public List<TypedEthereal> getTrailingEthereals()
      Returns the writable instance. See the general description of TypedEthereal 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.
      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.
      Throws:
      SAXException