|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.umlv.tatoo.cc.common.xml.AbstractXMLDigester.DefaultSAXlet
public static class AbstractXMLDigester.DefaultSAXlet
Default AbstractXMLDigester.SAXlet
implementation that can be used to
recognized one XML element. By default, this implementation does
nothing.
Constructor Summary | |
---|---|
AbstractXMLDigester.DefaultSAXlet(String name)
Creates a saxlet that recognized the element named name. |
Method Summary | |
---|---|
void |
end(String element,
Attributes atts)
Called by the digester when the end tag of an element is found. |
String |
getName()
Returns the name of the recognized element. |
void |
register(Map<String,AbstractXMLDigester.SAXlet> map)
Register all tags processed by the saxlets. |
void |
start(String element,
Attributes atts)
Called by the digester when the start tag of an element is found. |
void |
unregister(Map<String,AbstractXMLDigester.SAXlet> map)
Unregister all tags processed by the saxlets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractXMLDigester.DefaultSAXlet(String name)
name
- the name of the recognized element.Method Detail |
---|
public void register(Map<String,AbstractXMLDigester.SAXlet> map)
AbstractXMLDigester.SAXlet
register
in interface AbstractXMLDigester.SAXlet
map
- the map used by the digester to associate a
saxlet to an XML element.AbstractXMLDigester.SAXlet.unregister(Map)
public void unregister(Map<String,AbstractXMLDigester.SAXlet> map)
AbstractXMLDigester.SAXlet
unregister
in interface AbstractXMLDigester.SAXlet
map
- the map used by the digester to associate a
saxlet to an XML element.AbstractXMLDigester.SAXlet.register(Map)
public void start(String element, Attributes atts) throws Exception
AbstractXMLDigester.SAXlet
start
in interface AbstractXMLDigester.SAXlet
element
- the name of the lement.atts
- the element attribute.
This parameter must be escape from the stack.
Exception
- raised during the processing of the element.AbstractXMLDigester.SAXlet.end(String, Attributes)
,
AbstractXMLDigester.SAXlet.register(Map)
public void end(String element, Attributes atts) throws Exception
AbstractXMLDigester.SAXlet
end
in interface AbstractXMLDigester.SAXlet
element
- the name of the element.atts
- the element attribute.
This parameter must be escape from the stack.
Exception
- raised during the processing of the element.AbstractXMLDigester.SAXlet.start(String, Attributes)
,
AbstractXMLDigester.SAXlet.register(Map)
public String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |