本文整理了Java中com.webcohesion.enunciate.javac.javadoc.JavaDoc.toString()
方法的一些代码示例,展示了JavaDoc.toString()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JavaDoc.toString()
方法的具体详情如下:
包路径:com.webcohesion.enunciate.javac.javadoc.JavaDoc
类名称:JavaDoc
方法名:toString
暂无
代码示例来源:origin: stoicflame/enunciate
/**
* The comments on the fault itself.
*
* @return The comments on the fault itself.
*/
public String getElementDocs() {
String docs = getJavaDoc().toString();
if (docs.trim().length() == 0) {
docs = null;
}
return docs;
}
代码示例来源:origin: stoicflame/enunciate
public String getElementDocs() {
String docs = property.getJavaDoc().toString();
if (docs.trim().length() == 0) {
docs = null;
}
return docs;
}
代码示例来源:origin: stoicflame/enunciate
public String getMessageDocs() {
String docs = "Output message for operation \"" + webMethod.getOperationName() + "\".";
String methodDocs = webMethod.getJavaDoc().toString();
if (methodDocs.trim().length() > 0) {
docs += " (" + methodDocs.trim() + ")";
}
return docs;
}
代码示例来源:origin: stoicflame/enunciate
public String getMessageDocs() {
String docs = "Input message for operation \"" + webMethod.getOperationName() + "\".";
String methodDocs = webMethod.getJavaDoc().toString();
if (methodDocs.trim().length() > 0) {
docs += " (" + methodDocs.trim() + ")";
}
return docs;
}
代码示例来源:origin: stoicflame/enunciate
/**
* Documentation explaining this is a request wrapper for its method.
*
* @return Documentation explaining this is a request wrapper for its method.
*/
public String getElementDocs() {
String docs = "doc/lit request wrapper for operation \"" + webMethod.getOperationName() + "\".";
String methodDocs = webMethod.getJavaDoc().toString();
if (methodDocs.trim().length() > 0) {
docs += " (" + methodDocs.trim() + ")";
}
return docs;
}
代码示例来源:origin: stoicflame/enunciate
/**
* Documentation explaining this is a response wrapper for its method.
*
* @return Documentation explaining this is a response wrapper for its method.
*/
public String getElementDocs() {
String docs = "doc/lit response wrapper for operation \"" + webMethod.getOperationName() + "\".";
String methodDocs = webMethod.getJavaDoc().toString();
if (methodDocs.trim().length() > 0) {
docs += " (" + methodDocs.trim() + ")";
}
return docs;
}
代码示例来源:origin: stoicflame/enunciate
public ValueImpl(String value, JavaDoc javaDoc, Set<String> styles, Set<Facet> facets) {
this.value = value;
this.description = javaDoc.toString();
this.styles = styles;
this.facets = facets;
JavaDoc.JavaDocTagList sinceTags = javaDoc.get("since");
this.since = sinceTags != null ? sinceTags.toString() : null;
}
代码示例来源:origin: stoicflame/enunciate
public ValueImpl(String value, JavaDoc javaDoc, Set<String> styles, Set<Facet> facets) {
this.value = value;
this.description = javaDoc.toString();
this.styles = styles;
this.facets = facets;
JavaDoc.JavaDocTagList sinceTags = javaDoc.get("since");
this.since = sinceTags != null ? sinceTags.toString() : null;
}
代码示例来源:origin: stoicflame/enunciate
public ValueImpl(String value, JavaDoc javaDoc, Set<String> styles, Set<Facet> facets) {
this.value = value;
this.description = javaDoc.toString();
this.styles = styles;
this.facets = facets;
JavaDoc.JavaDocTagList sinceTags = javaDoc.get("since");
this.since = sinceTags != null ? sinceTags.toString() : null;
}
代码示例来源:origin: com.webcohesion.enunciate/enunciate-jaxb
public ValueImpl(String value, JavaDoc javaDoc, Set<String> styles, Set<Facet> facets) {
this.value = value;
this.description = javaDoc.toString();
this.styles = styles;
this.facets = facets;
JavaDoc.JavaDocTagList sinceTags = javaDoc.get("since");
this.since = sinceTags != null ? sinceTags.toString() : null;
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getDescription() {
return this.typeDefinition.getJavaDoc(this.registrationContext.getTagHandler()).toString();
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getAttributeDocs() {
return attribute.getJavaDoc() != null ? attribute.getJavaDoc().toString() : null;
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getElementDocs() {
return element.getJavaDoc() != null ? element.getJavaDoc().toString() : null;
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getDescription() {
return this.param.getJavaDoc(this.registrationContext.getTagHandler()).toString();
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getDescription() {
return this.typeDefinition.getJavaDoc(this.registrationContext.getTagHandler()).toString();
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getDescription() {
return controllerClass.getJavaDoc(this.registrationContext.getTagHandler()).toString();
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getDescription() {
return this.requestMapping.getJavaDoc(this.registrationContext.getTagHandler()).toString();
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getDescription() {
return this.member.getJavaDoc(this.registrationContext.getTagHandler()).toString();
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getDescription() {
return this.ei.getJavaDoc(this.registrationContext.getTagHandler()).toString();
}
代码示例来源:origin: stoicflame/enunciate
@Override
public String getDescription() {
return this.member.getJavaDoc(this.registrationContext.getTagHandler()).toString();
}
内容来源于网络,如有侵权,请联系作者删除!