| java.lang.Object org.xml.sax.helpers.DefaultHandler org.gnu.stealthp.rsslib.RSSHandler
RSSHandler | public class RSSHandler extends DefaultHandler (Code) | | Handler for SAX Parser.
This elements are not handled yet:
cloud
rating
skipHours
skipDays
category
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
since: RSSLIB4J 0.1 author: Francesco aka 'StealthP' stealthp[@]stealthp.org version: 0.2 |
Method Summary | |
public void | characters(char[] ch, int start, int length) | public void | endElement(String uri, String localName, String qName) | public RSSChannel | getRSSChannel() | public void | startElement(String uri, String localName, String qName, Attributes attributes) Receive notification of the start of an element.
Parameters: uri - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed. Parameters: localName - The local name (without prefix), or the empty string if Namespace processing is not being performed Parameters: qName - The qualified name (with prefix), or the empty string if qualified names are not available Parameters: attributes - The attributes attached to the element. | protected static boolean | tagIsEqual(String a, String b) |
DC_CONTRIBUTOR_TAG | final public static String DC_CONTRIBUTOR_TAG(Code) | | |
DC_COVERAGE_TAG | final public static String DC_COVERAGE_TAG(Code) | | |
DC_CREATOR_TAG | final public static String DC_CREATOR_TAG(Code) | | |
DC_DESCRIPTION_TAG | final public static String DC_DESCRIPTION_TAG(Code) | | |
DC_IDENTIFIER_TAG | final public static String DC_IDENTIFIER_TAG(Code) | | |
DC_LANGUAGE_TAG | final public static String DC_LANGUAGE_TAG(Code) | | |
DC_PUBLISHER_TAG | final public static String DC_PUBLISHER_TAG(Code) | | |
DC_RELATION_TAG | final public static String DC_RELATION_TAG(Code) | | |
DC_SUBJECT_TAG | final public static String DC_SUBJECT_TAG(Code) | | |
DESCRIPTION_TAG | final public static String DESCRIPTION_TAG(Code) | | |
LAST_B_DATE_TAG | final public static String LAST_B_DATE_TAG(Code) | | |
SEQ_ELEMENT_TAG | final public static String SEQ_ELEMENT_TAG(Code) | | |
RSSHandler | public RSSHandler()(Code) | | |
characters | public void characters(char[] ch, int start, int length)(Code) | | Receive notification of character data inside an element
Parameters: ch - The characters. Parameters: start - The start position in the character array. Parameters: length - The number of characters to use from the character array. |
endElement | public void endElement(String uri, String localName, String qName)(Code) | | Receive notification of the end of an element
Parameters: uri - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed. Parameters: localName - The local name (without prefix), or the empty string if Namespace processing is not being performed Parameters: qName - The qualified name (with prefix), or the empty string if qualified names are not available |
getRSSChannel | public RSSChannel getRSSChannel()(Code) | | Get the RSSChannel Object back from the parser
The RSSChannell Object |
startElement | public void startElement(String uri, String localName, String qName, Attributes attributes)(Code) | | Receive notification of the start of an element.
Parameters: uri - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed. Parameters: localName - The local name (without prefix), or the empty string if Namespace processing is not being performed Parameters: qName - The qualified name (with prefix), or the empty string if qualified names are not available Parameters: attributes - The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object |
tagIsEqual | protected static boolean tagIsEqual(String a, String b)(Code) | | Check against non-casesentive tag name
Parameters: a - The first tag Parameters: b - The tag to check True if the tags are the same |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|