|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.j2x.Referencer
Resolves reference information about files, methods, and fields.
| Constructor Summary | |
Referencer()
|
|
| Method Summary | |
static org.w3c.dom.Element |
getClassElement(java.lang.String projectname,
java.lang.String pathname,
java.lang.String fqn)
Returns a DOM element corresponding to a class with a fully-qualified name. |
static org.w3c.dom.Element |
getReferencedClassElement(org.w3c.dom.Element elem,
java.lang.String fqn)
Returns the element for a referenced class with a fully-qualified name. |
static org.w3c.dom.Element |
getReferencedElement(org.w3c.dom.Document doc,
java.lang.String fqn)
Returns a DOM element corresponding to a class (or binary class) to be retrieved. |
static org.w3c.dom.Element |
getReferencedFieldElement(org.w3c.dom.Element elem,
java.lang.String ref,
java.lang.String defid,
java.lang.String name)
Returns the element for a referenced field with a name. |
static org.w3c.dom.Element |
getReferencedMethodElement(org.w3c.dom.Element elem,
java.lang.String ref,
java.lang.String defid,
java.lang.String sig)
Returns the element for a referenced method or constructor having an id string or a signature. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Referencer()
| Method Detail |
public static org.w3c.dom.Element getClassElement(java.lang.String projectname,
java.lang.String pathname,
java.lang.String fqn)
projectname - The project name of a class to be retrieved.pathname - The path name of a file containing a class to be retrieved.fqn - The fully-qualified name of a class to be retrieved.
null if there is no element found.
public static org.w3c.dom.Element getReferencedElement(org.w3c.dom.Document doc,
java.lang.String fqn)
doc - A DOM document object containing a referencing element.fqn - The fully qualified name of a class to be retrieved.
null if there is no DOM document object found.
public static org.w3c.dom.Element getReferencedClassElement(org.w3c.dom.Element elem,
java.lang.String fqn)
elem - A DOM element referencing to a class to be retrieved.fqn - The fully qualified name of a class to be retrieved.
null if there is no element found.
public static org.w3c.dom.Element getReferencedMethodElement(org.w3c.dom.Element elem,
java.lang.String ref,
java.lang.String defid,
java.lang.String sig)
elem - A DOM element referencing to the method.ref - The fully qualified name of a target class.defid - The id string of a method to be retrieved.sig - The signature of a method to be retrieved.
null if there is no element found.
public static org.w3c.dom.Element getReferencedFieldElement(org.w3c.dom.Element elem,
java.lang.String ref,
java.lang.String defid,
java.lang.String name)
elem - The element referencing to a field.ref - The fully qualified name of a target class.defid - The id string of a field to be retrieved.name - The name of a field to be retrieved.
null if there is no element found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||