|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.webmethods.caf.faces.bean.nav.xml.XMLAppNavBuilder
public class XMLAppNavBuilder
SAX parser handler which builds an IAppNavPage
hierarchy
from a sequence of SAX events.
Field Summary | |
---|---|
static String |
DEFAULT_CHARACTER_ENCODING
Default character encoding used by the parser. |
protected StringBuilder |
m_buf
Buffer to keep values while parsing. |
protected FacesContext |
m_ctx
The context. |
protected Class |
m_pageClass
Class name of the page, this must be a sub-class of XMLAppNavPage . |
protected String |
m_resourceBundle
Resource bundle location. |
protected XMLAppNavPage |
m_root
Root page of the navigation hierarchy. |
protected Stack |
m_stack
Stack of XMLAppNavPage s used while building the hierarchy. |
Constructor Summary | |
---|---|
XMLAppNavBuilder(FacesContext ctx)
Constructor. |
|
XMLAppNavBuilder(FacesContext ctx,
String pageClass)
Constructor with page Class. |
Method Summary | |
---|---|
IAppNavPage |
getRoot()
Gets the current IAppNavPage hierarchy root. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_CHARACTER_ENCODING
protected StringBuilder m_buf
protected FacesContext m_ctx
protected Class m_pageClass
XMLAppNavPage
.
protected String m_resourceBundle
protected XMLAppNavPage m_root
protected Stack m_stack
Stack
of XMLAppNavPage
s used while building the hierarchy.
Constructor Detail |
---|
public XMLAppNavBuilder(FacesContext ctx)
ctx
- FacesContext
public XMLAppNavBuilder(FacesContext ctx, String pageClass)
ctx
- FacesContext
pageClass
- Class name of the page, this must be a sub-class of XMLAppNavPage
.Method Detail |
---|
public IAppNavPage getRoot()
IAppNavPage
hierarchy root.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |