fr.umlv.tatoo.cc.common.xml
Interface AbstractXMLDigester.SAXlet

All Known Implementing Classes:
AbstractXMLDigester.DefaultSAXlet
Enclosing class:
AbstractXMLDigester

public static interface AbstractXMLDigester.SAXlet

Processing unit used to process one or more XML element.


Method Summary
 void end(String localName, Attributes attr)
          Called by the digester when the end tag of an element is found.
 void register(Map<String,AbstractXMLDigester.SAXlet> map)
          Register all tags processed by the saxlets.
 void start(String localName, Attributes attr)
          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.
 

Method Detail

register

void register(Map<String,AbstractXMLDigester.SAXlet> map)
Register all tags processed by the saxlets.

Parameters:
map - the map used by the digester to associate a saxlet to an XML element.
See Also:
unregister(Map)

unregister

void unregister(Map<String,AbstractXMLDigester.SAXlet> map)
Unregister all tags processed by the saxlets.

Parameters:
map - the map used by the digester to associate a saxlet to an XML element.
See Also:
register(Map)

start

void start(String localName,
           Attributes attr)
           throws Exception
Called by the digester when the start tag of an element is found.

Parameters:
localName - the name of the lement.
attr - the element attribute. This parameter must be escape from the stack.
Throws:
Exception - raised during the processing of the element.
See Also:
end(String, Attributes), register(Map)

end

void end(String localName,
         Attributes attr)
         throws Exception
Called by the digester when the end tag of an element is found.

Parameters:
localName - the name of the element.
attr - the element attribute. This parameter must be escape from the stack.
Throws:
Exception - raised during the processing of the element.
See Also:
start(String, Attributes), register(Map)