Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller

public Class ValuePropertyLoader

extends Loader
Class Inheritance
Imports
org.glassfish.jaxb.runtime.api.AccessorException, org.glassfish.jaxb.runtime.v2.runtime.reflect.TransducedAccessor, jakarta.xml.bind.JAXBElement, org.xml.sax.SAXException

Reads a text value and set to the current target.
Author
Kohsuke Kawaguchi
See Also
LeafPropertyLoader

Field Summary

Modifier and TypeField and Description
private final TransducedAccessor<BeanT>
Inherited from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader:
expectText

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
text(UnmarshallingContext.State state, CharSequence text)

Overrides org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.text.

Called when this loaderis an active loaderand we see a chunk of text.

Inherited from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader:
childElementexpectTextfireAfterUnmarshalfireBeforeUnmarshalgetExpectedAttributesgetExpectedChildElementshandleGenericErrorhandleGenericExceptionhandleGenericExceptionhandleParseConversionExceptionleaveElementreportErrorreportErrorreportUnexpectedChildElementstartElement

Field Detail

xaccback to summary
private final TransducedAccessor<BeanT> xacc

Constructor Detail

ValuePropertyLoaderback to summary
public ValuePropertyLoader(TransducedAccessor<BeanT> xacc)

Method Detail

textback to summary
public void text(UnmarshallingContext.State state, CharSequence text) throws SAXException

Overrides org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.text.

Doc from org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.text.

Called when this loaderis an active loaderand we see a chunk of text. The runtime makes sure that adjacent characters (even those separated by comments, PIs, etc) are reported as one event. IOW, you won't see two text event calls in a row.

Annotations
@Override