|
||||||||||
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 | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultXmlDocumentInfo()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |