|
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
com.novell.ldap.util.ValueXMLhandler
This class provides the implementation of the LDAPXMLHandler for the
LDAPXMLHandler
Constructor Summary | |
ValueXMLhandler(LDAPXMLHandler parent)
This constructor creates the ValueXMLHandler with the tagname as 'value'. |
|
ValueXMLhandler(java.lang.String tagname,
LDAPXMLHandler parent)
This constructor makes no assumption about the tagname and allows the user to specify the same. |
Method Summary | |
protected void |
endElement()
This method is used to signal the end of Element. |
protected void |
handleAttributes(org.xml.sax.Attributes attributes)
This method is used to handle the Attributes associated with this Element. |
static java.lang.String |
newLine(int indentTabs)
This mehod supports for adding indentation to the XML document written during XML serialization. |
static void |
parseInput(java.lang.String whole,
java.lang.StringBuffer buffer)
This mehod separates whitespaces in non-text nodes during XML de-serialization. |
Methods inherited from class com.novell.ldap.util.LDAPXMLHandler |
addValue, getName, getObject, getParent, getValue, initHandler, setchildelement, setObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValueXMLhandler(LDAPXMLHandler parent)
parent
- Parent LDAPXMLHandler.public ValueXMLhandler(java.lang.String tagname, LDAPXMLHandler parent)
parent
- Parent LDAPXMLHandler.tagname
- String name of the XML element to process.Method Detail |
protected void endElement()
LDAPXMLHandler
endElement
in class LDAPXMLHandler
protected void handleAttributes(org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
LDAPXMLHandler
handleAttributes
in class LDAPXMLHandler
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 static void parseInput(java.lang.String whole, java.lang.StringBuffer buffer)
whole
- The XML String with whitespaces in non-text nodes read from stream
during de-serializationbuffer
- StringBuffer which holds the resulting string after removal of
unwanted whitespaces in non-text nodespublic static java.lang.String newLine(int indentTabs)
indentTabs
- The integer specifying the number of indentation tabs
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |