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 and 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 and Description |
---|---|
void |
RuntimeBuiltinLeafInfoImpl.declareNamespace(T o,
XMLSerializer w) |
Modifier and Type | Method and 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 . |
ValueT |
Transducer.parse(CharSequence lexical)
Converts the lexical representation to a value object.
|
T |
FilterTransducer.parse(CharSequence lexical) |
CharSequence |
FilterTransducer.print(T o) |
CharSequence |
SchemaTypeTransducer.print(V o) |
CharSequence |
MimeTypedTransducer.print(V o) |
CharSequence |
InlineBinaryTransducer.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 |
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 |
SchemaTypeTransducer.writeLeafElement(XMLSerializer w,
Name tagName,
V o,
String fieldName) |
void |
MimeTypedTransducer.writeLeafElement(XMLSerializer w,
Name tagName,
V o,
String fieldName) |
void |
InlineBinaryTransducer.writeLeafElement(XMLSerializer w,
Name tagName,
V o,
String fieldName) |
void |
FilterTransducer.writeText(XMLSerializer w,
T 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. |
void |
SchemaTypeTransducer.writeText(XMLSerializer w,
V o,
String fieldName) |
void |
MimeTypedTransducer.writeText(XMLSerializer w,
V o,
String fieldName) |
void |
InlineBinaryTransducer.writeText(XMLSerializer w,
V o,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
String |
ValueProperty.getIdValue(BeanT bean) |
String |
Property.getIdValue(BeanT bean)
Gets the value of the property.
|
String |
AttributeProperty.getIdValue(BeanT bean) |
void |
ValueProperty.reset(BeanT o) |
void |
Property.reset(BeanT o)
Resets the property value on the given object.
|
void |
AttributeProperty.reset(BeanT o) |
void |
AttributeProperty.serializeAttributes(BeanT o,
XMLSerializer w)
Marshals one attribute.
|
void |
ValueProperty.serializeBody(BeanT o,
XMLSerializer w,
Object outerPeer) |
void |
Property.serializeBody(BeanT beanT,
XMLSerializer target,
Object outerPeer) |
void |
ValueProperty.serializeURIs(BeanT o,
XMLSerializer w) |
void |
Property.serializeURIs(BeanT beanT,
XMLSerializer target) |
void |
AttributeProperty.serializeURIs(BeanT o,
XMLSerializer w) |
Modifier and Type | Method and 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 |
TransducedAccessor.declareNamespace(BeanT o,
XMLSerializer w)
Obtain the value of the field and declares the namespace URIs used in
the value.
|
void |
ListTransducedAccessorImpl.declareNamespace(BeanT bean,
XMLSerializer w) |
abstract void |
Lister.endPacking(PackT pack,
BeanT bean,
Accessor<BeanT,PropT> acc)
Finally, call this method to
wraps up the
pack . |
void |
Lister.CollectionLister.endPacking(T collection,
BeanT bean,
Accessor<BeanT,T> acc) |
V |
NullSafeAccessor.get(B bean) |
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) |
Object |
Accessor.getUnadapted(BeanT bean)
Sets the value without adapting the value.
|
abstract boolean |
TransducedAccessor.hasValue(BeanT o)
Checks if the field has a value.
|
boolean |
TransducedAccessor.CompositeTransducedAccessorImpl.hasValue(BeanT bean) |
boolean |
ListTransducedAccessorImpl.hasValue(BeanT bean) |
abstract void |
TransducedAccessor.parse(BeanT o,
CharSequence lexical)
Parses the text value into the responsible field of the given bean.
|
void |
TransducedAccessor.CompositeTransducedAccessorImpl.parse(BeanT bean,
CharSequence lexical) |
void |
ListTransducedAccessorImpl.parse(BeanT bean,
CharSequence lexical) |
abstract CharSequence |
TransducedAccessor.print(BeanT o)
Prints the responsible field of the given bean to the writer.
|
CharSequence |
TransducedAccessor.CompositeTransducedAccessorImpl.print(BeanT bean) |
String |
ListTransducedAccessorImpl.print(BeanT o) |
abstract String |
DefaultTransducedAccessor.print(T o) |
abstract void |
Lister.reset(BeanT o,
Accessor<BeanT,PropT> acc)
Clears the values of the property.
|
void |
Lister.CollectionLister.reset(BeanT bean,
Accessor<BeanT,T> acc) |
abstract void |
Accessor.set(BeanT bean,
ValueT value)
Sets the value of the property of the given bean object.
|
void |
Accessor.GetterSetterReflection.set(BeanT bean,
ValueT value) |
void |
Accessor.GetterOnlyReflection.set(BeanT bean,
ValueT value) |
void |
NullSafeAccessor.set(B bean,
V value) |
void |
Accessor.setUnadapted(BeanT bean,
Object value)
Sets the value without adapting the value.
|
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.
|
T |
Lister.CollectionLister.startPacking(BeanT bean,
Accessor<BeanT,T> acc) |
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 |
TransducedAccessor.CompositeTransducedAccessorImpl.writeLeafElement(XMLSerializer w,
Name tagName,
BeanT o,
String fieldName) |
void |
DefaultTransducedAccessor.writeLeafElement(XMLSerializer w,
Name tagName,
T 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. |
void |
TransducedAccessor.CompositeTransducedAccessorImpl.writeText(XMLSerializer w,
BeanT o,
String fieldName) |
void |
DefaultTransducedAccessor.writeText(XMLSerializer w,
T o,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
TransducedAccessor_method_Integer.writeLeafElement(XMLSerializer w,
Name tagName,
Object o,
String fieldName) |
void |
TransducedAccessor_field_Integer.writeLeafElement(XMLSerializer w,
Name tagName,
Object o,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
Scope.finish()
Finishes up the current packing in progress (if any) and
resets this object.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.