|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Unmarshaller<T>
Responsible for unmarshalling an XML fragment.
Method Summary | |
---|---|
boolean |
handles(StartElement startElementEvent,
ConversionContext conversionContext)
Determines whether or not this unmarshaller should be applied to a fragment with the specified start element. |
T |
unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext)
Unmarshalls a StAX event stream to an object. |
Method Detail |
---|
T unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException
xmlEventReader
- a reader over the fragment to unmarshallmainFragmentTransformer
- TODOconversionContext
- the conversion context
UnmarshalException
- if an error occurs during unmarshalling
XhtmlException
- if some other problem occursboolean handles(StartElement startElementEvent, ConversionContext conversionContext)
startElementEvent
- start elementconversionContext
- the conversion context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |