public final class FeedHandler extends DefaultHandler
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SAX_PARSER |
Constructor and Description |
---|
FeedHandler(InputSource is) |
FeedHandler(InputStream stream)
Constructor of the class
|
FeedHandler(Resource res)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String name,
String qName) |
Struct |
getData() |
boolean |
hasDC() |
void |
setDocumentLocator(Locator locator) |
void |
startElement(String uri,
String name,
String qName,
Attributes atts) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static final String DEFAULT_SAX_PARSER
public FeedHandler(Resource res) throws IOException, SAXException
res
- IOException
SAXException
public FeedHandler(InputSource is) throws IOException, SAXException
IOException
SAXException
public FeedHandler(InputStream stream) throws IOException, SAXException
stream
- IOException
SAXException
public boolean hasDC()
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class DefaultHandler
public void startElement(String uri, String name, String qName, Attributes atts)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
public void endElement(String uri, String name, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
Copyright © 2015 Lucee