Class MaisDocNodeWriterBean

java.lang.Object
org.x4o.maisdoc.flake.MaisDocNodeWriterBean
All Implemented Interfaces:
MaisDocNodeWriter

public class MaisDocNodeWriterBean extends Object implements MaisDocNodeWriter
ApiDocNodeWriterBean wraps the ApiDocNodeWriterEvent to a single method of a bean.
Version:
1.0 May 1, 2013
Author:
Willem Cazander
  • Constructor Details

    • MaisDocNodeWriterBean

      public MaisDocNodeWriterBean()
    • MaisDocNodeWriterBean

      public MaisDocNodeWriterBean(MaisDocNodeBody nodeBody, Object bean, String method, Class<?>... classes)
  • Method Details

    • addAnnotatedNodeContentWriters

      public static void addAnnotatedNodeContentWriters(MaisDoc doc, Object bean)
    • writeNodeContent

      public void writeNodeContent(MaisDocWriteEvent<MaisDocNode> event) throws IOException
      Specified by:
      writeNodeContent in interface MaisDocNodeWriter
      Throws:
      IOException
    • addtargetClass

      public void addtargetClass(Class<?> targetClass)
    • removetargetClass

      public void removetargetClass(Class<?> targetClass)
    • getTargetClasses

      public List<Class<?>> getTargetClasses()
      Specified by:
      getTargetClasses in interface MaisDocNodeWriter
    • getNodeBody

      public MaisDocNodeBody getNodeBody()
      Specified by:
      getNodeBody in interface MaisDocNodeWriter
      Returns:
      the nodeBody
    • setNodeBody

      public void setNodeBody(MaisDocNodeBody nodeBody)
      Parameters:
      nodeBody - the nodeBody to set
    • getBean

      public Object getBean()
      Returns:
      the bean
    • setBean

      public void setBean(Object bean)
      Parameters:
      bean - the bean to set
    • getMethod

      public String getMethod()
      Returns:
      the method
    • setMethod

      public void setMethod(String method)
      Parameters:
      method - the method to set
    • getNodeBodyOrders

      public List<Integer> getNodeBodyOrders()
      Specified by:
      getNodeBodyOrders in interface MaisDocNodeWriter
      Returns:
      the nodeBodyOrders
    • setNodeBodyOrders

      public void setNodeBodyOrders(List<Integer> nodeBodyOrders)
      Parameters:
      nodeBodyOrders - the nodeBodyOrders to set
    • getContentGroup

      public String getContentGroup()
      Specified by:
      getContentGroup in interface MaisDocNodeWriter
      Returns:
      the contentGroup
    • setContentGroup

      public void setContentGroup(String contentGroup)
      Parameters:
      contentGroup - the contentGroup to set
    • getContentGroupType

      public String getContentGroupType()
      Specified by:
      getContentGroupType in interface MaisDocNodeWriter
      Returns:
      the contentGroupType
    • setContentGroupType

      public void setContentGroupType(String contentGroupType)
      Parameters:
      contentGroupType - the contentGroupType to set