Class NavuParser

Object
com.tailf.navu.NavuParser

public class NavuParser extends Object
XML parser capable of producing a ConfXMLParam[] from an xml snippet.

The XML input can be provided in two forms:

  • A complete fragment rooted at the start node, e.g. <server xmlns="..."><name>s1</name></server>
  • A fragment of the children only, e.g. <name>s1</name>
In both cases, the start node identifies the root schema node. The parser normalizes the input internally so that both forms produce the same result.

Normally this class should not be used directly, instead NavuNode.getValues(String), NavuNode.setValues(String) and PreparedXMLStatement will give necessary support for xml snippets.