JavaScript Development Tools
Release 3.2

org.eclipse.wst.jsdt.jsdoc
Class ElementInfo

java.lang.Object
  extended by org.eclipse.wst.jsdt.jsdoc.ElementInfo
Direct Known Subclasses:
MsdnElement

public class ElementInfo
extends Object


Field Summary
protected  String baseUrl
           
protected  ElementInfo[] children
           
static int CLASS
           
static int COLLECTION
           
protected static boolean DEBUG
           
static int EVENT
           
protected static int instances
           
protected static boolean keepCache
           
static int METHOD
           
protected  String name
           
protected static ArrayList nodes
           
protected  ElementInfo parent
           
static int PROPERTY
           
protected  int type
           
protected static boolean useCache
           
protected  boolean visited
           
 
Constructor Summary
ElementInfo(String baseUrl, ElementInfo parent)
           
 
Method Summary
 void addNode(ElementInfo element)
           
 void clearVisit()
           
 boolean equals(Object o)
           
 void finalize()
           
static ElementInfo findChild(String baseUrl)
           
static void freeObject(ElementInfo element)
           
 String getBaseUrl()
           
 ElementInfo[] getChildren()
           
 String getDeclarationString()
           
 ElementInfo[] getFoundObjects()
           
 String getJsDoc(String parentName)
           
 String getJsStructure()
           
 String getJsStructure(String parent)
           
 String getName()
           
protected  String getPageText()
           
 ElementInfo getParent()
           
 int getType()
           
 String getTypeName()
           
 String getUrl()
           
 boolean hasChildren()
           
 boolean isDefined(String baseUrl)
           
 boolean isStatic()
           
static void setKeepCache(boolean shouldKeepCache)
           
static void setUseCache(boolean shouldUseCache)
           
 boolean shouldKeepCache()
           
 boolean shouldUseCache()
           
 String toString()
           
 boolean visit()
           
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ElementInfo

public ElementInfo(String baseUrl,
                   ElementInfo parent)
Method Detail

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()

JavaScript Development Tools
Release 3.2

Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.