Uses of Interface
org.apache.axiom.om.OMElement
Packages that use OMElement
Package
Description
Contains core interfaces of the Axiom API.
-
Uses of OMElement in org.apache.axiom.om
Subinterfaces of OMElement in org.apache.axiom.omModifier and TypeInterfaceDescriptioninterfaceElement whose data is backed by an arbitrary Java object.Methods in org.apache.axiom.om that return OMElementModifier and TypeMethodDescriptionOMElement.cloneOMElement()Clones this element.OMFactory.createOMElement(String localName, String namespaceURI, String namespacePrefix) Create an element with the given name.OMFactory.createOMElement(String localName, OMNamespace ns) Create an element with the given name.OMFactory.createOMElement(String localName, OMNamespace ns, OMContainer parent) OMFactory.createOMElement(String localName, OMNamespace ns, OMContainer parent, OMXMLParserWrapper builder) OMFactory.createOMElement(QName qname) Create an element with the givenQName.OMFactory.createOMElement(QName qname, OMContainer parent) Create an OMElement with the given QName under the given parent.OMXMLParserWrapper.getDocumentElement()Get the document element, i.e.OMXMLParserWrapper.getDocumentElement(boolean discardDocument) Get the document element, optionally discarding the document.OMContainer.getFirstChildWithName(QName qname) Returns the first child in document order that matches the given QName.OMElement.getFirstElement()Returns the first child element of the element.OMDocument.getOMDocumentElement()Returns the document element.OMAttribute.getOwner()Returns the owner element of this attributeMethods in org.apache.axiom.om with parameters of type OMElementModifier and TypeMethodDescriptionvoidDiscards 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 OMElementModifier and TypeMethodDescriptionByteArrayCustomBuilder.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 OMElementModifier and TypeMethodDescriptionCustomBuilder.create(String namespace, String localPart, OMContainer parent, XMLStreamReader reader, OMFactory factory) Create an OMElement for this whole subtree.protected OMElementSAXOMBuilder.createNextElement(String localName) StAXOMBuilder.getDocumentElement()StAXOMBuilder.getDocumentElement(boolean discardDocument) SAXOMBuilder.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 OMElementModifier and TypeMethodDescriptionvoidMethod 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 OMElementModifierConstructorDescriptionStAXOMBuilder(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 OMElementConstructors in org.apache.axiom.om.impl.jaxp with parameters of type OMElement -
Uses of OMElement in org.apache.axiom.om.impl.serialize
Methods in org.apache.axiom.om.impl.serialize with parameters of type OMElementModifier and TypeMethodDescriptionvoidOMXMLReader.AttributesAdapter.setAttributes(OMElement element) Constructors in org.apache.axiom.om.impl.serialize with parameters of type OMElement -
Uses of OMElement in org.apache.axiom.om.impl.traverse
Constructors in org.apache.axiom.om.impl.traverse with parameters of type OMElementModifierConstructorDescriptionOMChildElementIterator(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 OMElementModifier and TypeMethodDescriptionstatic 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 OMElementModifier and TypeMethodDescriptionstatic 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(String xmlFragment, boolean withSecRestrictions) Create an OMElement from an XML fragment given as a string with secure processing option.static OMElementAXIOMUtil.stringToOM(OMFactory omFactory, String xmlFragment) Create an OMElement from an XML fragment given as a string.static OMElementAXIOMUtil.stringToOM(OMFactory omFactory, String xmlFragment, boolean withSecRestrictions) Create an OMElement from an XML fragment given as a string.Methods in org.apache.axiom.om.util with parameters of type OMElementModifier and TypeMethodDescriptionDigestGenerator.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[]This method is an overloaded method for the digest generation for OMElementDigestGenerator.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 longWrites the om to a log.debug.static longWrites 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 OMElementModifierConstructorDescriptionElementHelper(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 OMElementModifier and TypeMethodDescriptionvoidAXIOMXPath.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 OMElementModifierConstructorDescriptionAXIOMXPath(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.soapModifier and TypeInterfaceDescriptioninterfaceAn object that represents the contents of the SOAP body element in a SOAP message.interfaceInterface SOAPEnvelopeinterfaceAn element in theSOAPBodyobject that contains error and/or status information.interfaceCommon superinterface forSOAPFaultCodeandSOAPFaultSubCode.interfaceinterfaceThe Detail element information item is intended for carrying application specific error information related to the SOAP Body .interfaceinterfaceinterfaceThe Role element information item identifies the role the node was operating in at the point the fault occurred.interfaceinterfaceinterfaceinterfaceInterface SOAPHeaderinterfaceAn object representing the contents in the SOAP header part of the SOAP envelope.Methods in org.apache.axiom.soap with parameters of type OMElementModifier and TypeMethodDescriptionvoidSOAPFaultDetail.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 OMElementModifier and TypeMethodDescriptionprotected OMElementStAXSOAPModelBuilder.constructNode(OMElement parent, String elementName, boolean isEnvelope) Method constructNodeStAXSOAPModelBuilder.getDocumentElement()Method getDocumentElement.SOAP11BuilderHelper.handleEvent(XMLStreamReader parser, OMElement parent, int elementLevel) SOAP12BuilderHelper.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 OMElementModifier and TypeMethodDescriptionprotected OMElementStAXSOAPModelBuilder.constructNode(OMElement parent, String elementName, boolean isEnvelope) Method constructNodeSOAP11BuilderHelper.handleEvent(XMLStreamReader parser, OMElement parent, int elementLevel) SOAP12BuilderHelper.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)