|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.restlet.ext.atom.FeedReader
public class FeedReader
Content reader for feeds that is able to transmit events to another FeedReader.
| Constructor Summary | |
|---|---|
FeedReader()
Constructor. |
|
FeedReader(FeedReader feedReader)
Constructor. |
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
|
void |
endContent(Content content)
Called at the end of the XML block that defines the given content element. |
void |
endDocument()
|
void |
endElement(String uri,
String localName,
String qName)
|
void |
endEntry(Entry entry)
Called at the end of the XML block that defines the given entry. |
void |
endFeed(Feed feed)
Called at the end of the XML block that defines the given feed. |
void |
endLink(Link link)
Called at the end of the XML block that defines the given link. |
void |
endPrefixMapping(String prefix)
|
void |
error(SAXParseException e)
|
void |
fatalError(SAXParseException e)
|
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
notationDecl(String name,
String publicId,
String systemId)
|
void |
processingInstruction(String target,
String data)
|
InputSource |
resolveEntity(String publicId,
String systemId)
|
void |
setDocumentLocator(Locator locator)
|
void |
skippedEntity(String name)
|
void |
startContent(Content content)
Called when a new content element has been detected in the Atom document. |
void |
startDocument()
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
|
void |
startEntry(Entry entry)
Called when a new entry has been detected in the Atom document. |
void |
startFeed(Feed feed)
Called when a new feed has been detected in the Atom document. |
void |
startLink(Link link)
Called when a new link has been detected in the Atom document. |
void |
startPrefixMapping(String prefix,
String uri)
|
void |
unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
|
void |
warning(SAXParseException e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeedReader()
public FeedReader(FeedReader feedReader)
feedReader - Additional feed reader that will receive all events.| Method Detail |
|---|
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic void endContent(Content content)
content - The current content element.
public void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXException
public void endElement(String uri,
String localName,
String qName)
throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void endEntry(Entry entry)
entry - The current entry.public void endFeed(Feed feed)
feed - The current feed.public void endLink(Link link)
link - The current link.
public void endPrefixMapping(String prefix)
throws SAXException
endPrefixMapping in interface ContentHandlerendPrefixMapping in class DefaultHandlerSAXException
public void error(SAXParseException e)
throws SAXException
error in interface ErrorHandlererror in class DefaultHandlerSAXException
public void fatalError(SAXParseException e)
throws SAXException
fatalError in interface ErrorHandlerfatalError in class DefaultHandlerSAXException
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerignorableWhitespace in class DefaultHandlerSAXException
public void notationDecl(String name,
String publicId,
String systemId)
throws SAXException
notationDecl in interface DTDHandlernotationDecl in class DefaultHandlerSAXException
public void processingInstruction(String target,
String data)
throws SAXException
processingInstruction in interface ContentHandlerprocessingInstruction in class DefaultHandlerSAXException
public InputSource resolveEntity(String publicId,
String systemId)
throws IOException,
SAXException
resolveEntity in interface EntityResolverresolveEntity in class DefaultHandlerIOException
SAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandler
public void skippedEntity(String name)
throws SAXException
skippedEntity in interface ContentHandlerskippedEntity in class DefaultHandlerSAXExceptionpublic void startContent(Content content)
content - The current content element.
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerSAXException
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void startEntry(Entry entry)
entry - The current entry.public void startFeed(Feed feed)
feed - The current feed.public void startLink(Link link)
link - The current link.
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class DefaultHandlerSAXException
public void unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
throws SAXException
unparsedEntityDecl in interface DTDHandlerunparsedEntityDecl in class DefaultHandlerSAXException
public void warning(SAXParseException e)
throws SAXException
warning in interface ErrorHandlerwarning in class DefaultHandlerSAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||