|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.editor.placeholder.EditorPlaceholderUnmarshaller
public class EditorPlaceholderUnmarshaller
Constructor Summary | |
---|---|
EditorPlaceholderUnmarshaller(XmlEventReaderFactory xmlEventReaderFactory)
|
Method Summary | |
---|---|
boolean |
handles(javax.xml.stream.events.StartElement startElement,
ConversionContext conversionContext)
Determines whether or not this unmarshaller should be applied to a fragment with the specified start element. |
Placeholder |
unmarshal(javax.xml.stream.XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext)
Unmarshalls a StAX event stream to an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditorPlaceholderUnmarshaller(XmlEventReaderFactory xmlEventReaderFactory)
Method Detail |
---|
public boolean handles(javax.xml.stream.events.StartElement startElement, ConversionContext conversionContext)
Unmarshaller
handles
in interface Unmarshaller<Placeholder>
startElement
- start elementconversionContext
- the conversion context
public Placeholder unmarshal(javax.xml.stream.XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException
Unmarshaller
unmarshal
in interface Unmarshaller<Placeholder>
reader
- a reader over the fragment to unmarshallmainFragmentTransformer
- TODOconversionContext
- the conversion context
XhtmlException
- if some other problem occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |