Java Doc for RSSHandler.java in  » RSS-RDF » RSSLib4J » org » gnu » stealthp » rsslib » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » RSSLib4J » org.gnu.stealthp.rsslib 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
final public static  StringAUTHOR_TAG
    
final public static  StringCATEGORY_TAG
    
final public static  StringCHANNEL_TAG
    
final public static  StringCLOUD_TAG
    
final public static  StringCOMMENTS_TAG
    
final public static  StringCOPY_TAG
    
final public static  StringDC_CONTRIBUTOR_TAG
    
final public static  StringDC_COVERAGE_TAG
    
final public static  StringDC_CREATOR_TAG
    
final public static  StringDC_DATE_TAG
    
final public static  StringDC_DESCRIPTION_TAG
    
final public static  StringDC_FORMAT_TAG
    
final public static  StringDC_IDENTIFIER_TAG
    
final public static  StringDC_LANGUAGE_TAG
    
final public static  StringDC_PUBLISHER_TAG
    
final public static  StringDC_RELATION_TAG
    
final public static  StringDC_RIGHTS_TAG
    
final public static  StringDC_SOURCE_TAG
    
final public static  StringDC_SUBJECT_TAG
    
final public static  StringDC_TITLE_TAG
    
final public static  StringDC_TYPE_TAG
    
final public static  StringDESCRIPTION_TAG
    
final public static  StringDOCS_TAG
    
final public static  StringGENERATOR_TAG
    
final public static  StringIMAGE_H_TAG
    
final public static  StringIMAGE_TAG
    
final public static  StringIMAGE_W_TAG
    
final public static  StringITEM_TAG
    
final public static  StringLANGUAGE_TAG
    
final public static  StringLAST_B_DATE_TAG
    
final public static  StringLINK_TAG
    
final public static  StringMANAGING_TAG
    
final public static  StringNAME_TAG
    
final public static  StringPUB_DATE_TAG
    
final public static  StringRATING_TAG
    
final public static  StringSEQ_ELEMENT_TAG
    
final public static  StringSEQ_TAG
    
final public static  StringSKIPD_TAG
    
final public static  StringSKIPH_TAG
    
final public static  StringSY_BASE_TAG
    
final public static  StringSY_FREQ_TAG
    
final public static  StringSY_PERIOD_TAG
    
final public static  StringTEXTINPUT_TAG
    
final public static  StringTITLE_TAG
    
final public static  StringTTL_TAG
    
final public static  StringURL_TAG
    
final public static  StringWMASTER_TAG
    

Constructor Summary
public  RSSHandler()
    

Method Summary
public  voidcharacters(char[] ch, int start, int length)
    
public  voidendElement(String uri, String localName, String qName)
    
public  RSSChannelgetRSSChannel()
    
public  voidstartElement(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  booleantagIsEqual(String a, String b)
    

Field Detail
AUTHOR_TAG
final public static String AUTHOR_TAG(Code)



CATEGORY_TAG
final public static String CATEGORY_TAG(Code)



CHANNEL_TAG
final public static String CHANNEL_TAG(Code)



CLOUD_TAG
final public static String CLOUD_TAG(Code)



COMMENTS_TAG
final public static String COMMENTS_TAG(Code)



COPY_TAG
final public static String COPY_TAG(Code)



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_DATE_TAG
final public static String DC_DATE_TAG(Code)



DC_DESCRIPTION_TAG
final public static String DC_DESCRIPTION_TAG(Code)



DC_FORMAT_TAG
final public static String DC_FORMAT_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_RIGHTS_TAG
final public static String DC_RIGHTS_TAG(Code)



DC_SOURCE_TAG
final public static String DC_SOURCE_TAG(Code)



DC_SUBJECT_TAG
final public static String DC_SUBJECT_TAG(Code)



DC_TITLE_TAG
final public static String DC_TITLE_TAG(Code)



DC_TYPE_TAG
final public static String DC_TYPE_TAG(Code)



DESCRIPTION_TAG
final public static String DESCRIPTION_TAG(Code)



DOCS_TAG
final public static String DOCS_TAG(Code)



GENERATOR_TAG
final public static String GENERATOR_TAG(Code)



IMAGE_H_TAG
final public static String IMAGE_H_TAG(Code)



IMAGE_TAG
final public static String IMAGE_TAG(Code)



IMAGE_W_TAG
final public static String IMAGE_W_TAG(Code)



ITEM_TAG
final public static String ITEM_TAG(Code)



LANGUAGE_TAG
final public static String LANGUAGE_TAG(Code)



LAST_B_DATE_TAG
final public static String LAST_B_DATE_TAG(Code)



LINK_TAG
final public static String LINK_TAG(Code)



MANAGING_TAG
final public static String MANAGING_TAG(Code)



NAME_TAG
final public static String NAME_TAG(Code)



PUB_DATE_TAG
final public static String PUB_DATE_TAG(Code)



RATING_TAG
final public static String RATING_TAG(Code)



SEQ_ELEMENT_TAG
final public static String SEQ_ELEMENT_TAG(Code)



SEQ_TAG
final public static String SEQ_TAG(Code)



SKIPD_TAG
final public static String SKIPD_TAG(Code)



SKIPH_TAG
final public static String SKIPH_TAG(Code)



SY_BASE_TAG
final public static String SY_BASE_TAG(Code)



SY_FREQ_TAG
final public static String SY_FREQ_TAG(Code)



SY_PERIOD_TAG
final public static String SY_PERIOD_TAG(Code)



TEXTINPUT_TAG
final public static String TEXTINPUT_TAG(Code)



TITLE_TAG
final public static String TITLE_TAG(Code)



TTL_TAG
final public static String TTL_TAG(Code)



URL_TAG
final public static String URL_TAG(Code)



WMASTER_TAG
final public static String WMASTER_TAG(Code)




Constructor Detail
RSSHandler
public RSSHandler()(Code)




Method Detail
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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.