|
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.DataObjectParser
The Parser for DataObjects.
Constructor Summary | |
DataObjectParser()
|
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. |
void |
addText(ParseContext context,
char[] text,
int start,
int length)
Receives notification of text content of this element. |
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.Object |
getValue(ParseContext context,
java.lang.String attrName,
java.lang.String attrValue)
Converts the value of an attribute. |
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 |
addWhitespace, endChildElement, 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 DataObjectParser()
Method Detail |
public void startElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
NodeParser
startElement
in class BaseNodeParser
oracle.cabo.share.xml.NodeParser
context
- the parsing contextnamespaceURI
- the namespace of the elementlocalName
- the local name of the elementattrs
- the attributes attached to the elementpublic void addText(ParseContext context, char[] text, int start, int length)
NodeParser
addText
in class BaseNodeParser
oracle.cabo.share.xml.NodeParser
context
- the parsing contexttext
- an array of charactersstart
- the start position in the arraylength
- the number of characters to read from the arraypublic NodeParser startChildElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
NodeParser
addCompletedChild()
startChildElement
in class BaseNodeParser
oracle.cabo.share.xml.NodeParser
context
- the parsing contextnamespaceURI
- the namespace of the child elementlocalName
- the local name of the child elementattrs
- the attributes attached to the elementNodeParser
NodeParser.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 addCompletedChild(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, java.lang.Object child)
NodeParser
startChildElement
returns a value
other than "null" or "this".
addCompletedChild
in class BaseNodeParser
oracle.cabo.share.xml.NodeParser
context
- 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 java.lang.Object endElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName)
NodeParser
endElement
in class BaseNodeParser
oracle.cabo.share.xml.NodeParser
context
- the parsing contextnamespaceURI
- the namespace of the elementlocalName
- the local name of the elementprotected java.lang.Object getValue(ParseContext context, java.lang.String attrName, java.lang.String attrValue)
|
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 |