|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.ldap.util.LDAPXMLHandler
This class is used to handle the deserialization events emitted by SAXEventMultiplexer. It is a variation of SAXEvents Handler, simplied for accessing specific required events only.
SAXEventMultiplexer| Constructor Summary | |
LDAPXMLHandler(java.lang.String ElementName,
LDAPXMLHandler parent)
Default Constructor with element name for this Handler and parent LDAPXMLHandler to be processed. |
|
| Method Summary | |
protected void |
addValue(java.lang.String tag,
java.lang.Object value)
This method defines the generic adapter to be used by child elements to return the values of the processed Child Elements. |
protected void |
endElement()
This method is used to signal the end of Element. |
protected java.lang.String |
getName()
This method returns the Name of the Element to be handled by this LDAPXMLHandler. |
java.lang.Object |
getObject()
This method returns the deserialize Object generated by this class. |
protected LDAPXMLHandler |
getParent()
Returns the Parent LDAPXMLHandler. |
protected java.lang.String |
getValue()
This method returns the Value stored in this element. |
protected void |
handleAttributes(org.xml.sax.Attributes attributes)
This method is used to handle the Attributes associated with this Element. |
protected void |
initHandler()
This method is used to initialize the Handler. |
protected void |
setchildelement(LDAPXMLHandler handler)
Sets the Handler for the Child LDAPXMLHandler, it expects only one handler for each code base. |
protected void |
setObject(java.lang.Object data)
This method is used to set the Deserialized Object and it also calls the parent LDAPXMLHandler (if not null), returning the value using addValue() |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LDAPXMLHandler(java.lang.String ElementName,
LDAPXMLHandler parent)
ElementName - String name of the XML element to process.parent - LDAPXMLHandler , which is the parent of this Element.| Method Detail |
protected LDAPXMLHandler getParent()
protected final java.lang.String getName()
protected final java.lang.String getValue()
protected final void setchildelement(LDAPXMLHandler handler)
handler - This handler for specific child element.protected void addValue(java.lang.String tag,
java.lang.Object value)
tag - String XML tag.value - Object deserialized value for the specific tag.protected void initHandler()
protected void endElement()
protected void handleAttributes(org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
attributes - Attributes found with this element.
org.xml.sax.SAXException - When the specific mandatory element is not found, so
as to stop the processing.public final java.lang.Object getObject()
protected final void setObject(java.lang.Object data)
data - Object data.addValue(String, Object)
|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||