Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.novell.nds.dirxml.driver.xds
Interface ReadableDocument

All Superinterfaces:
  XDSDocument

All Known Subinterfaces:
  QueryResultDocument

All Known Implementing Classes:
  XDSCommandDocument, XDSCommandResultDocument, XDSInitDocument, XDSQueryDocument, XDSQueryResultDocument

public interface ReadableDocument
extends XDSDocument

Any XDS document that can be read from.

Method Summary
`List` | `childElements()` Returns the children of this document's `<input>` or `<output>` element.
`XDSSourceElement` | `extractSourceElement()` Returns this document's `<source>` element.
`DTDVersion` | `getDTDVersion()` Returns the `dtdversion` attribute value from this document's `<nds>` element.

Methods inherited from interface com.novell.nds.dirxml.driver.xds.XDSDocument
`domDocument, domIOElement, domNDSElement, isEmpty`

Method Detail

### getDTDVersion

    public DTDVersion getDTDVersion()

  Returns the `dtdversion` attribute value from this document's `<nds>` element.

  Invocation Context:
    READ

  Returns:
    will not return `null`; if absent, this method returns `DTDVersion.UNKNOWN`

### extractSourceElement

    public XDSSourceElement extractSourceElement()

  Returns this document's `<source>` element.

  Invocation Context:
    READ

  Returns:
    may return `null`

### childElements

    public List childElements()

  Returns the children of this document's `<input>` or `<output>` element.

  Invocation Context:
    READ

  Returns:
    `Collections.EMPTY_LIST` or a list of `XDSElement` objects; will not return `null`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD