public class DefaultXmlDocumentInfo extends java.lang.Object implements XmlDocumentInfo
Constructor and Description |
---|
DefaultXmlDocumentInfo()
Default-Constructor.
|
Modifier and Type | Method and 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.
|
void |
setDefaultNameSpace(java.lang.String defaultNameSpace)
Defines the default-namespace declared on the root-element.
|
void |
setPublicDTDId(java.lang.String publicDTDId)
Defines the Public-ID of the Document's DTD (if there's any).
|
void |
setRootElement(java.lang.String rootElement)
Defines the tag name of the root-level element.
|
void |
setRootElementAttributes(org.xml.sax.Attributes rootElementAttributes) |
void |
setRootElementNameSpace(java.lang.String rootElementNameSpace)
Defines the namespace URI for the root-element of the document.
|
void |
setSystemDTDId(java.lang.String systemDTDId)
Defines the System-ID of the document's DTD.
|
java.lang.String |
toString()
Returns a string representation of the document info.
|
public java.lang.String getRootElement()
getRootElement
in interface XmlDocumentInfo
public void setRootElement(java.lang.String rootElement)
rootElement
- the root-tag-name.public java.lang.String getRootElementNameSpace()
getRootElementNameSpace
in interface XmlDocumentInfo
public void setRootElementNameSpace(java.lang.String rootElementNameSpace)
rootElementNameSpace
- the namespace of the root-element.public org.xml.sax.Attributes getRootElementAttributes()
getRootElementAttributes
in interface XmlDocumentInfo
public void setRootElementAttributes(org.xml.sax.Attributes rootElementAttributes)
public java.lang.String getPublicDTDId()
getPublicDTDId
in interface XmlDocumentInfo
public void setPublicDTDId(java.lang.String publicDTDId)
publicDTDId
- the public id.public java.lang.String getSystemDTDId()
getSystemDTDId
in interface XmlDocumentInfo
public void setSystemDTDId(java.lang.String systemDTDId)
systemDTDId
- the system-id.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDefaultNameSpace()
getDefaultNameSpace
in interface XmlDocumentInfo
public void setDefaultNameSpace(java.lang.String defaultNameSpace)
defaultNameSpace
- the default-namespace.