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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDefaultNameSpace()
Returns the default-namespace declared on the root-element.java.lang.String
getPublicDTDId()
Returns the Public-ID of the Document's DTD (if there's any).java.lang.String
getRootElement()
Returns the tag name of the root-level element.org.xml.sax.Attributes
getRootElementAttributes()
java.lang.String
getRootElementNameSpace()
Returns the namespace URI for the root-element of the document.java.lang.String
getSystemDTDId()
Returns the System-ID of the document's DTD.
-
-
-
Method Detail
-
getRootElement
java.lang.String getRootElement()
Returns the tag name of the root-level element.- Returns:
- the root-tag-name.
-
getRootElementNameSpace
java.lang.String getRootElementNameSpace()
Returns the namespace URI for the root-element of the document.- Returns:
- the namespace of the root-element.
-
getRootElementAttributes
org.xml.sax.Attributes getRootElementAttributes()
-
getPublicDTDId
java.lang.String getPublicDTDId()
Returns the Public-ID of the Document's DTD (if there's any).- Returns:
- the public id.
-
getSystemDTDId
java.lang.String getSystemDTDId()
Returns the System-ID of the document's DTD.- Returns:
- the system-id.
-
getDefaultNameSpace
java.lang.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.
-
-