Package org.apache.axiom.om
package org.apache.axiom.om
Contains core interfaces of the Axiom API.
In particular, this package defines interfaces for the information items identified by the XML Information Set W3C Recommendation:
Section | Information item | Interface |
---|---|---|
2.1 | Document information item | OMDocument |
2.2 | Element information item | OMElement |
2.3 | Attribute information item | OMAttribute |
2.4 | Processing instruction information item | OMProcessingInstruction |
2.5 | Unexpanded entity reference information item | Not supported |
2.6 | Character information item | OMText |
2.7 | Comment information item | OMComment |
2.8 | Document type declaration information item | OMDocType |
2.9 | Unparsed entity information item | Not supported |
2.10 | Notation information item | Not supported |
2.11 | Namespace information item | OMNamespace |
The package also contains a set of super-interfaces that define common properties and operations
shared by several information items: OMSerializable
,
OMNode
and OMContainer
.
-
ClassDescriptionException indicating that an operation could not be completed because it needed to read additional data from the underlying parser and that action failed.Exception indicating that a requested node cannot be returned because it is no longer available.Provides instances for object model and meta factories.Interface to look up MIME parts.Interface OMAttributeInterface OMCommentCaptures the operations related to containment shared by both a document and an element.Interface to arbitrary source of XML element data.Interface to a backing object that can can be read and written as XML.Interface OMDocTypeA particular kind of node that represents an element infoset information item.Represents an unexpanded entity reference in an XML document.Class OMExceptionClass OMFactoryThrown if an object model operation would lead to a hierarchy that is not allowed.Represents an information item in an XML document.Object model meta factory.Used internally by
OMAbstractFactory
to locate theOMMetaFactory
for a given feature.For internal use only.Represents an information item that has a name, more precisely a namespace URI, a local name and a prefix.A namespace binding specifying a namespace prefix and a namespace URI.Defines the base interface used by most of the XML object model within Axis.Formats options for OM Output.Interface OMProcessingInstructionInformation item that can be serialized (written to an XML stream writer) and deserialized (retrieved from an XML parser) as a unit.Element whose data is backed by an arbitrary Java object.Represents character data in an XML document.Provides static factory methods to create various kinds of object model builders from different types of input sources.Interface OMXMLParserWrapperDefines additional configuration options forOMContainer.getXMLStreamReader(boolean, OMXMLStreamReaderConfiguration)
.Optional interface implemented byOMDataSource
implementations that have knowledge about the local name, namespace URI and/or namespace prefix of the element they represent.XOPEncoded<T>Represent XOP encoded data.