public final class TransducedAccessor_field_Integer extends DefaultTransducedAccessor
TransducedAccessor for a byte field.
All the TransducedAccessor_field are generated from TransducedAccessor_field_B y t e
TransducedAccessor.get(com.sun.xml.bind.v2.runtime.JAXBContextImpl, com.sun.xml.bind.v2.model.runtime.RuntimeNonElementRef)TransducedAccessor.CompositeTransducedAccessorImpl<BeanT,ValueT>| Constructor | Description |
|---|---|
TransducedAccessor_field_Integer() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasValue(java.lang.Object o) |
Checks if the field has a value.
|
void |
parse(java.lang.Object o,
java.lang.CharSequence lexical) |
Parses the text value into the responsible field of the given bean.
|
java.lang.String |
print(java.lang.Object o) |
Prints the responsible field of the given bean to the writer.
|
void |
writeLeafElement(XMLSerializer w,
Name tagName,
java.lang.Object o,
java.lang.String fieldName) |
Convenience method to write the value as a text inside an element
without any attributes.
|
writeTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeclareNamespace, get, useNamespacepublic java.lang.String print(java.lang.Object o)
TransducedAccessor
Use XMLSerializer.getInstance() to access to the namespace bindings
print in class DefaultTransducedAccessorpublic void parse(java.lang.Object o,
java.lang.CharSequence lexical)
TransducedAccessor
Use UnmarshallingContext.getInstance() to access to the namespace bindings
parse in class TransducedAccessorpublic boolean hasValue(java.lang.Object o)
TransducedAccessorhasValue in class TransducedAccessorpublic void writeLeafElement(XMLSerializer w, Name tagName, java.lang.Object o, java.lang.String fieldName) throws org.xml.sax.SAXException, AccessorException, java.io.IOException, javax.xml.stream.XMLStreamException
TransducedAccessorThe callee assumes that there's an associated value in the field. No @xsi:type handling is expected.
writeLeafElement in class DefaultTransducedAccessororg.xml.sax.SAXExceptionAccessorExceptionjava.io.IOExceptionjavax.xml.stream.XMLStreamExceptionCopyright © 2017 Oracle Corporation. All rights reserved.