Class ProxyXmlMapping

  • All Implemented Interfaces:
    XmlMapping

    public class ProxyXmlMapping
    extends java.lang.Object
    implements XmlMapping
    Enables wrapping of a XmlWriter to let it be referenced.
    Author:
    Daniel Sagenschneider
    • Constructor Detail

      • ProxyXmlMapping

        public ProxyXmlMapping()
    • Method Detail

      • setDelegate

        public void setDelegate​(XmlMapping delegate)

        The creation of XmlMapping (and its XmlWriter) will recursively load its XmlMapping.

        This is therefore necessary to enable a child to reference this in place of the actual parent XmlMapping, as the parent XmlMapping will not be available until all its descendants are created.

        Parameters:
        delegate - Delegate to do the XML writing.