public class ApiDocNodeWriterBean extends Object implements ApiDocNodeWriter
Constructor and Description |
---|
ApiDocNodeWriterBean() |
ApiDocNodeWriterBean(ApiDocNodeBody nodeBody,
Object bean,
String method,
Class<?>... classes) |
Modifier and Type | Method and Description |
---|---|
static void |
addAnnotatedNodeContentWriters(ApiDoc doc,
Object bean) |
void |
addtargetClass(Class<?> targetClass) |
Object |
getBean() |
String |
getContentGroup() |
String |
getContentGroupType() |
String |
getMethod() |
ApiDocNodeBody |
getNodeBody() |
Integer |
getNodeBodyOrder() |
List<Class<?>> |
getTargetClasses() |
void |
removetargetClass(Class<?> targetClass) |
void |
setBean(Object bean) |
void |
setContentGroup(String contentGroup) |
void |
setContentGroupType(String contentGroupType) |
void |
setMethod(String method) |
void |
setNodeBody(ApiDocNodeBody nodeBody) |
void |
setNodeBodyOrder(Integer nodeBodyOrder) |
void |
writeNodeContent(ApiDocWriteEvent<ApiDocNode> event) |
public ApiDocNodeWriterBean()
public ApiDocNodeWriterBean(ApiDocNodeBody nodeBody, Object bean, String method, Class<?>... classes)
public static void addAnnotatedNodeContentWriters(ApiDoc doc, Object bean)
public void writeNodeContent(ApiDocWriteEvent<ApiDocNode> event) throws SAXException
writeNodeContent
in interface ApiDocNodeWriter
SAXException
public void addtargetClass(Class<?> targetClass)
public void removetargetClass(Class<?> targetClass)
public List<Class<?>> getTargetClasses()
getTargetClasses
in interface ApiDocNodeWriter
public ApiDocNodeBody getNodeBody()
getNodeBody
in interface ApiDocNodeWriter
public void setNodeBody(ApiDocNodeBody nodeBody)
nodeBody
- the nodeBody to setpublic Object getBean()
public void setBean(Object bean)
bean
- the bean to setpublic String getMethod()
public void setMethod(String method)
method
- the method to setpublic Integer getNodeBodyOrder()
public void setNodeBodyOrder(Integer nodeBodyOrder)
nodeBodyOrder
- the nodeBodyOrder to setpublic String getContentGroup()
public void setContentGroup(String contentGroup)
contentGroup
- the contentGroup to setpublic String getContentGroupType()
public void setContentGroupType(String contentGroupType)
contentGroupType
- the contentGroupType to setCopyright © 2004-2013 X4O. All Rights Reserved.