public static class Xcss2EcssConverter.Handler extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
Xcss2EcssConverter.Handler() |
Xcss2EcssConverter.Handler(OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Receive notification of character data inside an element.
|
void |
endElement(String namespaceURI,
String localName,
String qName)
Receive notification of the end of an element.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
Receive notification of the start of an element.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic Xcss2EcssConverter.Handler()
public Xcss2EcssConverter.Handler(OutputStream outputStream)
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlernamespaceURI - - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace
processing is not being performed.localName - - The local name (without prefix), or the empty string if Namespace processing is not being performed.qName - - The qualified name (with prefix), or the empty string if qualified names are not available.atts - - The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object.SAXException - - Any SAX exception, possibly wrapping another exception.public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerch - - The characters.start - - The start position in the character array.length - - The number of characters to use from the character array.SAXException - - Any SAX exception, possibly wrapping another exception.public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlernamespaceURI - - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace
processing is not being performed.localName - - The local name (without prefix), or the empty string if Namespace processing is not being performed.qName - - The qualified name (with prefix), or the empty string if qualified names are not available.SAXException - - Any SAX exception, possibly wrapping another exception.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.