public class UnmarshalMarshalFragmentTransformer<T> extends Object implements FragmentTransformer
FragmentTransformer
that transforms by unmarshalling and then re-marshalling the fragment. Any transformation
occurs due to this transition via the model objects.Constructor and Description |
---|
UnmarshalMarshalFragmentTransformer(Unmarshaller<T> unmarshaller,
Marshaller<T> marshaller) |
Modifier and Type | Method and Description |
---|---|
boolean |
handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
public UnmarshalMarshalFragmentTransformer(Unmarshaller<T> unmarshaller, Marshaller<T> marshaller)
public boolean handles(StartElement startElementEvent, ConversionContext conversionContext)
handles
in interface FragmentTransformer
public Streamable transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException
transform
in interface FragmentTransformer
XhtmlException
Copyright © 2003–2020 Atlassian. All rights reserved.