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