public final class RSSHandler extends DefaultHandler
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SAX_PARSER |
Constructor and Description |
---|
RSSHandler(InputStream stream)
Constructor of the class
|
RSSHandler(Resource res)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
Query |
getItems() |
Struct |
getProperties() |
void |
setDocumentLocator(Locator locator) |
void |
startElement(String uri,
String name,
String qName,
Attributes atts) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static final String DEFAULT_SAX_PARSER
public RSSHandler(Resource res) throws IOException, SAXException, DatabaseException
res
- IOException
SAXException
DatabaseException
public RSSHandler(InputStream stream) throws IOException, SAXException, DatabaseException
stream
- IOException
SAXException
DatabaseException
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 Struct getProperties()
Copyright © 2015 Lucee