Directory SDK
for Java 4.19

netscape.ldap.util
Class DSMLWriter

java.lang.Object
  extended bynetscape.ldap.util.LDAPWriter
      extended bynetscape.ldap.util.DSMLWriter
All Implemented Interfaces:
Serializable

public class DSMLWriter
extends LDAPWriter

Class for outputting LDAP entries to a stream as DSML.

See Also:
Serialized Form

Constructor Summary
DSMLWriter(PrintWriter pw)
          Constructs a DSMLWriter object to output entries to a stream as DSML.
 
Method Summary
 void printSchema(LDAPEntry entry)
          Prints the schema from an entry containing subschema entry entry containing schema definitions
 
Methods inherited from class netscape.ldap.util.LDAPWriter
printEntry
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSMLWriter

public DSMLWriter(PrintWriter pw)
Constructs a DSMLWriter object to output entries to a stream as DSML.

Parameters:
pw - output stream
Method Detail

printSchema

public void printSchema(LDAPEntry entry)
Prints the schema from an entry containing subschema entry entry containing schema definitions

Overrides:
printSchema in class LDAPWriter
Parameters:
entry - an LDAPEntry containing schema to be formatted to the output stream

Directory SDK
for Java 4.19

Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.