Class PageParser

java.lang.Object
org.eclnt.jsfserver.util.pageparsing.PageParser
All Implemented Interfaces:
ICCComponentProperties

public class PageParser extends Object implements ICCComponentProperties
Parses the XML layout definition of a page into a node tree.

The XML is the content area of the page. Use PageReader for reading the XML.

This is the base class for all XML parsing in the CC runtime.
  • Constructor Details

    • PageParser

      public PageParser(String xml)
    • PageParser

      public PageParser(String xml, boolean excludeOutestRow, String pageInfo)
  • Method Details

    • parsePageLayout

      public ParsedNodeBase parsePageLayout()
      Parse the layout that is passed in the constructor.

      There always will be a "dummy node" that is sent back as result: within this dummy node you find the top level layout nodes. (A layout may have several top-level nodes - this is the reason for having a dummy node on top.)
    • createRootNode

      protected ParsedNodeBase createRootNode()
      This is the top root node ("dummy node") that is created internally. You may override to pass your own implementation.