|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.dom.factory.OMDOMFactory
public class OMDOMFactory
Field Summary | |
---|---|
protected DocumentImpl |
document
|
Constructor Summary | |
---|---|
OMDOMFactory()
|
|
OMDOMFactory(DocumentImpl doc)
|
Method Summary | |
---|---|
org.apache.axiom.om.OMAttribute |
createOMAttribute(java.lang.String localName,
org.apache.axiom.om.OMNamespace ns,
java.lang.String value)
|
org.apache.axiom.om.OMComment |
createOMComment(org.apache.axiom.om.OMContainer parent,
java.lang.String content)
|
org.apache.axiom.om.OMDocType |
createOMDocType(org.apache.axiom.om.OMContainer parent,
java.lang.String content)
|
org.apache.axiom.om.OMDocument |
createOMDocument()
|
org.apache.axiom.om.OMDocument |
createOMDocument(org.apache.axiom.om.OMXMLParserWrapper builder)
|
org.apache.axiom.om.OMSourcedElement |
createOMElement(org.apache.axiom.om.OMDataSource source,
java.lang.String localName,
org.apache.axiom.om.OMNamespace ns)
|
org.apache.axiom.om.OMElement |
createOMElement(org.apache.axiom.om.OMDataSource source,
java.lang.String localName,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.om.OMContainer parent)
|
org.apache.axiom.om.OMElement |
createOMElement(javax.xml.namespace.QName qname)
Create an OMElement with the given QName If the QName contains a prefix, we will ensure that an OMNamespace is created mapping the given namespace to the given prefix. |
org.apache.axiom.om.OMElement |
createOMElement(javax.xml.namespace.QName qname,
org.apache.axiom.om.OMContainer parent)
Creates a new OMDOM Element node and adds it to the given parent. |
org.apache.axiom.om.OMElement |
createOMElement(java.lang.String localName,
org.apache.axiom.om.OMNamespace ns)
|
org.apache.axiom.om.OMElement |
createOMElement(java.lang.String localName,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.om.OMContainer parent)
|
org.apache.axiom.om.OMElement |
createOMElement(java.lang.String localName,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper builder)
Creates an OMElement with the builder. |
org.apache.axiom.om.OMElement |
createOMElement(java.lang.String localName,
java.lang.String namespaceURI,
java.lang.String namespacePrefix)
Creates an OMElement. |
org.apache.axiom.om.OMNamespace |
createOMNamespace(java.lang.String uri,
java.lang.String prefix)
Creates a new OMNamespace. |
org.apache.axiom.om.OMProcessingInstruction |
createOMProcessingInstruction(org.apache.axiom.om.OMContainer parent,
java.lang.String piTarget,
java.lang.String piData)
|
org.apache.axiom.om.OMText |
createOMText(java.lang.Object dataHandler,
boolean optimize)
Creates a new OMDOM Text node with the given datahandler and the given MTOM optimization configuration and returns it. |
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer parent,
char[] charArary,
int type)
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMText source)
Create OMText node that is a copy of the source text node |
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer parent,
javax.xml.namespace.QName text)
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer parent,
javax.xml.namespace.QName text,
int type)
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer parent,
java.lang.String text)
Creates a new OMDOM Text node with the given value and appends it to the given parent element. |
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer parent,
java.lang.String text,
int type)
|
org.apache.axiom.om.OMText |
createOMText(org.apache.axiom.om.OMContainer parent,
java.lang.String s,
java.lang.String mimeType,
boolean optimize)
Creates an OMDOM Text node, adds it to the give parent element and returns it. |
org.apache.axiom.om.OMText |
createOMText(java.lang.String s)
Creates a OMDOM Text node carrying the given value. |
org.apache.axiom.om.OMText |
createOMText(java.lang.String text,
int type)
Creates a Character node of the given type. |
org.apache.axiom.om.OMText |
createOMText(java.lang.String contentID,
org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMXMLParserWrapper builder)
|
org.apache.axiom.om.OMText |
createOMText(java.lang.String text,
java.lang.String mimeType,
boolean optimize)
Creates a new OMDOM Text node with the value of the given text value along with the MTOM optimization parameters and returns it. |
DocumentImpl |
getDocument()
|
void |
setDocument(DocumentImpl document)
Configure this factory to use the given document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DocumentImpl document
Constructor Detail |
---|
public OMDOMFactory()
public OMDOMFactory(DocumentImpl doc)
Method Detail |
---|
public org.apache.axiom.om.OMDocument createOMDocument()
createOMDocument
in interface org.apache.axiom.om.OMFactory
public void setDocument(DocumentImpl document)
document
- public org.apache.axiom.om.OMElement createOMElement(java.lang.String localName, org.apache.axiom.om.OMNamespace ns)
createOMElement
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMElement createOMElement(java.lang.String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.om.OMContainer parent) throws OMDOMException
createOMElement
in interface org.apache.axiom.om.OMFactory
OMDOMException
public org.apache.axiom.om.OMElement createOMElement(java.lang.String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper builder)
createOMElement
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMElement createOMElement(org.apache.axiom.om.OMDataSource source, java.lang.String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.om.OMContainer parent)
public org.apache.axiom.om.OMSourcedElement createOMElement(org.apache.axiom.om.OMDataSource source, java.lang.String localName, org.apache.axiom.om.OMNamespace ns)
createOMElement
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMElement createOMElement(java.lang.String localName, java.lang.String namespaceURI, java.lang.String namespacePrefix)
createOMElement
in interface org.apache.axiom.om.OMFactory
OMFactory.createOMElement(String, String,
String)
public org.apache.axiom.om.OMElement createOMElement(javax.xml.namespace.QName qname, org.apache.axiom.om.OMContainer parent) throws org.apache.axiom.om.OMException
createOMElement
in interface org.apache.axiom.om.OMFactory
org.apache.axiom.om.OMException
createOMElement(String, OMNamespace, OMContainer)
,
OMFactory.createOMElement( javax.xml.namespace.QName,
org.apache.axiom.om.OMContainer)
public org.apache.axiom.om.OMElement createOMElement(javax.xml.namespace.QName qname) throws org.apache.axiom.om.OMException
createOMElement
in interface org.apache.axiom.om.OMFactory
qname
-
org.apache.axiom.om.OMException
public org.apache.axiom.om.OMNamespace createOMNamespace(java.lang.String uri, java.lang.String prefix)
createOMNamespace
in interface org.apache.axiom.om.OMFactory
OMFactory.createOMNamespace(String, String)
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, java.lang.String text)
createOMText
in interface org.apache.axiom.om.OMFactory
org.apache.axiom.om.OMFactory#createOMText( org.apache.axiom.om.OMElement,String)
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, javax.xml.namespace.QName text)
createOMText
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, javax.xml.namespace.QName text, int type)
createOMText
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, java.lang.String text, int type)
createOMText
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMText source)
createOMText
in interface org.apache.axiom.om.OMFactory
parent
- source
-
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, char[] charArary, int type)
createOMText
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMText createOMText(java.lang.String s)
createOMText
in interface org.apache.axiom.om.OMFactory
OMFactory.createOMText(String)
public org.apache.axiom.om.OMText createOMText(java.lang.String text, int type)
createOMText
in interface org.apache.axiom.om.OMFactory
OMFactory.createOMText(String, int)
public org.apache.axiom.om.OMText createOMText(java.lang.String text, java.lang.String mimeType, boolean optimize)
createOMText
in interface org.apache.axiom.om.OMFactory
OMFactory.createOMText(String, String, boolean)
public org.apache.axiom.om.OMText createOMText(java.lang.Object dataHandler, boolean optimize)
createOMText
in interface org.apache.axiom.om.OMFactory
OMFactory.createOMText(Object, boolean)
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, java.lang.String s, java.lang.String mimeType, boolean optimize)
createOMText
in interface org.apache.axiom.om.OMFactory
OMFactory.createOMText(OMContainer, String,
String, boolean)
public org.apache.axiom.om.OMText createOMText(java.lang.String contentID, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper builder)
createOMText
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMAttribute createOMAttribute(java.lang.String localName, org.apache.axiom.om.OMNamespace ns, java.lang.String value)
createOMAttribute
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMDocType createOMDocType(org.apache.axiom.om.OMContainer parent, java.lang.String content)
createOMDocType
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMProcessingInstruction createOMProcessingInstruction(org.apache.axiom.om.OMContainer parent, java.lang.String piTarget, java.lang.String piData)
createOMProcessingInstruction
in interface org.apache.axiom.om.OMFactory
public org.apache.axiom.om.OMComment createOMComment(org.apache.axiom.om.OMContainer parent, java.lang.String content)
createOMComment
in interface org.apache.axiom.om.OMFactory
public DocumentImpl getDocument()
public org.apache.axiom.om.OMDocument createOMDocument(org.apache.axiom.om.OMXMLParserWrapper builder)
createOMDocument
in interface org.apache.axiom.om.OMFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |