org.pentaho.reporting.libraries.xmlns.parser

Interface XmlDocumentInfo

public interface XmlDocumentInfo

The XmlDocumentInfo class collects basic information about the document that should be parsed.

Author: Thomas Morgner

Method Summary
StringgetDefaultNameSpace()
Returns the default-namespace declared on the root-element.
StringgetPublicDTDId()
Returns the Public-ID of the Document's DTD (if there's any).
StringgetRootElement()
Returns the tag name of the root-level element.
AttributesgetRootElementAttributes()
StringgetRootElementNameSpace()
Returns the namespace URI for the root-element of the document.
StringgetSystemDTDId()
Returns the System-ID of the document's DTD.

Method Detail

getDefaultNameSpace

public String getDefaultNameSpace()
Returns the default-namespace declared on the root-element. It is not guaranteed that this information is filled until a XmlFactoryModule has been selected.

Returns: the default-namespace.

getPublicDTDId

public String getPublicDTDId()
Returns the Public-ID of the Document's DTD (if there's any).

Returns: the public id.

getRootElement

public String getRootElement()
Returns the tag name of the root-level element.

Returns: the root-tag-name.

getRootElementAttributes

public Attributes getRootElementAttributes()

getRootElementNameSpace

public String getRootElementNameSpace()
Returns the namespace URI for the root-element of the document.

Returns: the namespace of the root-element.

getSystemDTDId

public String getSystemDTDId()
Returns the System-ID of the document's DTD.

Returns: the system-id.