Interface XMQDoc

All Superinterfaces:
XMQNode

public interface XMQDoc extends XMQNode
An xml document, like xmqDocumentType. A document node has children: the root element, and, before or after it, doctype (dtd), comments and processing instructions.
  • Method Details

    • rootElement

      XMQElement rootElement()
      Returns the root element, like xmqGetDocumentElement.
      Returns:
      The root element or null.
    • setRootElement

      void setRootElement(XMQElement e)
      Set the root element.
      Parameters:
      e - The root element.
    • intSubset

      XMQDtd intSubset()
      Returns the internal doctype, the dtd, or null.
      Returns:
      The dtd or null.
    • setIntSubset

      void setIntSubset(XMQDtd dtd)
      Set the internal doctype.
      Parameters:
      dtd - The dtd.
    • getEntity

      XMQEntityDecl getEntity(String name)
      Returns the entity declaration with a given name from the dtd internal subset, or null if not found.
      Parameters:
      name - The name of the entity.
      Returns:
      The entity declaration or null.