Interface XmlDocumentInfo
- 
- All Known Implementing Classes:
 DefaultXmlDocumentInfo
public interface XmlDocumentInfoThe 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 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
- 
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.
 
 
 - 
 
 -