org.merlotxml.util.xml
Interface DTDDocument

All Known Implementing Classes:
DTDDocumentImpl

public interface DTDDocument

This interface provides means to access the DTD definitions in a manner that can be independent of whatever third party underlying structures are used for the implementation.

Version:
$Id: DTDDocument.java,v 1.5 2000/06/23 21:26:39 camk Exp $
Author:
Kelly A. Campbell

Method Summary
 java.util.Enumeration getElements()
          Returns the list of declared elements from the document.
 java.lang.String getExternalID()
          Returns the SYSTEM identifier for a dtd
 java.util.Enumeration getInsertableElements(org.w3c.dom.Element el, int index)
          Returns a list of the possible elements that can be inserted or appended on this element.
 java.lang.String getName()
          Returns the name of the DTD
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the DTD

getElements

public java.util.Enumeration getElements()
Returns the list of declared elements from the document.
Returns:
Enumeration consisting of DTDElement objects or null

getInsertableElements

public java.util.Enumeration getInsertableElements(org.w3c.dom.Element el,
                                                   int index)
Returns a list of the possible elements that can be inserted or appended on this element.
Parameters:
el - A DOM element
Returns:
vector containing DTDElement objects

getExternalID

public java.lang.String getExternalID()
Returns the SYSTEM identifier for a dtd