| java.lang.Object com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor
TransducedAccessor | abstract public class TransducedAccessor (Code) | | Accessor and
Transducer combined into one object.
This allows efficient conversions between primitive values and
String without using boxing.
This abstraction only works for a single-value property.
An instance of
TransducedAccessor implicitly holds a
field of the
BeanT that the accessors access.
author: Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) |
Inner Class :static class CompositeContextDependentTransducedAccessorImpl extends CompositeTransducedAccessorImpl | |
Inner Class :static class CompositeTransducedAccessorImpl extends TransducedAccessor | |
parse | abstract public void parse(BeanT o, CharSequence lexical) throws AccessorException, SAXException(Code) | | Parses the text value into the responsible field of the given bean.
Use
UnmarshallingContext.getInstance to access to the namespace bindings
throws: AccessorException - if the transducer is used to parse an user bean that uses XmlValue,then this exception may occur when it tries to set the leaf value to the bean. throws: RuntimeException - if the lexical form is incorrect. The method may throw a RuntimeException,but it shouldn't cause the entire unmarshalling to fail. throws: SAXException - if the parse method found an error, the error is reported, and thenthe processing is aborted. |
|
|