|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.bellows.loader.DocumentInfo
Data holder for document-level XML data. Used by SAXLoader to store XML document properties, processing instructions outside the document, and NOTATION declarations.
Constructor Summary | |
DocumentInfo()
Creates a new instance of DocumentInfo. |
Method Summary | |
java.lang.String |
getEncoding()
Retrieves the XML encoding used in the source XML document. |
Datum[] |
getNotations()
Retrieves the NOTATION declarations for this document. |
Datum[] |
getPiAfterRoot()
Retrieves all XML processing instructions that occur after the end of the root XML element. |
Datum[] |
getPiBeforeRoot()
Retrieves all XML processing instructions that occur before the start of the root XML element. |
java.lang.String |
getXmlVersion()
Retrieves the original document's XML version. |
boolean |
isStandalone()
Retrieves the value of the XML standalone parameter. |
void |
setEncoding(java.lang.String encoding)
Assigns the XML encoding used in the source XML document. |
void |
setNotations(Datum[] notations)
Assigns the NOTATION declarations for this document. |
void |
setPiAfterRoot(Datum[] piAfterRoot)
Assigns all XML processing instructions that occur after the end of the root XML element. |
void |
setPiBeforeRoot(Datum[] piBeforeRoot)
Assigns all XML processing instructions that occur before the start of the root XML element. |
void |
setStandalone(boolean standalone)
Assigns the value of the XML standalone parameter. |
void |
setXmlVersion(java.lang.String xmlVersion)
Assigns the original document's XML version. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DocumentInfo()
Method Detail |
public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
encoding
- the original document's XML encodingpublic boolean isStandalone()
public void setStandalone(boolean standalone)
standalone
- the original document's XML standalonepublic java.lang.String getXmlVersion()
public void setXmlVersion(java.lang.String xmlVersion)
xmlVersion
- the original document's XML versionpublic Datum[] getNotations()
public void setNotations(Datum[] notations)
notations
- the NOTATION declarationspublic Datum[] getPiBeforeRoot()
public void setPiBeforeRoot(Datum[] piBeforeRoot)
piBeforeRoot
- all pre-root processing instructionspublic Datum[] getPiAfterRoot()
public void setPiAfterRoot(Datum[] piAfterRoot)
piAfterRoot
- all post-root processing instructions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |