org.eclipse.wst.jsdt.jsdoc
Class ElementInfo
java.lang.Object
org.eclipse.wst.jsdt.jsdoc.ElementInfo
- Direct Known Subclasses:
- MsdnElement
public class ElementInfo
- extends Object
CLASS
public static final int CLASS
- See Also:
- Constant Field Values
METHOD
public static final int METHOD
- See Also:
- Constant Field Values
PROPERTY
public static final int PROPERTY
- See Also:
- Constant Field Values
EVENT
public static final int EVENT
- See Also:
- Constant Field Values
COLLECTION
public static final int COLLECTION
- See Also:
- Constant Field Values
name
protected String name
baseUrl
protected String baseUrl
parent
protected ElementInfo parent
children
protected ElementInfo[] children
type
protected int type
nodes
protected static ArrayList nodes
visited
protected boolean visited
instances
protected static int instances
DEBUG
protected static boolean DEBUG
useCache
protected static boolean useCache
keepCache
protected static boolean keepCache
ElementInfo
public ElementInfo(String baseUrl,
ElementInfo parent)
shouldUseCache
public boolean shouldUseCache()
shouldKeepCache
public boolean shouldKeepCache()
setUseCache
public static void setUseCache(boolean shouldUseCache)
setKeepCache
public static void setKeepCache(boolean shouldKeepCache)
visit
public boolean visit()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
freeObject
public static void freeObject(ElementInfo element)
getFoundObjects
public ElementInfo[] getFoundObjects()
clearVisit
public void clearVisit()
finalize
public void finalize()
- Overrides:
finalize
in class Object
addNode
public void addNode(ElementInfo element)
findChild
public static ElementInfo findChild(String baseUrl)
isDefined
public boolean isDefined(String baseUrl)
getParent
public ElementInfo getParent()
getChildren
public ElementInfo[] getChildren()
hasChildren
public boolean hasChildren()
getName
public String getName()
getUrl
public String getUrl()
getJsDoc
public String getJsDoc(String parentName)
getJsStructure
public String getJsStructure()
getTypeName
public String getTypeName()
getType
public int getType()
toString
public String toString()
- Overrides:
toString
in class Object
getPageText
protected String getPageText()
getBaseUrl
public String getBaseUrl()
getDeclarationString
public String getDeclarationString()
getJsStructure
public String getJsStructure(String parent)
isStatic
public boolean isStatic()
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.