Class XMLParser


public class XMLParser extends JaxpParser
Override so that XHTML is parsed correctly. This requires us to maintain mixed text and subnodes and output both.
Since:
0.9.17
  • Field Details

  • Constructor Details

  • Method Details

    • parse

      public Node parse(Node parentNode, Node domNode, int rank)
      Modified from UPnP JaxpParser
      Overrides:
      parse in class JaxpParser
      Parameters:
      parentNode - null if at top
      rank - parse level, only for debug
      Returns:
      the parsed node, or the parent node, unused except at top level
    • toString

      public static void toString(StringBuilder buf, Node node)
      A replacement for Node.toString(), which does not recognize #text.