oracle.cabo.servlet.xml.parse
Class GoEventHandlerParser
java.lang.Object
|
+--oracle.cabo.share.xml.BaseNodeParser
|
+--oracle.cabo.share.xml.beans.BeanParser
|
+--oracle.cabo.servlet.xml.parse.GoEventHandlerParser
- All Implemented Interfaces:
- NodeParser
- public class GoEventHandlerParser
- extends BeanParser
Parser for the "go" element.
Method Summary |
void |
addText(ParseContext context, char[] text, int start, int length)
Receives notification of text content of this element. |
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". |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoEventHandlerParser
public GoEventHandlerParser()
startChildElement
public NodeParser startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
- Description copied from interface:
NodeParser
- Receives notification of the start of a child element. If this method returns "this", further processing of that child element will be continue with this same parser. If it returns "null", the element will be ignored, and a warning logged. Otherwise, handling will be delegated to the new parser, and the next call made to this interface will be
addCompletedChild()
-
- Overrides:
startChildElement
in class BeanParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
-
- Parameters:
context
- the parsing context
namespaceURI
- the namespace of the child element
localName
- the local name of the child element
attrs
- the attributes attached to the element
- Returns:
- the node parser that should be used for this child element, or null if processing should continue with this
NodeParser
- See Also:
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)
endChildElement
public void endChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
- Description copied from interface:
NodeParser
- Receives notification of the end of a child element; called only if
startChildElement
returned "this".
-
- Overrides:
endChildElement
in class BeanParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
-
- Parameters:
context
- the parsing context
namespaceURI
- the namespace of the child element
localName
- the local name of the child element
addText
public void addText(ParseContext context,
char[] text,
int start,
int length)
- Description copied from interface:
NodeParser
- Receives notification of text content of this element.
-
- Overrides:
addText
in class BeanParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
-
- Parameters:
context
- the parsing context
text
- an array of characters
start
- the start position in the array
length
- the number of characters to read from the array