Top Description Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime.reflect.opt

public final Class TransducedAccessor_method_Integer<T>

extends DefaultTransducedAccessor<T>
Class Inheritance
Annotations
@SuppressWarnings:deprecation
Imports
org.glassfish.jaxb.runtime.DatatypeConverterImpl, org.glassfish.jaxb.runtime.api.AccessorException, org.glassfish.jaxb.runtime.v2.runtime.Name, .XMLSerializer, org.glassfish.jaxb.runtime.v2.runtime.reflect.DefaultTransducedAccessor, .TransducedAccessor, org.xml.sax.SAXException, javax.xml.stream.XMLStreamException, java.io.IOException

Template TransducedAccessor for a byte field.

All the TransducedAccessor_field are generated from TransducedAccessor_field_Byte

Author
Kohsuke Kawaguchi
See Also
TransducedAccessor#get

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
hasValue(T o)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.TransducedAccessor.hasValue.

Checks if the field has a value.

public void
parse(T o, CharSequence lexical)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.TransducedAccessor.parse.

Parses the text value into the responsible field of the given bean.

public void
writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName)

Overrides org.glassfish.jaxb.runtime.v2.runtime.reflect.DefaultTransducedAccessor.writeLeafElement.

Convenience method to write the value as a text inside an element without any attributes.

Inherited from org.glassfish.jaxb.runtime.v2.runtime.reflect.DefaultTransducedAccessor:
writeText

Constructor Detail

TransducedAccessor_method_Integerback to summary
public TransducedAccessor_method_Integer()

Method Detail

hasValueback to summary
public boolean hasValue(T o)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.TransducedAccessor.hasValue.

Doc from org.glassfish.jaxb.runtime.v2.runtime.reflect.TransducedAccessor.hasValue.

Checks if the field has a value.

Annotations
@Override
parseback to summary
public void parse(T o, CharSequence lexical)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.reflect.TransducedAccessor.parse.

Doc from org.glassfish.jaxb.runtime.v2.runtime.reflect.TransducedAccessor.parse.

Parses the text value into the responsible field of the given bean.

Use UnmarshallingContext#getInstance() to access to the namespace bindings

Annotations
@Override
writeLeafElementback to summary
public void writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName) throws SAXException, AccessorException, IOException, XMLStreamException

Overrides org.glassfish.jaxb.runtime.v2.runtime.reflect.DefaultTransducedAccessor.writeLeafElement.

Doc from org.glassfish.jaxb.runtime.v2.runtime.reflect.TransducedAccessor.writeLeafElement.

Convenience method to write the value as a text inside an element without any attributes. Can be overridden for improved performance.

The callee assumes that there's an associated value in the field. No @xsi:type handling is expected.

Annotations
@Override