public final class TransducedAccessor_method_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 and Description |
|---|
TransducedAccessor_method_Integer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasValue(Object o)
Checks if the field has a value.
|
void |
parse(Object o,
CharSequence lexical)
Parses the text value into the responsible field of the given bean.
|
String |
print(Object o)
Prints the responsible field of the given bean to the writer.
|
void |
writeLeafElement(XMLSerializer w,
Name tagName,
Object o,
String fieldName)
Convenience method to write the value as a text inside an element
without any attributes.
|
writeTextdeclareNamespace, get, useNamespacepublic String print(Object o)
TransducedAccessor
Use XMLSerializer.getInstance() to access to the namespace bindings
print in class DefaultTransducedAccessorpublic void parse(Object o, CharSequence lexical)
TransducedAccessor
Use UnmarshallingContext.getInstance() to access to the namespace bindings
parse in class TransducedAccessorpublic boolean hasValue(Object o)
TransducedAccessorhasValue in class TransducedAccessorpublic void writeLeafElement(XMLSerializer w, Name tagName, Object o, String fieldName) throws SAXException, AccessorException, IOException, XMLStreamException
TransducedAccessorThe callee assumes that there's an associated value in the field. No @xsi:type handling is expected.
writeLeafElement in class DefaultTransducedAccessorSAXExceptionAccessorExceptionIOExceptionXMLStreamExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.