Class TransducedAccessor_field_Boolean
- java.lang.Object
-
- com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor<T>
-
- com.sun.xml.bind.v2.runtime.reflect.DefaultTransducedAccessor
-
- com.sun.xml.bind.v2.runtime.reflect.opt.TransducedAccessor_field_Boolean
-
public final class TransducedAccessor_field_Boolean extends DefaultTransducedAccessor
TemplateTransducedAccessor
for a boolean field.All the TransducedAccessor_field are generated from
TransducedAccessor_field_B y t e
- Author:
- Kohsuke Kawaguchi
- See Also:
TransducedAccessor.get(com.sun.xml.bind.v2.runtime.JAXBContextImpl, com.sun.xml.bind.v2.model.runtime.RuntimeNonElementRef)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor
TransducedAccessor.CompositeTransducedAccessorImpl<BeanT,ValueT>
-
-
Constructor Summary
Constructors Constructor Description TransducedAccessor_field_Boolean()
-
Method Summary
All Methods Instance Methods Concrete Methods 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.-
Methods inherited from class com.sun.xml.bind.v2.runtime.reflect.DefaultTransducedAccessor
writeLeafElement, writeText
-
Methods inherited from class com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor
declareNamespace, get, useNamespace
-
-
-
-
Method Detail
-
print
public java.lang.String print(java.lang.Object o)
Description copied from class:TransducedAccessor
Prints the responsible field of the given bean to the writer.Use
XMLSerializer.getInstance()
to access to the namespace bindings- Specified by:
print
in classDefaultTransducedAccessor
- Returns:
- if the accessor didn't yield a value, return null.
-
parse
public void parse(java.lang.Object o, java.lang.CharSequence lexical)
Description copied from class:TransducedAccessor
Parses the text value into the responsible field of the given bean.Use
UnmarshallingContext.getInstance()
to access to the namespace bindings- Specified by:
parse
in classTransducedAccessor
-
hasValue
public boolean hasValue(java.lang.Object o)
Description copied from class:TransducedAccessor
Checks if the field has a value.- Specified by:
hasValue
in classTransducedAccessor
-
-