|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.cabo.share.xml.BaseNodeParser
|
+--oracle.cabo.ui.xml.parse.UINodeParser
UINodeParser is the base NodeParser implementation for creating UINodes.
| Constructor Summary | |
UINodeParser()
Creates an untyped node parser. |
|
UINodeParser(UINodeType type)
Creates a typed node parser. |
|
| Method Summary | |
void |
addCompletedChild(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object child)
Receives notification of the end of a delegated child element. |
protected void |
addIndexedChild(BaseMutableUINode parent,
UINode child)
Adds an indexed child to the web bean. |
void |
addText(ParseContext context,
char[] text,
int start,
int length)
Receives notification of text content of this element. |
void |
addWhitespace(ParseContext context,
char[] text,
int start,
int length)
Receives notification of ignorable whitespace. |
protected BaseMutableUINode |
createUINode(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
Creates the web bean that will be used by the node parser. |
void |
endChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
Receives notification of the end of a child element; called only if startChildElement returned "this". |
java.lang.Object |
endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
Receives notification of the end of the element. |
protected java.lang.Class |
getCurrentChildClass()
Returns the current child class. |
protected java.lang.String |
getCurrentChildName()
Returns the current child name. |
protected int |
getCurrentChildType()
Returns the current child type. |
static UINodeParser |
getCurrentNodeParser(ParseContext context)
|
protected BaseMutableUINode |
getUINode()
Returns the node. |
protected UINodeType |
getUINodeType()
Returns the UINodeType. |
static void |
processVirtualAttributes(MutableUINode node)
Processes "virtual" attributes on a UINode. |
static void |
setCurrentNodeParser(ParseContext context,
UINodeParser node)
|
protected void |
setNamedChild(ParseContext context,
BaseMutableUINode parent,
java.lang.String name,
UINode child)
Sets a named child on the web bean. |
protected void |
setUINodeAttributes(ParseContext context,
org.xml.sax.Attributes attrs)
Sets the attributes of a bean. |
protected static void |
setUINodeAttributes(ParseContext context,
BaseMutableUINode node,
UINodeType type,
org.xml.sax.Attributes attrs)
Deprecated. UINodeParser subclasses should use the non-static version, |
protected void |
setUINodeType(UINodeType type)
Set the UINodeType. |
NodeParser |
startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Receives notification of the start of a child element. |
void |
startElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Receives notification of the start of an element. |
| Methods inherited from class oracle.cabo.share.xml.BaseNodeParser |
getIgnoreParser, getRequiredAttribute, logError, logUnexpectedAttribute, logUnexpectedElement, logWarning, logWarning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UINodeParser()
public UINodeParser(UINodeType type)
| Method Detail |
public static UINodeParser getCurrentNodeParser(ParseContext context)
public static void setCurrentNodeParser(ParseContext context,
UINodeParser node)
public static void processVirtualAttributes(MutableUINode node)
public void startElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXParseException
NodeParserstartElement in class BaseNodeParseroracle.cabo.share.xml.NodeParsercontext - the parsing contextnamespaceURI - the namespace of the elementlocalName - the local name of the elementattrs - the attributes attached to the element
public NodeParser startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
NodeParseraddCompletedChild()
startChildElement in class BaseNodeParseroracle.cabo.share.xml.NodeParsercontext - the parsing contextnamespaceURI - the namespace of the child elementlocalName - the local name of the child elementattrs - the attributes attached to the elementNodeParserNodeParser.endChildElement(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String),
NodeParser.addCompletedChild(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String, java.lang.Object)
public void endChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
NodeParserstartChildElement returned "this".
endChildElement in class BaseNodeParseroracle.cabo.share.xml.NodeParsercontext - the parsing contextnamespaceURI - the namespace of the child elementlocalName - the local name of the child element
public void addCompletedChild(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object child)
NodeParserstartChildElement returns a value
other than "null" or "this".
addCompletedChild in class BaseNodeParseroracle.cabo.share.xml.NodeParsercontext - the parsing contextnamespaceURI - the namespace of the child elementlocalName - the local name of the child elementchild - the Java object produced for that child by
its NodeParser's endElement() method.NodeParser.endElement(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String)
public void addText(ParseContext context,
char[] text,
int start,
int length)
NodeParseraddText in class BaseNodeParseroracle.cabo.share.xml.NodeParsercontext - the parsing contexttext - an array of charactersstart - the start position in the arraylength - the number of characters to read from the array
public void addWhitespace(ParseContext context,
char[] text,
int start,
int length)
NodeParseraddWhitespace in class BaseNodeParseroracle.cabo.share.xml.NodeParsercontext - the parsing contexttext - an array of charactersstart - the start position in the arraylength - the number of characters to read from the array
public java.lang.Object endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
NodeParserendElement in class BaseNodeParseroracle.cabo.share.xml.NodeParsercontext - the parsing contextnamespaceURI - the namespace of the elementlocalName - the local name of the elementprotected void setUINodeType(UINodeType type)
protected final BaseMutableUINode getUINode()
protected final UINodeType getUINodeType()
protected java.lang.String getCurrentChildName()
protected int getCurrentChildType()
protected java.lang.Class getCurrentChildClass()
protected void addIndexedChild(BaseMutableUINode parent,
UINode child)
protected void setNamedChild(ParseContext context,
BaseMutableUINode parent,
java.lang.String name,
UINode child)
protected BaseMutableUINode createUINode(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
throws org.xml.sax.SAXParseException
protected void setUINodeAttributes(ParseContext context,
org.xml.sax.Attributes attrs)
context - the parsing contextattrs - the SAX attribute list
protected static void setUINodeAttributes(ParseContext context,
BaseMutableUINode node,
UINodeType type,
org.xml.sax.Attributes attrs)
context - the parsing contextbean - the web beantype - the UINodeType object, if a type existsattrs - the SAX attribute list
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||