Interface XmlDocumentInfo
- All Known Implementing Classes:
DefaultXmlDocumentInfo
public interface XmlDocumentInfo
The XmlDocumentInfo class collects basic information about the document that should be parsed.
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default-namespace declared on the root-element.Returns the Public-ID of the Document's DTD (if there's any).Returns the tag name of the root-level element.Returns the namespace URI for the root-element of the document.Returns the System-ID of the document's DTD.
-
Method Details
-
getRootElement
String getRootElement()Returns the tag name of the root-level element.- Returns:
- the root-tag-name.
-
getRootElementNameSpace
String getRootElementNameSpace()Returns the namespace URI for the root-element of the document.- Returns:
- the namespace of the root-element.
-
getRootElementAttributes
Attributes getRootElementAttributes() -
getPublicDTDId
String getPublicDTDId()Returns the Public-ID of the Document's DTD (if there's any).- Returns:
- the public id.
-
getSystemDTDId
String getSystemDTDId()Returns the System-ID of the document's DTD.- Returns:
- the system-id.
-
getDefaultNameSpace
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.
-