Uses of Interface
org.apache.axiom.om.OMElement
-
Packages that use OMElement Package Description org.apache.axiom.om Contains core interfaces of the Axiom API.org.apache.axiom.om.ds.custombuilder org.apache.axiom.om.impl.builder org.apache.axiom.om.impl.jaxp org.apache.axiom.om.impl.serialize org.apache.axiom.om.impl.traverse org.apache.axiom.om.impl.util org.apache.axiom.om.util org.apache.axiom.om.xpath org.apache.axiom.soap org.apache.axiom.soap.impl.builder -
-
Uses of OMElement in org.apache.axiom.om
Subinterfaces of OMElement in org.apache.axiom.om Modifier and Type Interface Description interfaceOMSourcedElementElement whose data is backed by an arbitrary Java object.Methods in org.apache.axiom.om that return OMElement Modifier and Type Method Description OMElementOMElement. cloneOMElement()Clones this element.OMElementOMFactory. createOMElement(String localName, String namespaceURI, String namespacePrefix)Create an element with the given name.OMElementOMFactory. createOMElement(String localName, OMNamespace ns)Create an element with the given name.OMElementOMFactory. createOMElement(String localName, OMNamespace ns, OMContainer parent)OMElementOMFactory. createOMElement(String localName, OMNamespace ns, OMContainer parent, OMXMLParserWrapper builder)OMElementOMFactory. createOMElement(QName qname)Create an element with the givenQName.OMElementOMFactory. createOMElement(QName qname, OMContainer parent)Create an OMElement with the given QName under the given parent.OMElementOMXMLParserWrapper. getDocumentElement()Get the document element, i.e.OMElementOMXMLParserWrapper. getDocumentElement(boolean discardDocument)Get the document element, optionally discarding the document.OMElementOMContainer. getFirstChildWithName(QName qname)Returns the first child in document order that matches the given QName.OMElementOMElement. getFirstElement()Returns the first child element of the element.OMElementOMDocument. getOMDocumentElement()Returns the document element.OMElementOMAttribute. getOwner()Returns the owner element of this attributeMethods in org.apache.axiom.om with parameters of type OMElement Modifier and Type Method Description voidOMXMLParserWrapper. discard(OMElement el)Discards the current element.voidOMDocument. setOMDocumentElement(OMElement rootElement)Sets the document element of the XML document. -
Uses of OMElement in org.apache.axiom.om.ds.custombuilder
Methods in org.apache.axiom.om.ds.custombuilder that return OMElement Modifier and Type Method Description OMElementByteArrayCustomBuilder. create(String namespace, String localPart, OMContainer parent, XMLStreamReader reader, OMFactory factory) -
Uses of OMElement in org.apache.axiom.om.impl.builder
Methods in org.apache.axiom.om.impl.builder that return OMElement Modifier and Type Method Description OMElementCustomBuilder. create(String namespace, String localPart, OMContainer parent, XMLStreamReader reader, OMFactory factory)Create an OMElement for this whole subtree.protected OMElementSAXOMBuilder. createNextElement(String localName)OMElementStAXOMBuilder. getDocumentElement()OMElementStAXOMBuilder. getDocumentElement(boolean discardDocument)OMElementSAXOMBuilder. getRootElement()Get the root element of the Axiom tree built by this content handler.Methods in org.apache.axiom.om.impl.builder with parameters of type OMElement Modifier and Type Method Description voidStAXBuilder. discard(OMElement element)Method discard.protected voidStAXBuilder. processAttributes(OMElement node)Method processAttributes.protected abstract voidStAXBuilder. processNamespaceData(OMElement node)Method processNamespaceData.protected voidStAXOMBuilder. processNamespaceData(OMElement node)Method processNamespaceData.Constructors in org.apache.axiom.om.impl.builder with parameters of type OMElement Constructor Description StAXOMBuilder(OMFactory factory, XMLStreamReader parser, OMElement element)Constructor linked to existing element.StAXOMBuilder(OMFactory factory, XMLStreamReader parser, OMElement element, String characterEncoding)Constructor linked to existing element.XOPAwareStAXOMBuilder(OMFactory factory, XMLStreamReader parser, OMElement element, Attachments attachments)Constructor linked to existing element. -
Uses of OMElement in org.apache.axiom.om.impl.jaxp
Methods in org.apache.axiom.om.impl.jaxp that return OMElement Modifier and Type Method Description OMElementOMResult. getRootElement()Constructors in org.apache.axiom.om.impl.jaxp with parameters of type OMElement Constructor Description OMSource(OMElement element) -
Uses of OMElement in org.apache.axiom.om.impl.serialize
Methods in org.apache.axiom.om.impl.serialize with parameters of type OMElement Modifier and Type Method Description voidOMXMLReader.AttributesAdapter. setAttributes(OMElement element)Constructors in org.apache.axiom.om.impl.serialize with parameters of type OMElement Constructor Description OMXMLReader(OMElement element) -
Uses of OMElement in org.apache.axiom.om.impl.traverse
Constructors in org.apache.axiom.om.impl.traverse with parameters of type OMElement Constructor Description OMChildElementIterator(OMElement currentChild)Constructor OMChildrenIterator. -
Uses of OMElement in org.apache.axiom.om.impl.util
Methods in org.apache.axiom.om.impl.util with parameters of type OMElement Modifier and Type Method Description static voidOMSerializerUtil. serializeAttributes(OMElement element, XMLStreamWriter writer)Deprecated.Consider using serializeStartpart insteadstatic voidOMSerializerUtil. serializeByPullStream(OMElement element, XMLStreamWriter writer)static voidOMSerializerUtil. serializeByPullStream(OMElement element, XMLStreamWriter writer, boolean cache)static voidOMSerializerUtil. serializeNamespaces(OMElement element, XMLStreamWriter writer)Deprecated.Use serializeStartpart insteadstatic voidOMSerializerUtil. serializeNormal(OMElement element, XMLStreamWriter writer, boolean cache)Method serializeNormal.static voidOMSerializerUtil. serializeStartpart(OMElement element, String localName, XMLStreamWriter writer)Method serializeStartpart.static voidOMSerializerUtil. serializeStartpart(OMElement element, XMLStreamWriter writer)Method serializeStartpart. -
Uses of OMElement in org.apache.axiom.om.util
Methods in org.apache.axiom.om.util that return OMElement Modifier and Type Method Description static OMElementElementHelper. getChildWithName(OMElement parent, String childName)Deprecated.please use OMElement.getFirstChildWithName(qname) instead!static OMElementElementHelper. importOMElement(OMElement omElement, OMFactory omFactory)Some times two OMElements needs to be added to the same object tree.static OMElementAXIOMUtil. stringToOM(String xmlFragment)Create an OMElement from an XML fragment given as a string.static OMElementAXIOMUtil. stringToOM(OMFactory omFactory, String xmlFragment)Create an OMElement from an XML fragment given as a string.Methods in org.apache.axiom.om.util with parameters of type OMElement Modifier and Type Method Description CollectionDigestGenerator. getAttributesWithoutNS(OMElement element)Gets the collection of attributes which are none namespace declarations for an OMElementstatic OMElementElementHelper. getChildWithName(OMElement parent, String childName)Deprecated.please use OMElement.getFirstChildWithName(qname) instead!byte[]DigestGenerator. getDigest(OMElement element, String digestAlgorithm)This method is an overloaded method for the digest generation for OMElementStringDigestGenerator. getExpandedName(OMElement element)This method is an overloaded method for getting the expanded name namespaceURI followed by the local name for OMElementstatic ReaderElementHelper. getTextAsStream(OMElement element, boolean cache)Returns a stream representing the concatenation of the text nodes that are children of a given element.static voidAttributeHelper. importOMAttribute(OMAttribute omAttribute, OMElement omElement)In Axiom, a single tree should always contain objects created from the same type of factory (eg: LinkedListImplFactory, DOMFactory, etc.,).static OMElementElementHelper. importOMElement(OMElement omElement, OMFactory omFactory)Some times two OMElements needs to be added to the same object tree.static longCommonUtils. logDebug(OMElement om, org.apache.commons.logging.Log log)Writes the om to a log.debug.static longCommonUtils. logDebug(OMElement om, org.apache.commons.logging.Log log, int limit)Writes the om to a log.debug.static longCommonUtils. logDebug(OMElement om, org.apache.commons.logging.Log log, int limit, OMOutputFormat format)Writes the om to a log.debug.static voidElementHelper. setNewElement(OMElement parent, OMElement myElement, OMElement newElement)static SOAPHeaderBlockElementHelper. toSOAPHeaderBlock(OMElement omElement, SOAPFactory factory)This is a method to convert regular OMElements to SOAPHeaderBlocks.static voidElementHelper. writeTextTo(OMElement element, Writer out, boolean cache)Write the content of the text nodes that are children of a given element to aWriter.Constructors in org.apache.axiom.om.util with parameters of type OMElement Constructor Description ElementHelper(OMElement element)Constructs and binds to an element. -
Uses of OMElement in org.apache.axiom.om.xpath
Methods in org.apache.axiom.om.xpath with parameters of type OMElement Modifier and Type Method Description voidAXIOMXPath. addNamespaces(OMElement element)Add the namespace declarations of a givenOMElementto the namespace context of an XPath expression.Constructors in org.apache.axiom.om.xpath with parameters of type OMElement Constructor Description AXIOMXPath(OMElement element, String xpathExpr)Construct an XPath expression from a given string and initialize its namespace context based on a given element. -
Uses of OMElement in org.apache.axiom.soap
Subinterfaces of OMElement in org.apache.axiom.soap Modifier and Type Interface Description interfaceSOAPBodyAn object that represents the contents of the SOAP body element in a SOAP message.interfaceSOAPEnvelopeInterface SOAPEnvelopeinterfaceSOAPFaultAn element in theSOAPBodyobject that contains error and/or status information.interfaceSOAPFaultClassifierCommon superinterface forSOAPFaultCodeandSOAPFaultSubCode.interfaceSOAPFaultCodeinterfaceSOAPFaultDetailThe Detail element information item is intended for carrying application specific error information related to the SOAP Body .interfaceSOAPFaultNodeinterfaceSOAPFaultReasoninterfaceSOAPFaultRoleThe Role element information item identifies the role the node was operating in at the point the fault occurred.interfaceSOAPFaultSubCodeinterfaceSOAPFaultTextinterfaceSOAPFaultValueinterfaceSOAPHeaderInterface SOAPHeaderinterfaceSOAPHeaderBlockAn object representing the contents in the SOAP header part of the SOAP envelope.Methods in org.apache.axiom.soap with parameters of type OMElement Modifier and Type Method Description voidSOAPFaultDetail. addDetailEntry(OMElement detailElement)Eran Chinthaka (chinthaka@apache.org) -
Uses of OMElement in org.apache.axiom.soap.impl.builder
Methods in org.apache.axiom.soap.impl.builder that return OMElement Modifier and Type Method Description protected OMElementStAXSOAPModelBuilder. constructNode(OMElement parent, String elementName, boolean isEnvelope)Method constructNodeOMElementStAXSOAPModelBuilder. getDocumentElement()Method getDocumentElement.OMElementSOAP11BuilderHelper. handleEvent(XMLStreamReader parser, OMElement parent, int elementLevel)OMElementSOAP12BuilderHelper. handleEvent(XMLStreamReader parser, OMElement parent, int elementLevel)abstract OMElementSOAPBuilderHelper. handleEvent(XMLStreamReader parser, OMElement element, int elementLevel)Methods in org.apache.axiom.soap.impl.builder with parameters of type OMElement Modifier and Type Method Description protected OMElementStAXSOAPModelBuilder. constructNode(OMElement parent, String elementName, boolean isEnvelope)Method constructNodeOMElementSOAP11BuilderHelper. handleEvent(XMLStreamReader parser, OMElement parent, int elementLevel)OMElementSOAP12BuilderHelper. handleEvent(XMLStreamReader parser, OMElement parent, int elementLevel)abstract OMElementSOAPBuilderHelper. handleEvent(XMLStreamReader parser, OMElement element, int elementLevel)protected voidSOAPBuilderHelper. processAttributes(OMElement node)protected voidSOAPBuilderHelper. processNamespaceData(OMElement node, boolean checkSOAPNamespace)protected voidStAXSOAPModelBuilder. processNamespaceData(OMElement node, boolean isSOAPElement)Method processNamespaceData.protected voidStAXSOAPModelBuilder. setSOAPEnvelope(OMElement node)
-