|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.util.xml.TagReader
org.progeeks.util.xml.SimpleXmlReader.SimpleTagReader
protected class SimpleXmlReader.SimpleTagReader
Handler that will dynamically deal with all of the different tags.
| Constructor Summary | |
|---|---|
protected |
SimpleXmlReader.SimpleTagReader()
|
| Method Summary | |
|---|---|
boolean |
isIgnoreAttributes()
Return a flag whether to ignore XML attributes. |
void |
setIgnoreAttributes(boolean ignoreAttributes)
Set the flag to ignore XML attributes |
void |
tagEnd(java.lang.String tag,
java.lang.String text,
java.lang.Object parent,
java.lang.Object tagObject)
Performs any operations necessary to close a tag. |
java.lang.Object |
tagStart(java.lang.String tag,
org.xml.sax.Attributes atts,
java.lang.Object current)
Called at the beginning of a tag so that the initial tag object can be created. |
| Methods inherited from class org.progeeks.util.xml.TagReader |
|---|
tagText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SimpleXmlReader.SimpleTagReader()
| Method Detail |
|---|
public java.lang.Object tagStart(java.lang.String tag,
org.xml.sax.Attributes atts,
java.lang.Object current)
throws XmlException
TagReader
tagStart in class TagReadertag - The name of the processed tag.atts - The attribute list for the tag.current - The object within which this tag is nested.
XmlException
public void tagEnd(java.lang.String tag,
java.lang.String text,
java.lang.Object parent,
java.lang.Object tagObject)
throws XmlException
TagReader
tagEnd in class TagReadertag - The name of the processed tag.text - The text accumulated in the tag body.parent - The object within which this tag is nested.tagObject - The object created in the tagStart method.
XmlExceptionpublic boolean isIgnoreAttributes()
public void setIgnoreAttributes(boolean ignoreAttributes)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||