|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.xmlns.parser.DefaultXmlDocumentInfo
public class DefaultXmlDocumentInfo
A data class that holds all relevant information about a XML document to make a decision on what parser to use to interpret the XML content.
Constructor Summary | |
---|---|
DefaultXmlDocumentInfo()
Default-Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultXmlDocumentInfo()
Method Detail |
---|
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()
toString
in class Object
public String getDefaultNameSpace()
getDefaultNameSpace
in interface XmlDocumentInfo
public void setDefaultNameSpace(String defaultNameSpace)
defaultNameSpace
- the default-namespace.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |