Class MaisDocNodeWriterBean
java.lang.Object
org.x4o.maisdoc.flake.MaisDocNodeWriterBean
- All Implemented Interfaces:
MaisDocNodeWriter
ApiDocNodeWriterBean wraps the ApiDocNodeWriterEvent to a single method of a bean.
- Version:
- 1.0 May 1, 2013
- Author:
- Willem Cazander
-
Constructor Summary
ConstructorsConstructorDescriptionMaisDocNodeWriterBean
(MaisDocNodeBody nodeBody, Object bean, String method, Class<?>... classes) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAnnotatedNodeContentWriters
(MaisDoc doc, Object bean) void
addtargetClass
(Class<?> targetClass) getBean()
void
removetargetClass
(Class<?> targetClass) void
void
setContentGroup
(String contentGroup) void
setContentGroupType
(String contentGroupType) void
void
setNodeBody
(MaisDocNodeBody nodeBody) void
setNodeBodyOrders
(List<Integer> nodeBodyOrders) void
-
Constructor Details
-
MaisDocNodeWriterBean
public MaisDocNodeWriterBean() -
MaisDocNodeWriterBean
public MaisDocNodeWriterBean(MaisDocNodeBody nodeBody, Object bean, String method, Class<?>... classes)
-
-
Method Details
-
addAnnotatedNodeContentWriters
-
writeNodeContent
- Specified by:
writeNodeContent
in interfaceMaisDocNodeWriter
- Throws:
IOException
-
addtargetClass
-
removetargetClass
-
getTargetClasses
- Specified by:
getTargetClasses
in interfaceMaisDocNodeWriter
-
getNodeBody
- Specified by:
getNodeBody
in interfaceMaisDocNodeWriter
- Returns:
- the nodeBody
-
setNodeBody
- Parameters:
nodeBody
- the nodeBody to set
-
getBean
- Returns:
- the bean
-
setBean
- Parameters:
bean
- the bean to set
-
getMethod
- Returns:
- the method
-
setMethod
- Parameters:
method
- the method to set
-
getNodeBodyOrders
- Specified by:
getNodeBodyOrders
in interfaceMaisDocNodeWriter
- Returns:
- the nodeBodyOrders
-
setNodeBodyOrders
-
getContentGroup
- Specified by:
getContentGroup
in interfaceMaisDocNodeWriter
- Returns:
- the contentGroup
-
setContentGroup
- Parameters:
contentGroup
- the contentGroup to set
-
getContentGroupType
- Specified by:
getContentGroupType
in interfaceMaisDocNodeWriter
- Returns:
- the contentGroupType
-
setContentGroupType
- Parameters:
contentGroupType
- the contentGroupType to set
-