|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jperdian.rss2.RssParser
The parser to process an XML document and transfer it into an
RssMessage
| Constructor Summary | |
RssParser()
|
|
| Method Summary | |
protected javax.xml.parsers.DocumentBuilder |
getDocumentBuilder()
Gets the DocumentBuilder used for XML parsing |
RssChannel |
parse(org.w3c.dom.Document xmlDocument,
RssChannel targetChannel)
Transfers the given XML document into a value RssMessage
object |
RssChannel |
parse(java.net.URL sourceURL,
RssChannel targetChannel)
Transfers the given XML document into a value RssMessage
object |
protected RssChannel |
parseChannel(org.w3c.dom.Element channelElement,
RssChannel channel)
Parses the content of the given channel element, analyze
it's content and generate a valid RssChannel object |
protected RssCloud |
parseCloud(org.w3c.dom.Element cloudElement)
Parses a cloud element |
protected RssEnclosure |
parseEnclosure(org.w3c.dom.Element enclosureElement)
Parses a enclosure element |
protected RssGuid |
parseGuid(org.w3c.dom.Element guidElement)
Parses a guid element |
protected RssImage |
parseImage(org.w3c.dom.Element textInputElement)
Parses a image element |
protected RssItem |
parseItem(org.w3c.dom.Element itemElement)
Parses a item element |
protected RssTextInput |
parseTextInput(org.w3c.dom.Element textInputElement)
Parses a textInput element |
protected void |
setDocumentBuilder(javax.xml.parsers.DocumentBuilder builder)
Sets the DocumentBuilder used for XML parsing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RssParser()
| Method Detail |
public RssChannel parse(java.net.URL sourceURL,
RssChannel targetChannel)
throws RssException
RssMessage
object
RssException
public RssChannel parse(org.w3c.dom.Document xmlDocument,
RssChannel targetChannel)
throws RssParseException
RssMessage
object
RssParseException
protected RssChannel parseChannel(org.w3c.dom.Element channelElement,
RssChannel channel)
throws RssParseException
channel element, analyze
it's content and generate a valid RssChannel object
RssParseException
protected RssCloud parseCloud(org.w3c.dom.Element cloudElement)
throws RssParseException
RssParseException
protected RssTextInput parseTextInput(org.w3c.dom.Element textInputElement)
throws RssParseException
RssParseException
protected RssImage parseImage(org.w3c.dom.Element textInputElement)
throws RssParseException
RssParseException
protected RssItem parseItem(org.w3c.dom.Element itemElement)
throws RssParseException
RssParseException
protected RssEnclosure parseEnclosure(org.w3c.dom.Element enclosureElement)
throws RssParseException
RssParseException
protected RssGuid parseGuid(org.w3c.dom.Element guidElement)
throws RssParseException
RssParseExceptionprotected void setDocumentBuilder(javax.xml.parsers.DocumentBuilder builder)
DocumentBuilder used for XML parsing
protected javax.xml.parsers.DocumentBuilder getDocumentBuilder()
DocumentBuilder used for XML parsing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||