Class EditorPageLayoutUnMarshaller

  • All Implemented Interfaces:
    Unmarshaller<PageLayout>

    public class EditorPageLayoutUnMarshaller
    extends Object
    implements Unmarshaller<PageLayout>

    Transform the Page Layout 2 definition from the XHTML received from the editor into a holding object which can then be output into different formats such as storage format.

    StoragePageLayoutMarshaller is used to actually output the canonical storage form.

    • Constructor Detail

      • EditorPageLayoutUnMarshaller

        public EditorPageLayoutUnMarshaller​(XmlEventReaderFactory xmlEventReaderFactory)
    • Method Detail

      • handles

        public boolean handles​(StartElement startElement,
                               ConversionContext conversionContext)
        Description copied from interface: Unmarshaller
        Determines whether or not this unmarshaller should be applied to a fragment with the specified start element.
        Specified by:
        handles in interface Unmarshaller<PageLayout>
        Parameters:
        startElement - start element
        conversionContext - the conversion context
        Returns:
        true if this unmarshaller can be applied, false otherwise