|
||||||||||
| 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.XDSSchemaResultDocument
The XmlDocument returned from the
getSchema(XmlDocument) method of interface
DriverShim.
| Constructor Summary | |
XDSSchemaResultDocument()
Constructs an empty, writeable schema document. |
|
XDSSchemaResultDocument(DTDVersion dtdVersion)
Constructs an empty, writeable schema document. |
|
| Method Summary | |
XDSSchemaDefElement |
appendSchemaDefElement()
Appends an empty, child <schema-def> element to this
document's <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 XDSSchemaResultDocument()
This constructor should be used to build documents returned from the
getSchema(XmlDocument) method of interface
DriverShim.
SkeletonDriverShim.getSchema(XmlDocument)public XDSSchemaResultDocument(DTDVersion dtdVersion)
This constructor should be used to build documents returned from the
getSchema(XmlDocument) method of interface
DriverShim.
dtdVersion - must not be nullSkeletonDriverShim.getSchema(XmlDocument)| Method Detail |
public XDSSchemaDefElement appendSchemaDefElement()
<schema-def> element to this
document's <output> element.
nullpublic 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 WriteableDocumentnullpublic XDSStatusElement appendStatusElement()
StatusDocument<status> element to this
document's <input> or <output>
element.
appendStatusElement in interface StatusDocumentnull
public void validate()
throws XDSParseException
WriteableDocument
validate in interface WriteableDocumentXDSParseException - if this document is malformed or invalidpublic com.novell.nds.dirxml.driver.XmlDocument toXML()
WriteableDocumentXmlDocument.
toXML in interface WriteableDocumentXmlDocumentpublic 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 | |||||||||