Class PageReader

java.lang.Object
org.eclnt.jsfserver.util.PageReader
All Implemented Interfaces:
ICCServerConstants

public class PageReader extends Object implements ICCServerConstants
Static methods for reading the content of a page. Please note: the access to the page data is done unbuffered.
  • Constructor Details

    • PageReader

      public PageReader()
  • Method Details

    • readXMLForAbsolutePageName

      public static String readXMLForAbsolutePageName(String fullPageName)
      Parameters:
      fullPageName - Name of the page - must be passed in an absolute way, i.e. with leading "/". Example: "/pages/abc.jsp"
      Returns:
      XML content of the page
    • isolateXML

      public static String isolateXML(String layoutContent, boolean withError)
      The layout page is a pure XML page but may contain some additional text around. This method passes back the core XML content of the layout that then can be directly passed into an XML parser.

      The content is passed back as parse-able XML.