|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Writer
implementations that decode data in base64.OutputStream
implementations that encode data in base64.NamespaceContext
implementation that takes care of the
implicit namespace bindings (for the xml and xmlns
prefixes) defined in the NamespaceContext
Javadoc.OMDataSourceExt
implementations.OMDataSourceExt
implementations that can easily produce the content as an
XMLStreamReader
and that don't implement any kind of optimization for serializing the
content.OMDataSourceExt
implementations that can easily serialize the content to
an XMLStreamWriter
but that are unable to produce the content as an
XMLStreamReader
.XMLReader
interface.XMLStreamReader
interface.XMLStreamWriter
interface.SOAPFault
object and adds it to this SOAPBody
object.
SOAPHeaderBlock
object initialized with the specified name and adds it
to this SOAPHeader
object.
OMElement
to the namespace
context of an XPath expression.
AttrImpl
.
MultipartWriter
implementation.Base64Utils
instead.Writer
implementation that decodes base64 data and writes it
to a an OutputStream
.OutputStream
implementation that writes base64 encoded data to another
OutputStream
using ASCII encoding.OutputStream
implementation that writes base64 encoded data to a StringBuffer
or
StringBuilder
.OutputStream
implementation that writes base64 encoded data to a Writer
.Blob
.OMXMLParserWrapper
from a given test file.element
.
element
.
CDATASection
.
CDATASection
.
XMLStreamReader
implementations that support writing character data directly to a
Writer
.Comment
.
Comment
.
OMMultipartWriter
instead.
OMMultipartWriter
instead.
OMElement
implementation for the current element.
OMInformationItem.clone(OMCloneOptions)
on the source
SOAPEnvelope
with the following options enabled:
OMCloneOptions.setFetchDataHandlers(boolean)
OMCloneOptions.setPreserveModel(boolean)
OMCloneOptions.setCopyOMDataSources(boolean)
OMInformationItem.clone(OMCloneOptions)
directly and fine tune the
options for the particular use case.
MIMEOutputUtils.writeBodyPart(OutputStream, MimeBodyPart, String)
, which is deprecated.
MIMEOutputUtils.writeBodyPart(OutputStream, MimeBodyPart, String)
, which is deprecated.
MultipartWriter
instance that writes a MIME multipart package to a given
output stream.
StAXUtils.createXMLStreamReader(StAXParserConfiguration, InputStream, String)
with StAXParserConfiguration.STANDALONE
StAXUtils.createXMLStreamReader(StAXParserConfiguration, InputStream)
with StAXParserConfiguration.STANDALONE
StAXUtils.createXMLStreamReader(StAXParserConfiguration, Reader)
with StAXParserConfiguration.STANDALONE
Source
.
SAXSource
.
StAXParserConfiguration.DEFAULT
.
StAXParserConfiguration.DEFAULT
.
StAXParserConfiguration.DEFAULT
.
StAXParserConfiguration.DEFAULT
.
StAXParserConfiguration.DEFAULT
.
StAXParserConfiguration.DEFAULT
.
Source
.
SAXSource
.
Source
using a specified object model factory.
SAXSource
using a specified object model factory.
Attachments
object and with a
given parser configuration.
Attachments
object using a
specified object model factory and with a given parser configuration.
QName
and parent.
QName
.
OMElement
.
createOMElement
methods in OMFactory
.OMNamespace
instance or retrieve an existing one if the factory supports
pooling.
OMText
node with the given value and appends it to the given parent
element.
OMText
node supporting deferred loading of the content.
SOAPHeaderBlock
from an OMDataSource
.
SOAPHeaderBlock
from an OMDataSource
with a known local name and
namespace URI.
SOAPMessage
not linked to a particular SOAPFactory
.
Attachments
object.
Attachments
object using a
particular Axiom implementation.
XMLStreamReader
implementations that expose
base64 encoded binary content as DataHandler
objects.DataHandlerReader
extension of the parser, or null
if
the parser doesn't support this extension.
XMLStreamReaderUtils
instead.DataHandler
wrappers.XMLStreamWriter
implementations that can
receive base64 encoded binary content as DataHandler
objects.DataSource
objects.OMMetaFactoryLocator
implementation used in non OSGi environments.XMLStreamReader
classes that delegate to another stream reader
and that can be safely unwrapped.DataHandlerExt.readOnce()
or DataHandlerExt.purgeDataSource()
instead.
OMNode.discard()
to discard elements.
DocumentFragment
.
Document
.
DocumentType
.
OMXMLParserWrapper
by parsing the input using DOM and passing it as a DOM
tree to Axiom.
OMMetaFactory
implementations that support
OMAbstractFactory.FEATURE_DOM
.DTD
.
XMLStreamReader
implementations that provide additional
data about XMLStreamConstants.DTD
events.Location
implementation.Element
.
DummyLocation.INSTANCE
insteadDataHandler
as a string.
DataHandler
as a char array.
Entity
.
EntityReference
.
Entity Reference
.
SOAPHeaderBlock
objects in this SOAPHeader
object.
SOAPHeaderBlock
objects in this SOAPHeader
object
that have the the specified role.
SOAPHeaderBlock
objects in this SOAPHeader
object that have the specified role and that have a MustUnderstand attribute whose
value is equivalent to true
.
SOAPHeaderBlock
objects in this SOAPHeader
object and detaches them from this SOAPHeader
object.
SOAPHeaderBlock
objects in this SOAPHeader
object
that have the the specified role and detaches them from this SOAPHeader
object.
OMContainerFactory.getContainer(OMXMLParserWrapper)
.
OMMultipartWriter
instead.
Iterator
matching the ancestor
XPath axis.
Iterator
matching the ancestor-or-self
XPath axis.
AttachmentUnmarshaller
to be configured on the Unmarshaller
.
Iterator
matching the attribute
XPath axis.
SOAPBody
object associated with this SOAPEnvelope
object.
Iterator
matching the child
XPath axis.
OMContainer
from the given test file.
ElementHelper.getContentID(XMLStreamReader)
instead (see AXIOM-129)
OMContainerFactory.getContainer(OMXMLParserWrapper)
.
DataHandler
object for the MIME part with a given content ID.
DataHandler
object for the binary content.
DataHandler
with the binary content for the current event.
DataHandler
for the MIME part identified by a given content ID.
DataHandler
for the binary data encoded in an element.
DataHandlerProvider
instance for deferred loading of the binary content for the
current event.
DataHandlerReader
extension for a given XMLStreamReader
, if
available.
DataHandlerWriter
extension for a given XMLStreamWriter
.
Iterator
matching the descendant-or-self
XPath axis.
DOMImplementation
instance.
Reader
object.
XMLEventUtils.getEventTypeString(int)
instead
SOAPFault
object in this SOAPBody
object.
Iterator
matching the following
XPath axis.
Iterator
matching the following-sibling
XPath axis.
SOAPHeader
object for this SOAPEnvelope
object.
RolePlayer
.
OMMetaFactory
from which this factory was obtained.
SOAPHeaderBlock
object is
turned on.
Iterator
matching the namespace
XPath axis.
StAXUtils.getXMLInputFactory(StAXParserConfiguration)
with
StAXParserConfiguration.STANDALONE
Node.getNodeValue()
and will be removed in
Axiom 1.3. Please use SOAPFaultNode.getFaultNodeValue()
instead.
OMFactory
that created this information item.
OMMetaFactory
for the given feature.
XMLStreamReader
.
OutputStream
for this writer, if available.
Iterator
matching the parent
XPath axis.
XMLStreamReader
used by this builder.
Iterator
matching the preceding
XPath axis.
Iterator
matching the preceding-sibling
XPath axis.
SOAPHeaderBlock.isProcessed()
flag should be set on cloned
SOAPHeaderBlock
nodes.
XMLStreamReader
to be passed to the Unmarshaller
.
SOAPHeaderBlock
object.
SOAPHeaderBlock
object.
OMOutputFormat
passed
to the constructor of this object.
SAXSource
representation for this node.
Iterator
matching the self
xpath axis.
DataSource
object.
Attachments.getRootPartContentID()
instead.
Attachments.getRootPartContentType()
instead.
Attachments.getRootPartInputStream()
instead.
QName
.
OMElement.getTextAsQName()
to get the QName value of an element.
OMElement.getTextAsStream(boolean)
instead.
Unmarshaller
to perform XOP/MTOM processing on an
XMLStreamReader
that exposes the DataHandlerReader
extension.
SOAPFaultValue
for this fault code or subcode.
XMLInputFactory
instance using the default
configuration and cache policy (i.e. one instance per class loader).
XMLInputFactory
instance using the specified
configuration and the default cache policy.
XMLInputFactory
instance using the default
configuration and the specified cache policy.
XMLInputFactory
instance using the specified
configuration and cache policy.
XMLOutputFactory
instance using the default
configuration and cache policy (i.e. one instance per class loader).
XMLOutputFactory
instance using the specified
configuration and the default cache policy.
XMLOutputFactory
instance using the default
configuration and the specified cache policy.
XMLOutputFactory
instance using the specified
configuration and cache policy.
XMLStreamException
.
SOAPFault
object exists in this SOAPBody
object.
XMLInputFactory
so that its state can no longer be changed.XMLOutputFactory
so that its state (i.e. its properties) can no longer be
changed.XMLStreamConstants.CHARACTERS
event representing base64 encoded binary content and for which a
DataHandler
is available.
OMSourcedElement
nodes should be cloned as OMSourcedElement
nodes by copying the corresponding OMDataSource
objects.
XMLStreamReader
supports deferred loading of the
binary content for the current event.
DataHandler
objects should be fetched when cloning OMText
nodes.
OMXMLStreamReader.setInlineMTOM(boolean)
for more details.
DataHandler
has already been loaded.
XMLStreamReader
should be interned.
DataHandler
should be
optimized.
DataHandlerProvider
should
be optimized.
XMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, DataHandler, String, boolean)
or XMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, DataHandlerProvider, String, boolean)
to submit any binary content and let this writer decide whether the content should be
written as base64 encoded character data or using xop:Include. If this is not
possible, then MTOMXMLStreamWriter.prepareDataHandler(DataHandler)
should be used.
All the aforementioned methods take into account the settings defined in
OMOutputFormat
to determine whether the binary data should be optimized or not.
Therefore, there is not need for this method anymore.
StAXDialect
, and this method always returns
false
.
OMElement
as a child of
another container.
OMElement
in the default
namespace, i.e. with an empty prefix.
MultipartWriter
implementation.OMDataSource
backed by a JAXB object.OMMetaFactory
instance for the Axiom implementation.
OMSourcedElement
with unknown prefix, use
OMFactory.createOMElement(OMDataSource, String, OMNamespace)
and pass
null
as prefix.
XMLInputFactory
object thread safe.
XMLOutputFactory
object thread safe.
Map
.OMMultipartWriter
, which
has as cleaner API and supports streaming of individual MIME parts, in particular the
SOAP part.XOPDecodingStreamReader
to load MIME parts referenced by
xop:Include elements.MTOM_TYPE
MultipartWriter
instances.XMLStreamReader
wrapper that filters out all namespace declarations.DocumentBuilderFactory
.
XMLInputFactory
.
XMLOutputFactory
.
XMLInputFactory
and normalize it.
XMLOutputFactory
and normalize it.
Notation
.
OMAttachmentAccessor
instance to the MimePartProvider
interface.OMElement.getChildElements()
, and this class should never be referenced
directly. It will be removed in Axiom 1.3.OMContainer.getChildrenWithLocalName(String)
, and this class should never be
referenced directly. It will be removed in Axiom 1.3.OMContainer.getChildrenWithNamespaceURI(String)
, and this class should never
be referenced directly. It will be removed in Axiom 1.3.OMContainer.getChildrenWithName(QName)
, and this class should never be
referenced directly. It will be removed in Axiom 1.3.OMContainer
instance from a test file.OMDataSource
implementations. Instead, use AbstractOMDataSource
,
AbstractPullOMDataSource
or AbstractPushOMDataSource
.OMContainer.getDescendants(boolean)
, and this class should never be
referenced directly. It will be removed in Axiom 1.3.OMMetaFactory
for a given Axiom implementation.OMAbstractFactory
to locate the OMMetaFactory
for a given
feature.OMNamespace
instances should always be created using
OMFactory.createOMNamespace(String, String)
. This class will be removed in
Axiom 1.3.QName
equality,
i.e. namespace URI and local name.Result
for AXIOM.Source
for AXIOM.XMLReader
implementation that traverses a given OM tree and invokes the
callback methods on the configured ContentHandler
.OMContainer.getXMLStreamReader(boolean, OMXMLStreamReaderConfiguration)
.java.io
.OMDataSource
implementations.NamespaceContext
and
QName
.OMXMLParserWrapper
directly from the given InputSource
, i.e. let
instantiate an appropriate parser.
ProcessingInstruction
.
inclusiveNamespaces
String and returns all
selected namespace prefixes as a Set.
DataHandler
for serialization without using the DataHandlerWriter
API.
XMLStreamReader.getProperty(String)
.
ProcessingInstruction
.
XMLStreamReader
implementation.
XMLStreamReader
implementation.
XMLStreamWriter
implementation.
XMLStreamReader
implementation.
OMDataSource
implementations that have knowledge about
the local name, namespace URI and/or namespace prefix of the element they represent.OutputStream
implementations that support
transferring data from an InputStream
.InputStream
that consumes the content of this data handler.
QName
object.
OMXMLParserWrapper
by passing a SAXSource
to Axiom.
SAXSource
and use
OMXMLBuilderFactory.createOMBuilder(OMFactory, SAXSource, boolean)
.
SAXSource
and use
OMXMLBuilderFactory.createOMBuilder(SAXSource, boolean)
.
NamespaceContext
implementation that supports nested scopes.OMElement
.
OMElement
.
OMElement
.
OMElement
.
XMLStreamWriter
.
OMElement
.
OMElement
.
OMElement
.
OMElement
.
OMSourcedElement
nodes should be cloned as OMSourcedElement
nodes by copying the corresponding OMDataSource
objects.
DataHandler
objects should be fetched when cloning OMText
nodes.
XOPEncodingStreamReader
or
use the more generic XOPUtils.getXOPEncodedStream(XMLStreamReader)
method.
This method introduces unnecessary complexity in the XMLStreamReader
implementation used by Axiom and will be removed in a future release.
SOAPHeaderBlock
object to be on or
off.
XMLStreamReader
should be interned.
Node.setNodeValue(String)
and will be removed
in Axiom 1.3. Please use SOAPFaultNode.setFaultNodeValue(String)
instead.
SOAPHeaderBlock.isProcessed()
flag should be set on cloned
SOAPHeaderBlock
nodes.
SOAPHeaderBlock
object to the specified
actor.
XMLStreamWriter
from StAXUtils
.
QName
.
SizeAwareDataSource
SOAPBody
object that contains error and/or status information.SOAPFaultCode
and SOAPFaultSubCode
.OMXMLParserWrapper
.OMMultipartWriter
instead.
SWA_TYPE
OMElement.addAttribute(OMAttribute)
with an attribute that is already
owned by the element is a no-op.OMElement.addAttribute(OMAttribute)
with an attribute that is already
owned by another element will clone the attribute.OMElement.addAttribute(org.apache.axiom.om.OMAttribute)
is called
multiple times for attributes with different namespaces, each call adds a corresponding namespace
declaration.OMElement.addAttribute(OMAttribute)
.OMElement.addAttribute(OMAttribute)
behaves correctly when an attribute with
the same name and namespace URI already exists.OMElement.addAttribute(String, String, OMNamespace)
behaves correctly when an
attribute with the same name and namespace URI already exists.OMElement.addAttribute(OMAttribute)
doesn't create an additional namespace declaration if
a corresponding declaration is already in scope.OMElement.addAttribute(OMAttribute)
doesn't create an additional namespace
declaration if a corresponding declaration already exists on the element.OMElement.addAttribute(OMAttribute)
correctly generates a
new namespace declaration if an equivalent namespace declaration exists but is masked.OMElement.addAttribute(OMAttribute)
adds a namespace declaration if the
attribute has a namespace and a corresponding namespace declaration doesn't exist yet.OMElement.addAttribute(OMAttribute)
doesn't add any namespace declarations if the
attribute has no namespace.OMContainer.addChild(OMNode)
automatically adopts (in the sense of DOM) the
child node if it doesn't have the same owner document.OMContainer.addChild(OMNode)
if the parent has not been built
completely.OMContainer.addChild(OMNode)
if the parent has not been built
completely.OMContainer.addChild(org.apache.axiom.om.OMNode)
behaves
correctly if the child to be added already has a parent.OMContainer.addChild(OMNode)
when used to add a node to an element
it is already a child of.SOAPHeader.addHeaderBlock(String, OMNamespace)
when passing a
null
value for the OMNamespace
parameter.SOAPHeader.addHeaderBlock(String, OMNamespace)
when passing an
OMNamespace
object with an empty namespace URI.Document.adoptNode(Node)
.Document.adoptNode(Node)
if the node is
already owned by the document.Document.adoptNode(Node)
if the node to adopt has a parent.Node.appendChild(Node)
throws an appropriate exception if the invocation would
result in a cyclic relationship.Node.appendChild(Node)
if the parent has not been built completely.Node.appendChild(Node)
throws an appropriate exception if an attempt is made
to add a node as a child of itself.Node.appendChild(Node)
throws an appropriate exception if an attempt is made to
append a child that has a different owner document.Node.appendChild(Node)
throws an appropriate exception if an attempt is made to
append a child that has a different owner document.OMText
node is serialized by the SAXSource
returned by
OMContainer.getSAXSource(boolean)
, the implementation doesn't construct an in-memory
base64 representation of the complete binary content, but writes it in chunks (streaming).OMText
node is written to an XMLStreamWriter without MTOM support, the
implementation doesn't construct an in-memory base64 representation of the complete binary
content, but writes it in chunks (streaming).SOAPMessage
created by OMInformationItem.clone(OMCloneOptions)
is a SOAPMessage
if and only if OMCloneOptions.isPreserveModel()
is true
.OMInformationItem.clone(OMCloneOptions)
correctly clones a SOAPMessage
that is incomplete.Node.cloneNode(boolean)
on an element that is not completely built.Node.cloneNode(boolean)
correctly clones the attributes of an element.OMElement.cloneOMElement()
has a different owner
document than the original element.OMElement.cloneOMElement()
performs namespace repairing.OMInformationItem.clone(OMCloneOptions)
on an
OMSourcedElement
backed by a non destructive OMDataSource
if the name of the
element is unknown and the OMCloneOptions.setCopyOMDataSources(boolean)
option is
enabled.OMComment
nodes for comments appearing after the
document element.OMComment
nodes for comments in the XML prolog.OMFactory.createOMAttribute(String, OMNamespace, String)
generates a prefix if
an OMNamespace
object with a null prefix and a non empty namespace URI is given.OMFactory.createOMAttribute(String, OMNamespace, String)
if an
OMNamespace
object with a null prefix and an empty namespace URI is given.OMXMLBuilderFactory.createOMBuilder(Node, boolean)
can be used to create a
builder from an Element
and that the resulting Axiom tree corresponds to a the subtree
defined by that element.createOMElement
methods in OMFactory
when
requested to create an element with a namespace but no namespace prefix is given and no matching
namespace declaration is in scope.OMFactory
forbids creating prefixed elements with an empty namespace name.createOMElement
methods in OMFactory
if no
namespace prefix is given and an existing namespace declaration is in scope.createOMElement
methods in OMFactory
if a
namespace prefix is given and an existing namespace declaration for the same URI but a different
prefix is in scope.createOMElement
methods in OMFactory
if an empty
namespace prefix is given and an existing namespace declaration for the same URI but non empty
prefix is in scope.OMFactory.createOMElement(OMDataSource, String, OMNamespace)
if the
data source is null
.OMFactory.createOMElement(OMDataSource, QName)
if the data source
is null
.createOMElement
methods in OMFactory
when
requested to create an element without namespace.createOMElement
methods in OMFactory
when
requested to create an element without namespace as a child of an element that has a default
namespace with a non empty namespace URI.createOMElement
methods in OMFactory
when
requested to create an element without namespace as a child of an element with a
xmlns="" declaration.createOMElement
methods in OMFactory
when
requested to create an element without namespace and the specified namespace prefix is
null
.OMFactory.createOMText(String, int)
creates a node that implements
CDATASection
if the specified type is OMNode.CDATA_SECTION_NODE
.OMFactory.createOMText(OMContainer, String, int)
creates a node that
implements CDATASection
if the specified type is OMNode.CDATA_SECTION_NODE
.OMFactory.createOMText(OMContainer, OMText)
.OMFactory.createOMText(OMContainer, String)
can be used to create an orphaned
node by setting parent
to null
.SOAPFactory.createSOAPEnvelope(OMNamespace)
.SOAPFactory.createSOAPFaultSubCode(SOAPFaultCode)
.OMXMLBuilderFactory.createStAXOMBuilder(OMFactory, XMLStreamReader)
if the supplied XMLStreamReader
is positioned on a
XMLStreamConstants.START_ELEMENT
event.OMXMLBuilderFactory.createStAXOMBuilder(OMFactory, XMLStreamReader)
throws an
exception if the supplied XMLStreamReader
is not positioned on a
XMLStreamConstants.START_DOCUMENT
or XMLStreamConstants.END_DOCUMENT
event.OMMetaFactory.createStAXOMBuilder(OMFactory, XMLStreamReader)
performs
namespace repairing.OMMetaFactory.createStAXOMBuilder(OMFactory, XMLStreamReader)
correctly
performs namespace repairing in cases where a namespace declaration of the form xmlns=""
is required.OMElement.declareDefaultNamespace(String)
throws an exception if an attempt is
made to add a namespace declaration that would conflict with the namespace information of the
element.OMElement.declareDefaultNamespace(String)
throws an exception if an attempt is
made to add a namespace declaration that would conflict with the namespace information of the
element.OMElement.declareNamespace(String, String)
is used to add a
namespace declaration that binds a prefix to an empty namespace URI.OMElement.declareNamespace(OMNamespace)
is used to add a
namespace declaration that binds a prefix to an empty namespace URI.OMElement.declareNamespace(OMNamespace)
generates a new prefix if the prefix
specified in the OMNamespace
object is null
.OMElement.declareNamespace(String, String)
generates a new prefix if the
specified prefix is empty.OMElement.declareNamespace(String, String)
generates a new prefix if the
specified prefix is null
.OMNode.detach()
.OMNode.detach()
, it will
have a new owner document.OMNode.detach()
when used on a SOAPEnvelope
.OMNode.detach()
.OMNode.discard()
on an incomplete OMElement
that is a
document element, i.e. the parent of which is an OMDocument
.OMNode.discard()
on an element that is partially built, more
precisely in a situation where the builder is building a descendant that is not an immediate
child of the element.OMNode.discard()
on a SOAPHeader
that is partially built,
more precisely in a situation where the builder is building a descendant that is not an immediate
child of the header.OMNamespace.equals(String, String)
for an OMNamespace
instance with non null prefix.OMNamespace.equals(String, String)
for an OMNamespace
instance with non prefix.OMFactory
returned by OMMetaFactory
is a singleton.OMMetaFactory
are singletons.OMElement.findNamespace(String, String)
returns null
if the
matching namespace declaration is masked by another namespace declaration, i.e. if the
corresponding prefix is redeclared.OMElement.getAllAttributes()
on a programmatically created document.OMElement.getAllAttributes()
on a parsed document.Iterator.remove()
can be used on the iterator returned by
OMElement.getAllDeclaredNamespaces()
to remove a namespace declaration.DocumentNavigator.getAttributeQName(Object)
returns the correct result for an
attribute with namespace.OMElement.getAttributeValue(QName)
if the element has no attribute
with the given QName.OMElement.getAttributeValue(QName)
works properly for an attribute with the
xml prefix, even if this prefix is not declared explicitly.OMElement.getAttributeValue(QName)
works properly for an attribute with the
xml prefix, even if this prefix is not declared explicitly.OMElement.getAttribute(QName)
works properly for an attribute with the
xml prefix, even if this prefix is not declared explicitly.OMElement.getAttribute(QName)
works properly for an attribute with the
xml prefix, even if this prefix is not declared explicitly.OMDocument.getCharsetEncoding()
on a SOAPMessage
created by a builder.OMElement.getChildElements()
throws a
ConcurrentModificationException
if the current node is removed using a method other than
Iterator.remove()
.OMContainer.getChildren()
throws a
ConcurrentModificationException
if the current node is removed using a method other than
Iterator.remove()
.OMContainer.getChildrenWithName(QName)
returns the
correct element when Iterator.next()
is used without calling Iterator.hasNext()
before.OMContainer.getChildrenWithNamespaceURI(String)
.SOAPFactory.getDefaultEnvelope()
.SOAPFactory.getDefaultFaultEnvelope()
.OMElement.getDefaultNamespace()
in the special case where the
element has no namespace and was created as a child element of an element having a default
namespace with a non empty namespace URI.OMXMLParserWrapper.getDocumentElement()
.OMXMLParserWrapper.getDocumentElement(boolean)
with
discardDocument
set to true
.OMXMLParserWrapper.getDocumentElement()
throws an exception (instead of
returning null
) if the input document has no document element.OMXMLParserWrapper.getDocument()
and OMXMLParserWrapper.getDocumentElement()
throw UnsupportedOperationException
when invoked on the builder
associated with an OMSourcedElement
.DOMConfiguration
object returned by Document.getDomConfig()
is
initialized with the correct default values as defined by the DOM specification.SOAPBody.getFault()
if the SOAPBody
contains a plain
OMElement
with a name corresponding to a SOAP fault.SOAPBody.getFault()
in the case where the body doesn't contain a SOAP fault.OMContainer.getFirstChildWithName(QName)
.OMContainer.getFirstChildWithName(QName)
on an incomplete element.SOAPBody.getFirstElementLocalName()
returns null
if the body is
empty.SOAPBody.getFirstElementLocalName()
, in particular the optimization described by AXIOM-282.SOAPBody.getFirstElementNS()
returns null
if the body is empty.SOAPBody.getFirstElementNS()
, in particular the optimization described by AXIOM-282.OMContainer.getFirstOMChild()
throws the expected
NodeUnavailableException
if the element has been consumed using
OMContainer.getXMLStreamReaderWithoutCaching()
.OMContainer.getFirstOMChild()
throws the expected
NodeUnavailableException
if the element has been discarded before the first child could
be created.SOAPHeader.getHeadersToProcess(RolePlayer, String)
CharacterData.getLength()
returns the expected result.OMFactory.getMetaFactory()
returns the reference of the OMMetaFactory
from which the reference to the OMFactory
was obtained.OMFactory.getMetaFactory()
returns the reference of the OMMetaFactory
from which the reference to the OMFactory
was obtained.OMElement.getNamespaceContext(boolean)
.XMLStreamWriter.getNamespaceContext()
gives access to pre-existing namespace
bindings (defined by the ancestors of the OMSourcedElement
).OMNamedInformationItem.getNamespace()
returns null
for an
attribute without namespace, even if during creation an OMNamespace
object with empty
prefix and namespace URI was given.OMNamedInformationItem.getNamespace()
returns null
for an element
with no namespace.OMNamedInformationItem.getNamespace()
returns null
even if an
OMNamespace
object with empty prefix and namespace URI was passed to
OMFactory.createOMElement(OMDataSource, String, OMNamespace)
.OMNamedInformationItem.getNamespace()
is correctly
normalized for attributes created using Document.createAttributeNS(String, String)
.OMNamedInformationItem.getNamespace()
is correctly
normalized for elements created using Document.createElementNS(String, String)
.OMNamedInformationItem.getNamespace()
returns null
for an
OMSourcedElement
created using OMFactory.createOMElement(OMDataSource, QName)
and
a QName
without namespace.OMNamedInformationItem.getNamespace()
returns null
for an element
with no namespace.OMNamedInformationItem.getNamespace()
returns null
for an element
with no namespace.OMNamespace.getNamespaceURI()
.OMNamedInformationItem.getNamespaceURI()
returns the namespace URI when
invoked on an OMAttribute
that has a namespace.OMNamedInformationItem.getNamespaceURI()
returns the namespace URI when
invoked on an OMElement
that has a namespace.OMNamedInformationItem.getNamespaceURI()
returns null
when
invoked on an OMAttribute
that has no namespace.OMNamedInformationItem.getNamespaceURI()
returns null
when
invoked on an OMElement
that has no namespace.OMNode.getNextOMSibling()
doesn't change the state of an OMSourcedElement
that is expanded but not complete.OMDocument.getOMDocumentElement()
after adding a child element to an
empty document.OMDocument.getOMDocumentElement()
returns null
after the existing
document element has been removed using OMNode.detach()
.OMDocument.getOMDocumentElement()
for an OMDocument
constructed from a stream.OMInformationItem.getOMFactory()
returns the expected instance for a
Document
created with the DocumentBuilder.newDocument()
.OMInformationItem.getOMFactory()
returns the expected instance for a
Document
created with the
DOMImplementation.createDocument(String, String, DocumentType)
.OMInformationItem.getOMFactory()
returns the expected SOAPFactory
when invoked on a SOAPMessage
created by a builder.Node.getOwnerDocument()
returns null
if the node is a
Document
.OMNamespace.getPrefix()
.OMNamedInformationItem.getPrefix()
returns null
when invoked on
an OMElement
that has a namespace without a prefix.OMNamedInformationItem.getPrefix()
returns the prefix when invoked on an
OMAttribute
that has a namespace.OMNamedInformationItem.getPrefix()
returns the prefix when invoked on an
OMElement
that has a namespace with a prefix.OMNamedInformationItem.getPrefix()
returns null
when invoked on
an OMAttribute
that has no namespace.OMNamedInformationItem.getPrefix()
returns null
when invoked on
an OMElement
that has no namespace.OMNamedInformationItem.getQName()
returns the correct value for an attribute (with
namespace) created by OMFactory.createOMAttribute(String, OMNamespace, String)
.OMNamedInformationItem.getQName()
returns the correct value for an attribute (without
namespace) created by OMFactory.createOMAttribute(String, OMNamespace, String)
.OMSourcedElement
if OMDataSource.getReader()
throws an
exception.SOAPEnvelope.getSOAPBodyFirstElementLocalName()
and
SOAPEnvelope.getSOAPBodyFirstElementNS()
for a SOAPEnvelope
constructed from a
parser.OMElement.getText()
when invoked on an element with a single child
of type OMText
.OMElement.getTextAsQName()
for a prefixed QName.OMElement.getTextAsQName()
if the element is empty.OMElement.getTextAsQName()
if the element content has extra
surrounding whitespace.OMText.getTextCharacters()
returns the expected result for an OMText
node backed by a DataHandler
.OMElement.getText()
when invoked on an element containing both a
text node and a CDATA section.OMElement.getText()
when invoked on an element containing a single
CDATA section.SOAPFaultClassifier.getValue()
returns null
when invoked on a
SOAP 1.1 SOAPFaultCode
.SOAPFaultClassifier.getValueAsQName()
on a SOAPFaultCode
.SOAPFaultClassifier.getValueAsQName()
on a SOAPFaultSubCode
.OMContainer.getXMLStreamReader(boolean)
with that of a
native StAX parser.OMContainer.getXMLStreamReader(boolean, OMXMLStreamReaderConfiguration)
with
OMXMLStreamReaderConfiguration.isNamespaceURIInterning()
set to true
.OMContainer.getXMLStreamReaderWithoutCaching()
correctly generated events for
an element that has been partially built.OMContainer.getXMLStreamReaderWithoutCaching()
on a
SOAPEnvelope
with a partially built SOAPHeaderBlock
.OMContainer.getXMLStreamReader(boolean, OMXMLStreamReaderConfiguration)
with
OMXMLStreamReaderConfiguration.isPreserveNamespaceContext()
set to true
.SOAPBody.hasFault()
returns the correct value after a SOAPFault
child
has been replaced by an OMElement
that is not a SOAPFault
.SOAPBody.hasFault()
if the SOAPBody
contains a plain
OMElement
with a name corresponding to a SOAP fault.SOAPBody.hasFault()
doesn't cause expansion of an
OMSourcedElement
with an unknown name that is the first child of the SOAP body.SOAPBody.hasFault()
in the case where the body doesn't contain a SOAP fault.OMNamespace
overrides Object.hashCode()
.Node.insertBefore(Node, Node)
if refChild
is
null
and the parent has not been built completely.OMNode.insertSiblingAfter(OMNode)
.OMNode.insertSiblingAfter(OMNode)
automatically adopts (in the sense of DOM)
the sibling if it doesn't have the same owner document.OMNode.insertSiblingBefore(OMNode)
fails if the node doesn't have a parent.OMNode.insertSiblingBefore(OMNode)
.OMNode.insertSiblingBefore(OMNode)
automatically adopts (in the sense of DOM)
the sibling if it doesn't have the same owner document.OMNode.insertSiblingAfter(OMNode)
fails if the node doesn't have a parent.XMLStreamReader.getText()
.OMSerializable.isComplete()
) is updated
correctly after an incomplete child is added to a programmatically created document.OMSerializable.isComplete()
) is updated
correctly after an incomplete child is added to a programmatically created element.Node.lookupNamespaceURI(String)
on a Document
actually
performs a lookup on the document element as described in appendix B.4 of the DOM Level 3 Core
specification.Node.lookupNamespaceURI(String)
on a DocumentFragment
always
returns null
(in contrast to Document
), even if one of its children has a
matching namespace declaration.Node.lookupNamespaceURI(String)
on an Element
for
namespaces defined explicitly by attributes representing namespace declarations.Node.lookupNamespaceURI(String)
on an Element
for
namespaces defined implicitly by the namespace prefix/URI of the element and its ancestors, i.e.Node.lookupNamespaceURI(String)
on an empty Document
.Node.lookupNamespaceURI(String)
on a Text
node locates
namespace declarations present on an ancestor element of the node.Node.lookupNamespaceURI(String)
on an attribute node that has no
owner element.Node.lookupNamespaceURI(String)
on a Text
node without
parent.OMElement.serializeAndConsume(java.io.OutputStream, OMOutputFormat)
is used to serialize
the message.OMXMLParserWrapper.next()
is called before
OMXMLParserWrapper.getDocumentElement()
.Object.equals(Object)
for OMNamespace
instances with same
namespace URI and prefix.Object.equals(Object)
for OMNamespace
instances with
different prefixes.Object.equals(Object)
for OMNamespace
instances with
different namespace URIs.DocumentBuilder.parse(String)
.StAXBuilder.registerCustomBuilderForPayload(CustomBuilder)
is still taken into
account after using SOAPBody.hasFault()
.OMElement.removeAttribute(OMAttribute)
.OMElement.removeAttribute(OMAttribute)
.Element.removeAttributeNode(Attr)
if the given attribute is not
owned by the element.OMElement.removeAttribute(OMAttribute)
if the given attribute is
not owned by the element.Element.removeAttributeNS(String, String)
can be used to remove a namespace
declaration.Node.removeChild(Node)
on an element that has not been built
completely.OMContainer.removeChildren()
on an OMContainer
.OMContainer.removeChildren()
on an OMElement
.OMContainer.removeChildren()
on an OMSourcedElement
that is not expanded.Node.replaceChild(Node, Node)
if an attempt is made to replace a
child with an ancestor of the node, i.e. if the replacement would create a cycle.Node.replaceChild(Node, Node)
.Node.replaceChild(Node, Node)
on an element that has not been built
completely.Node.replaceChild(Node, Node)
when replacing a child by a
DocumentFragment
.Node.replaceChild(Node, Node)
.Node.replaceChild(Node, Node)
when replacing a child by a
DocumentFragment
.Node.replaceChild(Node, Node)
.Node.replaceChild(Node, Node)
on an element that has not been built
completely.Node.replaceChild(Node, Node)
when replacing a child by a
DocumentFragment
.Node.replaceChild(Node, Node)
if oldChild
is not a
child.Node.replaceChild(Node, Node)
if newChild
is
null
.Node.replaceChild(Node, Node)
.OMElement.resolveQName(String)
if the prefix of the QName is not
bound in the namespace context of the element.OMContainer.serializeAndConsume(java.io.OutputStream)
when invoked on an OMDocument
instance.OMElement.serializeAndConsume(java.io.Writer)
correctly serializes an object
model tree that has been partially built.OMContainer.serializeAndConsume(java.io.Writer)
consumes incomplete descendants,
even if the document itself is complete (more precisely, created programmatically).OMElement.serializeAndConsume(java.io.Writer)
consumes incomplete descendants,
even if the element itself is complete (more precisely, created programmatically).Element.setAttributeNodeNS(Attr)
when the element already has an
attribute with the same local name and namespace URI, i.e. if the call will replace an existing
attribute.Element.setAttributeNS(String, String, String)
if the element
already has an attribute with the same namespace URI and local name.OMNamedInformationItem.setLocalName(String)
on a
OMSourcedElement
is the same on expanded and unexpanded elements.OMElement.setNamespace(OMNamespace)
if no matching namespace
binding is in scope.OMElement.setNamespace(OMNamespace)
when the argument
binds a prefix to the empty namespace name.OMElement.setNamespace(OMNamespace)
if a matching namespace binding
is in scope.OMElement.setNamespace(OMNamespace)
if the OMNamespace
parameter is null
.OMElement.setNamespace(OMNamespace)
if the OMNamespace
object has a null
prefix.OMDocument.setOMDocumentElement(OMElement)
if there is no existing
document element.OMDocument.setOMDocumentElement(OMElement)
with a null
parameter.OMDocument.setOMDocumentElement(OMElement)
if the document already
has a document element.Node.setPrefix(String)
on a text node results in an exception.Node.setPrefix(String)
on an Attr
if the specified
prefix is not null (and not an empty string) and the attribute has a namespace.Node.setPrefix(String)
on an Element
if the specified
prefix is not null (and not an empty string) and the element has a namespace.Node.setPrefix(String)
throws an exception if an attempt is made to set a
prefix on an Attr
that has no namespace.Node.setPrefix(String)
throws an exception if an attempt is made to set a
prefix on an Element
that has no namespace.Node.setPrefix(String)
on an Element
if the specified
prefix is null.OMElement.setText(String)
when invoked on an empty element.OMElement.setText(String)
when invoked with an empty string as
parameter.OMElement.setText(String)
when invoked with a null
parameter.OMElement.setText(QName)
, in particular that it adds a
namespace declaration if necessary.OMElement.setText(String)
when invoked with a null
parameter.OMElement.setText(QName)
if the QName
has a namespace URI
but an empty prefix.OMElement.setText(QName)
when invoked on an element that has
children.OMElement.setText(QName)
if the QName
has no namespace.OMElement.setText(String)
when invoked on an element that has
children.SOAPFaultClassifier.setValue(QName)
when invoked on a SOAP 1.1
SOAPFaultCode
.SOAPFaultClassifier.setValue(QName)
when invoked on an empty SOAP
1.2 SOAPFaultCode
.SOAPFaultClassifier.setValue(QName)
when invoked on a SOAP 1.2
SOAPFaultCode
that already has a SOAPFaultValue
child.OMXMLBuilderFactory.createOMBuilder(StAXParserConfiguration, InputStream)
with
StAXParserConfiguration.STANDALONE
.XMLStreamWriter.writeAttribute(String, String)
creates the expected attribute.DataHandlerWriter.writeDataHandler(DataHandler, String, boolean)
creates an
OMText
backed by a DataHandler
.DataHandlerWriter.writeDataHandler(DataHandlerProvider, String, boolean)
creates an OMText
backed by a DataHandlerProvider
.XMLStreamWriter.writeEmptyElement(String, String)
automatically selects an
appropriate prefix.XMLStreamWriter.writeNamespace(String, String)
creates the expected namespace
declaration.XMLStreamWriter.writeStartElement(String, String)
automatically selects an
appropriate prefix.XMLStreamWriter.writeStartElement(String, String, String)
creates the correct
OMElement
if the element uses a default namespace declared on the parent.OMElement.writeTextTo(Writer, boolean)
in the simple case with a
single OMText
child.OMContainer.addChild(OMNode)
throws an exception if an attempt is made to add
a SOAPFault
to a plain OMElement
.OMContainer.addChild(OMNode)
throws an exception if an attempt is made to add
a SOAPHeaderBlock
to a plain OMElement
.OMNode.insertSiblingAfter(OMNode)
throws an exception if an attempt is made to
add a SOAPFault
as a child of a plain OMElement
.OMNode.insertSiblingAfter(OMNode)
throws an exception if an attempt is made to
add a SOAPHeaderBlock
as a child of a plain OMElement
.OMNode.insertSiblingBefore(OMNode)
throws an exception if an attempt is made to
add a SOAPFault
as a child of a plain OMElement
.OMNode.insertSiblingBefore(OMNode)
throws an exception if an attempt is made to
add a SOAPHeaderBlock
as a child of a plain OMElement
.Text
node.
Text
node.
OMText
instance to a StringBuffer
, then request the DataHandler
using
OMText.getDataHandler()
and use
Base64EncodingStringBufferOutputStream
to encode it.
XMLInputFactory
wrapper that enabled detection of unclosed stream readers.Unmarshaller
to perform XOP/MTOM processing on an
XMLStreamReader
that exposes the DataHandlerReader
extension.UIDGenerator
class. In contrast to what its name
suggests, the UUIDGenerator.getUUID()
method doesn't return a UUID. It also doesn't return
a valid URN with uuid NID. See AXIS2-4527 for more information.OMDataSource
implementation that represents a text node wrapped inside an element.WrappedTextNodeOMDataSource
that pulls the text data from a DataSource
object.WrappedTextNodeOMDataSource
that pulls text data from a Reader
object.XMLStreamReader
implementation that
represents a text node wrapped inside an element.XMLInputFactory
wrapper that wraps all XMLEventReader
and XMLStreamReader
instances created from it.XMLOutputFactory
wrapper that wraps all XMLEventWriter
and XMLStreamWriter
instances created from it.OMMultipartWriter
instead.
OMMultipartWriter
instead.
OMMultipartWriter
instead.
XMLStreamWriter.writeDTD(String)
.
OMMultipartWriter
instead.
OMMultipartWriter
provides a flexible way to build MIME packages for non standard formats such as
MM7.
XMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, DataHandler, String, boolean)
or XMLStreamWriterUtils.writeDataHandler(XMLStreamWriter, DataHandlerProvider, String, boolean)
to submit any binary content and let this writer decide whether the content should be
written as base64 encoded character data or using xop:Include. If this is not
possible, then MTOMXMLStreamWriter.prepareDataHandler(DataHandler)
should be used.
OMMultipartWriter
instead.
Writer
.
OMElement.writeTextTo(Writer, boolean)
instead.
XMLInputFactory
wrappers.XMLConstants.XMLNS_ATTRIBUTE
instead.
XMLConstants.XMLNS_ATTRIBUTE_NS_URI
instead.
XMLOutputFactory
wrappers.IOException
that wraps an XMLStreamException
.XMLStreamReader
objects, including the extension
defined by DataHandlerReader
.XMLStreamReader
wrappers.XMLStreamWriter
objects.XMLStreamWriter
wrappers.Writer
implementation that writes data as
XMLStreamConstants.CHARACTERS
events to an XMLStreamWriter
.XMLStreamReader
wrapper that decodes XOP.XMLStreamWriter
wrapper that decodes XOP.XMLStreamReader
wrapper that encodes XOP.XOPEncodingStreamReader
and XOPEncodingStreamWriter
.XMLStreamWriter
wrapper that encodes XOP.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |