oracle.cabo.style.xml.parse
Class CSSStyleParser
java.lang.Object
|
+--oracle.cabo.share.xml.BaseNodeParser
|
+--oracle.cabo.style.xml.parse.CSSStyleParser
- All Implemented Interfaces:
- NodeParser
- public class CSSStyleParser
- extends BaseNodeParser
NodeParser for CSSStyles.
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". |
java.lang.Object |
endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
Implementation of NodeParser.endElement() |
NodeParser |
startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Implementation of NodeParser.startChildElement() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSSStyleParser
public CSSStyleParser()
endElement
public java.lang.Object endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
- Implementation of NodeParser.endElement()
- Overrides:
endElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the elementlocalName
- the local name of the element- Returns:
- the fully-initialized Java object corresponding
to this release
startChildElement
public NodeParser startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
- Implementation of NodeParser.startChildElement()
- Overrides:
startChildElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the child elementlocalName
- the local name of the child elementattrs
- 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)
throws org.xml.sax.SAXParseException
- Description copied from interface:
NodeParser
- Receives notification of the end of a child element; called
only if
startChildElement
returned "this".
- Overrides:
endChildElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the child elementlocalName
- the local name of the child element
addText
public void addText(ParseContext context,
char[] text,
int start,
int length)
throws org.xml.sax.SAXParseException
- Description copied from interface:
NodeParser
- Receives notification of text content of this element.
- Overrides:
addText
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
- Parameters:
context
- the parsing contexttext
- an array of charactersstart
- the start position in the arraylength
- the number of characters to read from the array