TODO

  • On request validation instead of Vetos and other setter constrains (see JAXB)
  • Use setPROP (checks WF and R/O and call impl) and setPROPImpl (just set and fire) pattern
  • mark checkXXX final ()

    Tree package

    It represent parser tree as tree of beans. The beans should form the tree using BeanContext.

    The tree is produced by TreeBuilder that is basically a SAX handler.

    Document and Declaration Nodes

    Basically two kinds of nodes exist: from any suitable document node can be obtained its declaration node by getDecl().

    Document Nodes

    Element nodes can be classified as:

    Indentation

    The tree nodes implement method toXMLString(bool, Map) that is used while generating plain text from the tree. The second argument holds formatting arguments or null for no formating is applied at all.