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