|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.onemind.commons.java.xml.digest.DefaultDigester org.onemind.commons.java.xml.digest.AbstractElementCreatorDigester
The abstract implementation of ElementCreatorDigester. The element creator will fire an event at the end of digestion
Constructor Summary | |
AbstractElementCreatorDigester(java.lang.String name)
Constructor |
Method Summary | |
void |
addListener(ElementListener l)
Add listener |
void |
endDigest(SaxDigesterHandler handler)
End the element |
java.lang.Object |
getCreatedElement()
Get the created object |
void |
removeListener(ElementListener l)
Remove listener |
protected void |
setCreatedElement(java.lang.Object obj)
Set the created element |
Methods inherited from class org.onemind.commons.java.xml.digest.DefaultDigester |
characters, getElementName, startDigest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.onemind.commons.java.xml.digest.ElementDigester |
characters, getElementName, startDigest |
Constructor Detail |
public AbstractElementCreatorDigester(java.lang.String name)
name
- the element nameMethod Detail |
public final void addListener(ElementListener l)
addListener
in interface ElementCreatorDigester
l
- the listenerpublic final void removeListener(ElementListener l)
removeListener
in interface ElementCreatorDigester
l
- the listenerpublic void endDigest(SaxDigesterHandler handler) throws org.xml.sax.SAXException
endDigest
in interface ElementDigester
endDigest
in class DefaultDigester
org.xml.sax.SAXException
protected final void setCreatedElement(java.lang.Object obj)
obj
- the objectpublic final java.lang.Object getCreatedElement()
getCreatedElement
in interface ElementCreatorDigester
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |