railo.runtime.text.feed
Class RSSHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by railo.runtime.text.feed.RSSHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public final class RSSHandler
extends DefaultHandler


Field Summary
static String DEFAULT_SAX_PARSER
           
 
Constructor Summary
RSSHandler(InputStream stream)
          Constructor of the class
RSSHandler(Resource res)
          Constructor of the class
 
Method Summary
 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)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SAX_PARSER

public static final String DEFAULT_SAX_PARSER
See Also:
Constant Field Values
Constructor Detail

RSSHandler

public RSSHandler(Resource res)
           throws IOException,
                  SAXException,
                  DatabaseException
Constructor of the class

Parameters:
res -
Throws:
IOException
SAXException
DatabaseException

RSSHandler

public RSSHandler(InputStream stream)
           throws IOException,
                  SAXException,
                  DatabaseException
Constructor of the class

Parameters:
stream -
Throws:
IOException
SAXException
DatabaseException
Method Detail

setDocumentLocator

public void setDocumentLocator(Locator locator)
Specified by:
setDocumentLocator in interface ContentHandler
Overrides:
setDocumentLocator in class DefaultHandler

startElement

public void startElement(String uri,
                         String name,
                         String qName,
                         Attributes atts)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler

endElement

public void endElement(String uri,
                       String name,
                       String qName)
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler

characters

public void characters(char[] ch,
                       int start,
                       int length)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler

getProperties

public Struct getProperties()
Returns:
the properties

getItems

public Query getItems()
Returns:
the items


Copyright © 2012 Railo