Class AbstractXmlMapping

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.reflect.Method getMethod
      Method to obtain value from object to map to XML.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractXmlMapping​(java.lang.reflect.Method getMethod)
      Initiate with method to obtain value to map.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XmlWriter getWriter()
      Obtains the XmlWriter for this mapping.
      void map​(java.lang.Object object, XmlOutput output)
      Maps the object into XML.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.officefloor.plugin.xml.marshall.tree.XmlWriter

        writeXml
    • Field Detail

      • getMethod

        protected final java.lang.reflect.Method getMethod
        Method to obtain value from object to map to XML.
    • Constructor Detail

      • AbstractXmlMapping

        public AbstractXmlMapping​(java.lang.reflect.Method getMethod)
        Initiate with method to obtain value to map.
        Parameters:
        getMethod - Method to obtain value to be mapped.