Interface E3XMLFragment


public interface E3XMLFragment
Describes an object that is represented as a subtree of an XML document.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    parse(Node root)
    Extracts our content from a part of an XML document
    void
    Writes our content as XHtml
    void
    Writes our content as XML
  • Method Details

    • parse

      void parse(Node root) throws Exception
      Extracts our content from a part of an XML document
      Parameters:
      root - first DOM node to scan
      Throws:
      Exception - upon any error
    • serializeHTML

      void serializeHTML(Writer w) throws Exception
      Writes our content as XHtml
      Parameters:
      w - Writer to which we should write
      Throws:
      Exception - upon error
    • serializeXML

      void serializeXML(Writer w) throws Exception
      Writes our content as XML
      Parameters:
      w - Writer to which we should write
      Throws:
      Exception - upon error