|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xmlpull.v1.builder.impl.XmlDocumentImpl
public class XmlDocumentImpl
| Constructor Summary | |
|---|---|
XmlDocumentImpl(java.lang.String version,
java.lang.Boolean standalone,
java.lang.String characterEncoding)
|
|
| Method Summary | |
|---|---|
void |
addChild(java.lang.Object child)
|
XmlComment |
addComment(java.lang.String content)
|
XmlDoctype |
addDoctype(java.lang.String systemIdentifier,
java.lang.String publicIdentifier)
Method addDoctype |
XmlElement |
addDocumentElement(java.lang.String name)
|
XmlElement |
addDocumentElement(XmlNamespace namespace,
java.lang.String name)
|
XmlNotation |
addNotation(java.lang.String name,
java.lang.String systemIdentifier,
java.lang.String publicIdentifier,
java.lang.String declarationBaseUri)
Method addNotation |
XmlProcessingInstruction |
addProcessingInstruction(java.lang.String target,
java.lang.String content)
|
Iterable |
children()
An ordered list of child information items, in document order. |
java.lang.Object |
clone()
|
XmlElement |
element(XmlNamespace n,
java.lang.String name)
|
XmlElement |
element(XmlNamespace namespace,
java.lang.String name,
boolean create)
|
java.lang.String |
getBaseUri()
|
java.lang.String |
getCharacterEncodingScheme()
|
XmlElement |
getDocumentElement()
|
java.lang.String |
getVersion()
|
void |
insertChild(int pos,
java.lang.Object child)
|
boolean |
isAllDeclarationsProcessed()
|
java.lang.Boolean |
isStandalone()
|
XmlComment |
newComment(java.lang.String content)
|
XmlDoctype |
newDoctype(java.lang.String systemIdentifier,
java.lang.String publicIdentifier)
|
XmlProcessingInstruction |
newProcessingInstruction(java.lang.String target,
java.lang.String content)
|
Iterable |
notations()
An unordered set of notation information items, one for each notation declared in the DTD. |
void |
removeAllChildren()
|
void |
removeAllNotations()
Method removeAllNotations |
void |
removeAllUnparsedEntities()
|
XmlElement |
requiredElement(XmlNamespace n,
java.lang.String name)
|
void |
setCharacterEncodingScheme(java.lang.String characterEncoding)
|
void |
setDocumentElement(XmlElement rootElement)
|
Iterable |
unparsedEntities()
An unordered set of unparsed entity information items, one for each unparsed entity declared in the DTD. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlDocumentImpl(java.lang.String version,
java.lang.Boolean standalone,
java.lang.String characterEncoding)
| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface XmlDocumentclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String getVersion()
getVersion in interface XmlDocumentpublic java.lang.Boolean isStandalone()
isStandalone in interface XmlDocumentpublic java.lang.String getCharacterEncodingScheme()
getCharacterEncodingScheme in interface XmlDocumentpublic void setCharacterEncodingScheme(java.lang.String characterEncoding)
setCharacterEncodingScheme in interface XmlDocument
public XmlProcessingInstruction newProcessingInstruction(java.lang.String target,
java.lang.String content)
newProcessingInstruction in interface XmlDocument
public XmlProcessingInstruction addProcessingInstruction(java.lang.String target,
java.lang.String content)
addProcessingInstruction in interface XmlDocumentpublic Iterable children()
children in interface XmlDocumentpublic void removeAllUnparsedEntities()
removeAllUnparsedEntities in interface XmlDocumentpublic void setDocumentElement(XmlElement rootElement)
setDocumentElement in interface XmlDocument
public XmlElement requiredElement(XmlNamespace n,
java.lang.String name)
requiredElement in interface XmlDocument
public XmlElement element(XmlNamespace n,
java.lang.String name)
element in interface XmlDocument
public XmlElement element(XmlNamespace namespace,
java.lang.String name,
boolean create)
element in interface XmlDocument
public void insertChild(int pos,
java.lang.Object child)
insertChild in interface XmlDocumentpublic XmlComment addComment(java.lang.String content)
addComment in interface XmlDocument
public XmlDoctype newDoctype(java.lang.String systemIdentifier,
java.lang.String publicIdentifier)
newDoctype in interface XmlDocumentpublic Iterable unparsedEntities()
unparsedEntities in interface XmlDocumentpublic void removeAllChildren()
removeAllChildren in interface XmlDocumentpublic XmlComment newComment(java.lang.String content)
newComment in interface XmlDocumentpublic void removeAllNotations()
removeAllNotations in interface XmlDocument
public XmlDoctype addDoctype(java.lang.String systemIdentifier,
java.lang.String publicIdentifier)
addDoctype in interface XmlDocumentpublic void addChild(java.lang.Object child)
addChild in interface XmlDocument
public XmlNotation addNotation(java.lang.String name,
java.lang.String systemIdentifier,
java.lang.String publicIdentifier,
java.lang.String declarationBaseUri)
addNotation in interface XmlDocumentpublic java.lang.String getBaseUri()
getBaseUri in interface XmlDocumentpublic Iterable notations()
notations in interface XmlDocumentpublic XmlElement addDocumentElement(java.lang.String name)
addDocumentElement in interface XmlDocument
public XmlElement addDocumentElement(XmlNamespace namespace,
java.lang.String name)
addDocumentElement in interface XmlDocumentpublic boolean isAllDeclarationsProcessed()
isAllDeclarationsProcessed in interface XmlDocumentpublic XmlElement getDocumentElement()
getDocumentElement in interface XmlDocument
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||