com.sun.xml.internal.bind.v2.runtime.unmarshaller |
|
Java Source File Name | Type | Comment |
AttributesEx.java | Interface | Attributes extension that allows attribute values
to be exposed as
CharSequence . |
AttributesExImpl.java | Class | AttributesEx implementation. |
Base64Data.java | Class | Fed to unmarshaller when the 'text' data is actually
a virtual image of base64 encoding of the binary data
transferred on the wire. |
ChildLoader.java | Class | Pair of
Loader and
Receiver . |
DefaultIDResolver.java | Class | Default implementation of
IDResolver . |
DefaultValueLoaderDecorator.java | Class | Decorates another
Loader by setting a default value. |
Discarder.java | Class | Loader implementation that discards the whole sub-tree. |
DomLoader.java | Class | Loads a DOM. |
FastInfosetConnector.java | Class | Reads from FastInfoset StAX parser and feeds into JAXB Unmarshaller. |
IntArrayData.java | Class | Typed
CharSequence for int[]. |
IntData.java | Class | Pcdata that represents a single integer. |
Intercepter.java | Interface | Used solely by
com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl to wrap
the loaded value object into a JAXBElement object. |
InterningXmlVisitor.java | Class | XmlVisitor decorator that interns all string tokens. |
LeafPropertyLoader.java | Class | Unmarshals a text into a property of the parent element. |
Loader.java | Class | |
LocatorEx.java | Interface | Object that returns the current location that the
XmlVisitor is parsing. |
LocatorExWrapper.java | Class | LocatorEx implemented by
Locator . |
Messages.java | enum | |
MTOMDecorator.java | Class | Decorator of
XmlVisitor that performs XOP processing. |
Patcher.java | Interface | |
ProxyLoader.java | Class | Loader that delegates the processing to another
Loader at
ProxyLoader.startElement(UnmarshallingContext.State,TagName) . |
Receiver.java | Interface | Receives an object by a child
Loader . |
SAXConnector.java | Class | Receives SAX events and convert them to our internal events. |
Scope.java | Class | Holds the information about packing scope. |
StAXConnector.java | Class | |
StAXEventConnector.java | Class | This is a simple utility class that adapts StAX events from an
XMLEventReader to unmarshaller events on a
XmlVisitor , bridging between the two
parser technologies. |
StAXStreamConnector.java | Class | Reads XML from StAX
XMLStreamReader and
feeds events to
XmlVisitor . |
StructureLoader.java | Class | Loads children of an element. |
TagName.java | Class | Represents an XML tag name (and attributes for start tags.)
This object is used so reduce the number of method call parameters
among unmarshallers.
An instance of this is expected to be reused by the caller of
XmlVisitor . |
TextLoader.java | Class | Unmarshals a text into an object. |
UnmarshallerImpl.java | Class | Default Unmarshaller implementation. |
UnmarshallingContext.java | Class | Center of the unmarshalling. |
ValidatingUnmarshaller.java | Class | XmlVisitor decorator that validates the events by using JAXP validation API. |
ValuePropertyLoader.java | Class | Reads a text value and set to the current target. |
WildcardLoader.java | Class | Feed incoming events to
DomHandler and builds a DOM tree.
Note that the SAXException returned by the ContentHandler is
unreported. |
XmlVisitor.java | Interface | Walks the XML document structure.
Implemented by the unmarshaller and called by the API-specific connectors.
Event Call Sequence
The
XmlVisitor expects the event callbacks in the following order:
CALL SEQUENCE := startDocument ELEMENT endDocument
ELEMENT := startPrefixMapping ELEMENT endPrefixMapping
| startElement BODY endElement
BODY := text? (ELEMENT text?)*
Note in particular that text events may not be called in a row;
consecutive characters (even those separated by PIs and comments)
must be reported as one event, unlike SAX.
All namespace URIs, local names, and prefixes of element and attribute
names must be interned. |
XsiNilLoader.java | Class | Looks for xsi:nil='true' and sets the target to null. |
XsiTypeLoader.java | Class | Looks at @xsi:type and forwards to the right
Loader . |