Package | Description |
---|---|
com.sun.xml.bind.api |
Runtime API for the JAX-WS RI
|
com.sun.xml.bind.v2.model.impl |
Implementation of the com.sun.xml.bind.j2s.model package.
|
com.sun.xml.bind.v2.runtime |
Code that implements JAXBContext, Unmarshaller, and Marshaller.
|
com.sun.xml.bind.v2.runtime.property | |
com.sun.xml.bind.v2.runtime.reflect |
Abstraction around accessing data of actual objects.
|
com.sun.xml.bind.v2.runtime.reflect.opt | |
com.sun.xml.bind.v2.runtime.unmarshaller |
Modifier and Type | Method | Description |
---|---|---|
abstract V |
RawAccessor.get(B bean) |
Gets the value of the property of the given bean object.
|
abstract void |
RawAccessor.set(B bean,
V value) |
Sets the value of the property of the given bean object.
|
Modifier and Type | Method | Description |
---|---|---|
void |
RuntimeBuiltinLeafInfoImpl.declareNamespace(T o,
XMLSerializer w) |
Modifier and Type | Method | Description |
---|---|---|
void |
FilterTransducer.declareNamespace(T o,
XMLSerializer w) |
|
void |
Transducer.declareNamespace(ValueT o,
XMLSerializer w) |
Declares the namespace URIs used in the given value to
w . |
T |
FilterTransducer.parse(CharSequence lexical) |
|
ValueT |
Transducer.parse(CharSequence lexical) |
Converts the lexical representation to a value object.
|
CharSequence |
FilterTransducer.print(T o) |
|
CharSequence |
InlineBinaryTransducer.print(V o) |
|
CharSequence |
MimeTypedTransducer.print(V o) |
|
CharSequence |
SchemaTypeTransducer.print(V o) |
|
CharSequence |
Transducer.print(ValueT o) |
Converts the given value to its lexical representation.
|
void |
FilterTransducer.writeLeafElement(XMLSerializer w,
Name tagName,
T o,
String fieldName) |
|
void |
InlineBinaryTransducer.writeLeafElement(XMLSerializer w,
Name tagName,
V o,
String fieldName) |
|
void |
MimeTypedTransducer.writeLeafElement(XMLSerializer w,
Name tagName,
V o,
String fieldName) |
|
void |
SchemaTypeTransducer.writeLeafElement(XMLSerializer w,
Name tagName,
V o,
String fieldName) |
|
void |
Transducer.writeLeafElement(XMLSerializer w,
Name tagName,
ValueT o,
String fieldName) |
Sends the result of the
Transducer.print(Object) operation
to one of the XMLSerializer.leafElement(Name, String, String) method. |
void |
FilterTransducer.writeText(XMLSerializer w,
T o,
String fieldName) |
|
void |
InlineBinaryTransducer.writeText(XMLSerializer w,
V o,
String fieldName) |
|
void |
MimeTypedTransducer.writeText(XMLSerializer w,
V o,
String fieldName) |
|
void |
SchemaTypeTransducer.writeText(XMLSerializer w,
V o,
String fieldName) |
|
void |
Transducer.writeText(XMLSerializer w,
ValueT o,
String fieldName) |
Sends the result of the
Transducer.print(Object) operation
to one of the XMLSerializer.text(String, String) method,
but with the best representation of the value, not necessarily String. |
Modifier and Type | Method | Description |
---|---|---|
String |
AttributeProperty.getIdValue(BeanT bean) |
|
String |
Property.getIdValue(BeanT bean) |
Gets the value of the property.
|
String |
ValueProperty.getIdValue(BeanT bean) |
|
void |
AttributeProperty.reset(BeanT o) |
|
void |
Property.reset(BeanT o) |
Resets the property value on the given object.
|
void |
ValueProperty.reset(BeanT o) |
|
void |
AttributeProperty.serializeAttributes(BeanT o,
XMLSerializer w) |
Marshals one attribute.
|
void |
Property.serializeBody(BeanT beanT,
XMLSerializer target,
Object outerPeer) |
|
void |
ValueProperty.serializeBody(BeanT o,
XMLSerializer w,
Object outerPeer) |
|
void |
AttributeProperty.serializeURIs(BeanT o,
XMLSerializer w) |
|
void |
Property.serializeURIs(BeanT beanT,
XMLSerializer target) |
|
void |
ValueProperty.serializeURIs(BeanT o,
XMLSerializer w) |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
Lister.addToPack(PackT pack,
ItemT newValue) |
Once the
Lister.startPacking(BeanT, com.sun.xml.bind.v2.runtime.reflect.Accessor<BeanT, PropT>) is called, you can
add values to the pack by using this method. |
void |
ListTransducedAccessorImpl.declareNamespace(BeanT bean,
XMLSerializer w) |
|
void |
TransducedAccessor.declareNamespace(BeanT o,
XMLSerializer w) |
Obtain the value of the field and declares the namespace URIs used in
the value.
|
void |
Lister.CollectionLister.endPacking(T collection,
BeanT bean,
Accessor<BeanT,T> acc) |
|
abstract void |
Lister.endPacking(PackT pack,
BeanT bean,
Accessor<BeanT,PropT> acc) |
Finally, call this method to
wraps up the
pack . |
abstract ValueT |
Accessor.get(BeanT bean) |
Gets the value of the property of the given bean object.
|
ValueT |
Accessor.GetterSetterReflection.get(BeanT bean) |
|
ValueT |
Accessor.SetterOnlyReflection.get(BeanT bean) |
|
V |
NullSafeAccessor.get(B bean) |
|
Object |
Accessor.getUnadapted(BeanT bean) |
Sets the value without adapting the value.
|
boolean |
ListTransducedAccessorImpl.hasValue(BeanT bean) |
|
boolean |
TransducedAccessor.CompositeTransducedAccessorImpl.hasValue(BeanT bean) |
|
abstract boolean |
TransducedAccessor.hasValue(BeanT o) |
Checks if the field has a value.
|
void |
ListTransducedAccessorImpl.parse(BeanT bean,
CharSequence lexical) |
|
void |
TransducedAccessor.CompositeTransducedAccessorImpl.parse(BeanT bean,
CharSequence lexical) |
|
abstract void |
TransducedAccessor.parse(BeanT o,
CharSequence lexical) |
Parses the text value into the responsible field of the given bean.
|
abstract String |
DefaultTransducedAccessor.print(T o) |
|
String |
ListTransducedAccessorImpl.print(BeanT o) |
|
CharSequence |
TransducedAccessor.CompositeTransducedAccessorImpl.print(BeanT bean) |
|
abstract CharSequence |
TransducedAccessor.print(BeanT o) |
Prints the responsible field of the given bean to the writer.
|
void |
Lister.CollectionLister.reset(BeanT bean,
Accessor<BeanT,T> acc) |
|
abstract void |
Lister.reset(BeanT o,
Accessor<BeanT,PropT> acc) |
Clears the values of the property.
|
void |
Accessor.GetterOnlyReflection.set(BeanT bean,
ValueT value) |
|
void |
Accessor.GetterSetterReflection.set(BeanT bean,
ValueT value) |
|
abstract void |
Accessor.set(BeanT bean,
ValueT value) |
Sets the value of the property of the given bean object.
|
void |
NullSafeAccessor.set(B bean,
V value) |
|
void |
Accessor.setUnadapted(BeanT bean,
Object value) |
Sets the value without adapting the value.
|
T |
Lister.CollectionLister.startPacking(BeanT bean,
Accessor<BeanT,T> acc) |
|
abstract PackT |
Lister.startPacking(BeanT bean,
Accessor<BeanT,PropT> acc) |
Setting values to a multi-value property starts by creating
a transient object called "pack" from the current field.
|
void |
DefaultTransducedAccessor.writeLeafElement(XMLSerializer w,
Name tagName,
T o,
String fieldName) |
|
void |
TransducedAccessor.CompositeTransducedAccessorImpl.writeLeafElement(XMLSerializer w,
Name tagName,
BeanT o,
String fieldName) |
|
abstract void |
TransducedAccessor.writeLeafElement(XMLSerializer w,
Name tagName,
BeanT o,
String fieldName) |
Convenience method to write the value as a text inside an element
without any attributes.
|
void |
DefaultTransducedAccessor.writeText(XMLSerializer w,
T o,
String fieldName) |
|
void |
TransducedAccessor.CompositeTransducedAccessorImpl.writeText(XMLSerializer w,
BeanT o,
String fieldName) |
|
abstract void |
TransducedAccessor.writeText(XMLSerializer w,
BeanT o,
String fieldName) |
Invokes one of the
XMLSerializer.text(String, String) method
with the representation of data bested suited for this transduced accessor. |
Modifier and Type | Method | Description |
---|---|---|
void |
TransducedAccessor_field_Integer.writeLeafElement(XMLSerializer w,
Name tagName,
Object o,
String fieldName) |
|
void |
TransducedAccessor_method_Integer.writeLeafElement(XMLSerializer w,
Name tagName,
Object o,
String fieldName) |
Modifier and Type | Method | Description |
---|---|---|
void |
Scope.finish() |
Finishes up the current packing in progress (if any) and
resets this object.
|
Copyright © 2018 Oracle Corporation. All rights reserved.