railo.runtime.text.feed
Class FeedHandler

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

public final class FeedHandler
extends DefaultHandler


Field Summary
static String DEFAULT_SAX_PARSER
           
 
Constructor Summary
FeedHandler(InputSource is)
           
FeedHandler(InputStream stream)
          Constructor of the class
FeedHandler(Resource res)
          Constructor of the class
 
Method Summary
 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)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
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

FeedHandler

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

Parameters:
res -
Throws:
IOException
SAXException

FeedHandler

public FeedHandler(InputSource is)
            throws IOException,
                   SAXException
Throws:
IOException
SAXException

FeedHandler

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

Parameters:
stream -
Throws:
IOException
SAXException
Method Detail

hasDC

public boolean hasDC()
Returns:
the hasDC

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
See Also:
DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)

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

getData

public Struct getData()
Returns:
the properties

endDocument

public void endDocument()
                 throws SAXException
Specified by:
endDocument in interface ContentHandler
Overrides:
endDocument in class DefaultHandler
Throws:
SAXException
See Also:
DefaultHandler.endDocument()


Copyright © 2012 Railo