|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.xds.DocumentImpl
com.novell.nds.dirxml.driver.xds.XDSResultDocument
The XmlDocument
returned from method
init(XmlDocument)
of interfaces DriverShim
,
SubscriptionShim
, and PublicationShim
, method
start(XmlCommandProcessor)
of interface
PublicationShim
, and method shutdown(XmlDocument)
of interface DriverShim
.
Constructor Summary | |
XDSResultDocument()
Constructs an empty, writeable init document. |
|
XDSResultDocument(DTDVersion dtdVersion)
Constructs an empty, writeable result document. |
Method Summary | |
XDSInitParamsElement |
appendInitParamsElement()
Appends an empty, child <init-params> element to this
document's <input> or <output>
element. |
XDSSourceElement |
appendSourceElement()
Appends an empty, child <source> element to this
document's <nds> element. |
XDSStatusElement |
appendStatusElement()
Appends an empty, child <status> element to this
document's <input> or <output>
element. |
void |
empty()
Removes all child nodes from this document's <input>
or <output> element. |
com.novell.nds.dirxml.driver.XmlDocument |
toXML()
Converts this document into an XmlDocument . |
void |
validate()
Validates this document. |
Methods inherited from class com.novell.nds.dirxml.driver.xds.DocumentImpl |
domDocument, domIOElement, domNDSElement, isEmpty |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.novell.nds.dirxml.driver.xds.XDSDocument |
domDocument, domIOElement, domNDSElement, isEmpty |
Constructor Detail |
public XDSResultDocument()
This constructor should be used to build documents returned from the
init(XmlDocument)
method of interfaces
DriverShim
, SubscriptionShim
, and
PublicationShim
, the
start(XmlCommandProcessor)
method of interface
PublicationShim
, and the
shutdown(XmlDocument)
method of interface
DriverShim
.
SkeletonDriverShim.init(XmlDocument)
,
SkeletonSubscriptionShim.init(XmlDocument)
,
SkeletonPublicationShim.init(XmlDocument)
,
SkeletonPublicationShim.start(com.novell.nds.dirxml.driver.XmlCommandProcessor)
,
SkeletonDriverShim.shutdown(XmlDocument)
public XDSResultDocument(DTDVersion dtdVersion)
This constructor should be used to build documents returned from the
init(XmlDocument)
method of interfaces
DriverShim
, SubscriptionShim
, and
PublicationShim
, the
start(XmlCommandProcessor)
method of interface
PublicationShim
, and the
shutdown(XmlDocument)
method of interface
DriverShim
.
dtdVersion
- must not be null
SkeletonDriverShim.init(XmlDocument)
,
SkeletonSubscriptionShim.init(XmlDocument)
,
SkeletonPublicationShim.init(XmlDocument)
,
SkeletonPublicationShim.start(com.novell.nds.dirxml.driver.XmlCommandProcessor)
,
SkeletonDriverShim.shutdown(XmlDocument)
Method Detail |
public XDSSourceElement appendSourceElement()
WriteableDocument
<source>
element to this
document's <nds>
element. When called more than
once, no action is taken and the same <source>
element is returned.
appendSourceElement
in interface WriteableDocument
null
public XDSStatusElement appendStatusElement()
StatusDocument
<status>
element to this
document's <input>
or <output>
element.
appendStatusElement
in interface StatusDocument
null
public XDSInitParamsElement appendInitParamsElement()
StateDocument
<init-params>
element to this
document's <input>
or <output>
element. When called more than once, no action is taken and the same
<init-params>
element is returned.
appendInitParamsElement
in interface StateDocument
null
public void validate() throws XDSParseException
WriteableDocument
validate
in interface WriteableDocument
XDSParseException
- if this document is malformed or invalidpublic com.novell.nds.dirxml.driver.XmlDocument toXML()
WriteableDocument
XmlDocument
.
toXML
in interface WriteableDocument
XmlDocument
public void empty()
WriteableDocument
<input>
or <output>
element.
empty
in interface WriteableDocument
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |