|
SASAX-RSS parser | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jp.ne.dti.lares.foozy.sasax.AbstractElement | +--jp.ne.dti.lares.foozy.sasax.CompositeElement | +--jp.ne.dti.lares.foozy.sasax.rss.RSSRootElement
Class to parse XML document as RSS.
This has "MUST ITEM"s as shown below:
channel
element
repetition
of item
element
This has "OPTIONAL ITEM"s as shown below:
This does:
"RDF"
of rdf
Field Summary | |
ChannelElement |
channel
"channel" sub element. |
ImageElement |
image
"image" sub element. |
ItemElement |
item
Repeated "item" element. |
jp.ne.dti.lares.foozy.sasax.ElementRepetition |
repetition
Repetition of "item" element. |
TextinputElement |
textinput
"textinput" sub element. |
Constructor Summary | |
RSSRootElement(jp.ne.dti.lares.foozy.sasax.Element parent)
Constructor. |
Method Summary | |
static void |
main(java.lang.String[] args)
Bootstrap RSS parser. |
Methods inherited from class jp.ne.dti.lares.foozy.sasax.CompositeElement |
accepts, addComponent, addComponent, addMustItem, addMustItem, addOptionalItem, addOptionalItem, characters, endElement, examine, getComponent, getLName, getURI, isEmpty, startElement |
Methods inherited from class jp.ne.dti.lares.foozy.sasax.AbstractElement |
addCleanup, addNotification, clear, ensureDetermined, fireElementStarted, getParent, ignorableWhitespace, isDetermined, notifyDetermined, notifyDetermined, processingInstruction, setDetermined, skippedEntity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final ChannelElement channel
public final ImageElement image
public final jp.ne.dti.lares.foozy.sasax.ElementRepetition repetition
public final ItemElement item
public final TextinputElement textinput
Constructor Detail |
public RSSRootElement(jp.ne.dti.lares.foozy.sasax.Element parent)
parent
- of this elementMethod Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
This tries to read file, whose name is specified as first argument,
and parse it by RSSRoot
on SASAX framework.
This makes empty output when success to parse XML document.
|
SASAX-RSS parser | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |