Class LDocument

All Implemented Interfaces:
LItem

public final class LDocument extends LParent
The whole file: prolog nodes, the root element and whatever follows it.
  • Constructor Details

  • Method Details

    • source

      public XmlSource source()
      Encoding, BOM and line separator of the original file; null for parsed fragments.
    • internalEntities

      public Map<String,String> internalEntities()
      General entities declared with a literal value in the internal DTD subset.
    • root

      public LElement root()
    • serialize

      public String serialize()
    • write

      public void write(StringBuilder out)
      Specified by:
      write in class LNode