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 and Description |
---|
TransducedAccessor_field_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.
|
writeText
declareNamespace, get, useNamespace
public String print(Object o)
TransducedAccessor
Use XMLSerializer.getInstance()
to access to the namespace bindings
print
in class DefaultTransducedAccessor
public void parse(Object o, CharSequence lexical)
TransducedAccessor
Use UnmarshallingContext.getInstance()
to access to the namespace bindings
parse
in class TransducedAccessor
public boolean hasValue(Object o)
TransducedAccessor
hasValue
in class TransducedAccessor
public void writeLeafElement(XMLSerializer w, Name tagName, Object o, String fieldName) throws SAXException, AccessorException, IOException, XMLStreamException
TransducedAccessor
The callee assumes that there's an associated value in the field. No @xsi:type handling is expected.
writeLeafElement
in class DefaultTransducedAccessor
SAXException
AccessorException
IOException
XMLStreamException
Copyright © 2017 JBoss by Red Hat. All rights reserved.