The XML Beans API is designed to work with the XML Beans schema compiler. The schema compiler produces XML Bean classes that extend and interact with the basic XML Bean classes and interfaces in this package. It is also possible to use XML Beans without the schema compiler to manipulate and validate XML in a late-bound way (with no types, or with runtime-loaded types only).
This package contains:
XmlObject
, XmlAnySimpleType
, and
XmlInt
(one for each of the
46 built-in XML Schema types).
XmlCursor
, XmlObject.selectPath(String)
and related methods).
GDuration
).
SchemaType
, SchemaTypeSystem
, and related classes).
The place to begin when working with the XML Beans API is the following fundamental classes:
XmlObject
is the base class for all XML Beans.
XmlObject.Factory
is used to load and create XML Bean instances.
Each XML Bean class has its own nested factory class.
XmlCursor
is an efficient treewalking API for the full XML infoset.
SchemaType
is the type metadata interface for XML Schema types
XmlBeans
provides a collection of utility functions.
Represents an XML Schema-compatible Gregorian date. |
|
Represents an XML Schema-compatible duration. |
|
Represents a lattice of finite and infinite sets of QNames. |
|
Represents an attribute group. |
|
Represents the attribute structure allowed on a complex type. |
|
Represents a global Schema Component. |
|
Represents an element or an attribute declaration. |
|
Represents a global attribute definition |
|
Represents a global element definition. |
|
Represents an identity constraint definition. |
|
Represents a local or global attribute definition. |
|
Represents a local or global element definition. |
|
Represents a model group. |
|
Represents a Schema particle definition. |
|
Represents a summary of similar SchemaFields in a complex type. |
|
Describes a code-generated string enumeration |
|
Represents a schema type. |
|
This class is used to programatically validate the contents of an
XML element.Call to both |
|
Represents a searchable set of XML Schema component definitions. |
|
A finite set of XML Schema component definitions. |
|
All XmlObject implementations can be coerced to SimpleValue. |
|
Corresponds to the XML Schema xs:anySimpleType type. |
|
Corresponds to the XML Schema xs:anyURI type. |
|
Corresponds to the XML Schema xs:base64Binary type. |
|
Corresponds to the XML Schema xs:boolean type. |
|
Corresponds to the XML Schema xs:byte type. |
|
Represents a position between two logical tokens in an XML document. |
|
Represents the state of a dcoument at a particular point in time. |
|
An abstract |
|
Corresponds to the XML Schema xs:date type. |
|
Corresponds to the XML Schema xs:dateTime type. |
|
Corresponds to the XML Schema xs:decimal type. |
|
Corresponds to the XML Schema xs:double type. |
|
Corresponds to the XML Schema xs:duration type. |
|
Corresponds to the XML Schema xs:ENTITIES type, a list type. |
|
Corresponds to the XML Schema xs:ENTITY type. |
|
A hook for the XML Bean Factory mechanism. |
|
Corresponds to the XML Schema xs:float type. |
|
Corresponds to the XML Schema xs:gDay type. |
|
Corresponds to the XML Schema xs:gMonth type. |
|
Corresponds to the XML Schema xs:gMonthDay type. |
|
Corresponds to the XML Schema xs:gYear type. |
|
Corresponds to the XML Schema xs:gYearMonth type. |
|
Corresponds to the XML Schema xs:hexBinary type. |
|
Corresponds to the XML Schema xs:ID type. |
|
Corresponds to the XML Schema xs:IDREF type. |
|
Corresponds to the XML Schema xs:IDREFS type, a list type. |
|
Corresponds to the XML Schema xs:int type. |
|
Corresponds to the XML Schema xs:integer type. |
|
Corresponds to the XML Schema xs:language type. |
|
Corresponds to the XML Schema xs:long type. |
|
Corresponds to the XML Schema xs:Name type. |
|
Corresponds to the XML Schema xs:Name type. |
|
Corresponds to the XML Schema xs:negativeInteger type. |
|
Corresponds to the XML Schema xs:NMTOKEN type. |
|
Corresponds to the XML Schema xs:NMTOKENS type, a list type. |
|
Corresponds to the XML Schema xs:nonNegativeInteger type. |
|
Corresponds to the XML Schema xs:nonPositiveInteger type. |
|
Corresponds to the XML Schema xs:normalizedString type. |
|
Corresponds to the XML Schema xs:NOTATION type. |
|
Corresponds to the XML Schema xs:anyType, the base type for all XML Beans. |
|
Corresponds to the XML Schema xs:positiveInteger type. |
|
Corresponds to the XML Schema xs:QName type. |
|
A holder for a SAX |
|
Corresponds to the XML Schema xs:short type. |
|
Corresponds to the XML Schema xs:string type. |
|
Corresponds to the XML Schema xs:time type. |
|
Corresponds to the XML Schema xs:token type. |
|
Represents a holder of XML that can return an |
|
Corresponds to the XML Schema xs:unsignedByte type. |
|
Corresponds to the XML Schema xs:unsignedInt type. |
|
Corresponds to the XML Schema xs:unsignedLong type. |
|
Corresponds to the XML Schema xs:unsignedShort type. |
A FilterXmlObject delegates to some other XmlObject, which it can use as its basic source of data, possibly transforming the data along the way or providing additional functionality. |
|
Represents an XML Schema-compatible Gregorian date. |
|
Used to build |
|
Represents an XML Schema-compatible duration. |
|
Used to build |
|
A cache that can be used to pool QName instances. |
|
This interface represents a lattice of finite and infinite sets of QNames. |
|
Used to build |
|
The base class for code-generated string enumeration value classes. |
|
Used to manage singleton instances of enumerations. |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
Provides an assortment of utilities for managing XML Bean types, type systems, QNames, paths, and queries. |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
An XML Schema compatible subclass of |
|
An enumeration that identifies the type of an XML token. |
|
Subclasses of XmlBookmark can be used to annotate an XML document. |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
This class is used to attach arbitrary information to an XML document. |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
Represents a message at a specific XML location. |
|
Used to manage the XmlFactoryHook for the current thread. |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A subclass of XmlBookmark that holds line number information. |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
Static factory class for creating new instances. |
|
Used to supply options for loading, saving, and compiling, and validating. |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
The immutable |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
|
A class with methods for creating instances
of |
An exception that is thrown if there is corruption or a version mismatch in a compiled schema type system. |
|
A checked exception that can be thrown while processing, parsing, or compiling XML. |
|
An unchecked XML exception. |
|
An exception thrown from a validating XMLInputStream. |