|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc org.codehaus.groovy.tools.groovydoc.SimpleGroovyProgramElementDoc org.codehaus.groovy.tools.groovydoc.SimpleGroovyAbstractableElementDoc org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc
public class SimpleGroovyClassDoc extends SimpleGroovyAbstractableElementDoc
Field Summary | |
---|---|
static java.util.regex.Pattern |
CODE_REGEX
|
static java.util.regex.Pattern |
LINK_REGEX
|
static java.util.regex.Pattern |
NAME_ARGS_REGEX
|
static java.util.regex.Pattern |
REF_LABEL_REGEX
|
static java.util.regex.Pattern |
SPLIT_ARGS_REGEX
|
static java.util.regex.Pattern |
TAG_REGEX
|
Constructor Summary | |
SimpleGroovyClassDoc(java.util.List importedClassesAndPackages, java.lang.String name, java.util.List links)
|
|
SimpleGroovyClassDoc(java.util.List importedClassesAndPackages, java.lang.String name)
|
Method Summary | |
---|---|
boolean
|
add(GroovyConstructorDoc constructor)
|
boolean
|
add(GroovyFieldDoc field)
|
boolean
|
add(GroovyMethodDoc method)
|
boolean
|
addEnumConstant(GroovyFieldDoc field)
|
void
|
addInterfaceName(java.lang.String className)
|
boolean
|
addNested(GroovyClassDoc nestedClass)
|
boolean
|
addProperty(GroovyFieldDoc property)
|
java.lang.String
|
commentText()
|
GroovyConstructorDoc[]
|
constructors()
returns a sorted array of constructors |
GroovyConstructorDoc[]
|
constructors(boolean filter)
|
static java.lang.String
|
decodeSpecialSymbols(java.lang.String text)
|
boolean
|
definesSerializableFields()
|
static java.lang.String
|
encodeSpecialSymbols(java.lang.String text)
|
GroovyFieldDoc[]
|
enumConstants()
returns a sorted array of enum constants |
GroovyFieldDoc[]
|
fields()
returns a sorted array of fields |
GroovyFieldDoc[]
|
fields(boolean filter)
|
GroovyClassDoc
|
findClass(java.lang.String className)
|
java.lang.String
|
firstSentenceCommentText()
|
java.lang.String
|
getDocUrl(java.lang.String type)
|
java.lang.String
|
getDocUrl(java.lang.String type, boolean full)
|
static java.lang.String
|
getDocUrl(java.lang.String type, boolean full, java.util.List links, java.lang.String relativePath, GroovyRootDoc rootDoc, SimpleGroovyClassDoc classDoc)
|
java.lang.String
|
getFullPathName()
|
GroovyClassDoc
|
getOuter()
|
java.util.List
|
getParentClasses()
|
java.util.Set
|
getParentInterfaces()
|
java.lang.String
|
getRelativeRootPath()
|
java.lang.String
|
getSuperClassName()
|
GroovyClassDoc[]
|
importedClasses()
|
GroovyPackageDoc[]
|
importedPackages()
|
GroovyClassDoc[]
|
innerClasses()
returns a sorted array of nested classes and interfaces |
GroovyClassDoc[]
|
innerClasses(boolean filter)
|
GroovyType[]
|
interfaceTypes()
|
GroovyClassDoc[]
|
interfaces()
|
boolean
|
isExternalizable()
|
boolean
|
isGroovy()
|
boolean
|
isPrimitive()
|
boolean
|
isSerializable()
|
GroovyMethodDoc[]
|
methods()
returns a sorted array of methods |
GroovyMethodDoc[]
|
methods(boolean filter)
|
GroovyFieldDoc[]
|
properties()
returns a sorted array of properties |
java.lang.String
|
qualifiedTypeName()
|
java.lang.String
|
replaceAllTags(java.lang.String self, java.lang.String s1, java.lang.String s2, java.util.regex.Pattern regex)
|
static java.lang.String
|
replaceAllTags(java.lang.String self, java.lang.String s1, java.lang.String s2, java.util.regex.Pattern regex, java.util.List links, java.lang.String relPath, GroovyRootDoc rootDoc, SimpleGroovyClassDoc classDoc)
|
java.lang.String
|
replaceAllTagsCollated(java.lang.String self, java.lang.String preKey, java.lang.String postKey, java.lang.String valueSeparator, java.lang.String postValues, java.util.regex.Pattern regex)
|
java.lang.String
|
replaceTags(java.lang.String comment)
|
GroovyFieldDoc[]
|
serializableFields()
|
GroovyMethodDoc[]
|
serializationMethods()
|
void
|
setFullPathName(java.lang.String fullPathName)
|
void
|
setGroovy(boolean isgroovy)
|
void
|
setOuter(GroovyClassDoc outer)
|
void
|
setSuperClass(GroovyClassDoc doc)
|
void
|
setSuperClassName(java.lang.String className)
|
java.lang.String
|
simpleTypeName()
|
boolean
|
subclassOf(GroovyClassDoc gcd)
|
GroovyClassDoc
|
superclass()
|
GroovyType
|
superclassType()
|
java.lang.String
|
typeName()
|
Methods inherited from class SimpleGroovyAbstractableElementDoc | |
---|---|
isAbstract, setAbstract |
Methods inherited from class SimpleGroovyProgramElementDoc | |
---|---|
addAnnotationRef, annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifierSpecifier, modifiers, qualifiedName, setContainingPackage, setFinal, setPackagePrivate, setPrivate, setProtected, setPublic, setStatic |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public static final java.util.regex.Pattern CODE_REGEX
public static final java.util.regex.Pattern LINK_REGEX
public static final java.util.regex.Pattern NAME_ARGS_REGEX
public static final java.util.regex.Pattern REF_LABEL_REGEX
public static final java.util.regex.Pattern SPLIT_ARGS_REGEX
public static final java.util.regex.Pattern TAG_REGEX
Constructor Detail |
---|
public SimpleGroovyClassDoc(java.util.List importedClassesAndPackages, java.lang.String name, java.util.List links)
public SimpleGroovyClassDoc(java.util.List importedClassesAndPackages, java.lang.String name)
Method Detail |
---|
public boolean add(GroovyConstructorDoc constructor)
public boolean add(GroovyFieldDoc field)
public boolean add(GroovyMethodDoc method)
public boolean addEnumConstant(GroovyFieldDoc field)
public void addInterfaceName(java.lang.String className)
public boolean addNested(GroovyClassDoc nestedClass)
public boolean addProperty(GroovyFieldDoc property)
public java.lang.String commentText()
public GroovyConstructorDoc[] constructors()
public GroovyConstructorDoc[] constructors(boolean filter)
public static java.lang.String decodeSpecialSymbols(java.lang.String text)
public boolean definesSerializableFields()
public static java.lang.String encodeSpecialSymbols(java.lang.String text)
public GroovyFieldDoc[] enumConstants()
public GroovyFieldDoc[] fields()
public GroovyFieldDoc[] fields(boolean filter)
public GroovyClassDoc findClass(java.lang.String className)
public java.lang.String firstSentenceCommentText()
public java.lang.String getDocUrl(java.lang.String type)
public java.lang.String getDocUrl(java.lang.String type, boolean full)
public static java.lang.String getDocUrl(java.lang.String type, boolean full, java.util.List links, java.lang.String relativePath, GroovyRootDoc rootDoc, SimpleGroovyClassDoc classDoc)
public java.lang.String getFullPathName()
public GroovyClassDoc getOuter()
public java.util.List getParentClasses()
public java.util.Set getParentInterfaces()
public java.lang.String getRelativeRootPath()
public java.lang.String getSuperClassName()
public GroovyClassDoc[] importedClasses()
public GroovyPackageDoc[] importedPackages()
public GroovyClassDoc[] innerClasses()
public GroovyClassDoc[] innerClasses(boolean filter)
public GroovyType[] interfaceTypes()
public GroovyClassDoc[] interfaces()
public boolean isExternalizable()
public boolean isGroovy()
public boolean isPrimitive()
public boolean isSerializable()
public GroovyMethodDoc[] methods()
public GroovyMethodDoc[] methods(boolean filter)
public GroovyFieldDoc[] properties()
public java.lang.String qualifiedTypeName()
public java.lang.String replaceAllTags(java.lang.String self, java.lang.String s1, java.lang.String s2, java.util.regex.Pattern regex)
public static java.lang.String replaceAllTags(java.lang.String self, java.lang.String s1, java.lang.String s2, java.util.regex.Pattern regex, java.util.List links, java.lang.String relPath, GroovyRootDoc rootDoc, SimpleGroovyClassDoc classDoc)
public java.lang.String replaceAllTagsCollated(java.lang.String self, java.lang.String preKey, java.lang.String postKey, java.lang.String valueSeparator, java.lang.String postValues, java.util.regex.Pattern regex)
public java.lang.String replaceTags(java.lang.String comment)
public GroovyFieldDoc[] serializableFields()
public GroovyMethodDoc[] serializationMethods()
public void setFullPathName(java.lang.String fullPathName)
public void setGroovy(boolean isgroovy)
public void setOuter(GroovyClassDoc outer)
public void setSuperClass(GroovyClassDoc doc)
public void setSuperClassName(java.lang.String className)
public java.lang.String simpleTypeName()
public boolean subclassOf(GroovyClassDoc gcd)
public GroovyClassDoc superclass()
public GroovyType superclassType()
public java.lang.String typeName()
Groovy Documentation