|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--netscape.ldap.util.LDAPWriter
|
+--netscape.ldap.util.DSMLWriter
Class for outputting LDAP entries to a stream as DSML.
| Field Summary |
|---|
| Fields inherited from class netscape.ldap.util.LDAPWriter |
|---|
m_pw |
| Constructor Summary | |
|---|---|
DSMLWriter(java.io.PrintWriter pw)
Constructs a DSMLWriter object to output entries
to a stream as DSML. |
|
| Method Summary | |
|---|---|
protected void |
printAttribute(LDAPAttribute attr)
Print an attribute of an entry |
protected void |
printAttributeSchema(LDAPSchema schema)
Prints the attribute schema from a schema object schema schema elements |
void |
printEntries(java.util.Vector entries)
Print a vector of entries, with wrapper tags |
protected void |
printEntryEnd(java.lang.String dn)
Print epilogue to entry |
protected void |
printEntryStart(java.lang.String dn)
Print prologue to entry |
protected void |
printEscapedValue(java.lang.String prolog,
java.lang.String value,
java.lang.String epilog)
Print the element start, the value with escaping of special characters, and the element end |
void |
printFooter()
Print epilogue to section of DSML |
void |
printHeader()
Print prolog to section of DSML |
protected void |
printObjectClassSchema(LDAPSchema schema)
Prints the object class schema from a schema object schema schema elements |
void |
printSchema(LDAPEntry entry)
Prints the schema from an entry containing subschema entry entry containing schema definitions |
void |
printSchema(LDAPSchema schema)
Prints a given schema |
protected void |
printString(java.lang.String value)
|
| Methods inherited from class netscape.ldap.util.LDAPWriter |
|---|
getPrintableValue, printEntry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DSMLWriter(java.io.PrintWriter pw)
DSMLWriter object to output entries
to a stream as DSML.
pw - output stream| Method Detail |
public void printSchema(LDAPEntry entry)
printSchema in class LDAPWriterentry - an LDAPEntry containing schema to be formatted
to the output streampublic void printSchema(LDAPSchema schema)
schema - LDAPSchema object to printprotected void printObjectClassSchema(LDAPSchema schema)
protected void printAttributeSchema(LDAPSchema schema)
protected void printAttribute(LDAPAttribute attr)
printAttribute in class LDAPWriterattr - the attribute to format to the output streamprotected void printEntryStart(java.lang.String dn)
printEntryStart in class LDAPWriterdn - the DN of the entryprotected void printEntryEnd(java.lang.String dn)
printEntryEnd in class LDAPWriterdn - the DN of the entrypublic void printEntries(java.util.Vector entries)
entries - A vector of LDAPEntrypublic void printHeader()
printHeader in class LDAPWriterpublic void printFooter()
printFooter in class LDAPWriter
protected void printEscapedValue(java.lang.String prolog,
java.lang.String value,
java.lang.String epilog)
prolog - element startvalue - value to be escapedepilog - element endprotected void printString(java.lang.String value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||