|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.wrapper.JxElement
org.jtool.jxplatform.wrapper.JxPackage
An object wrapping the Package element.
| Field Summary | |
protected java.lang.String |
name
The package name. |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxElement |
element |
| Constructor Summary | |
protected |
JxPackage()
Creates a new, empty object. |
protected |
JxPackage(org.w3c.dom.Element elem)
Creates a new object wrapping a Package element. |
| Method Summary | |
boolean |
equals(JxPackage jpackage)
Tests if a given package wrapper equals to this one. |
JxClass |
getJxClass()
Obtains a class wrapper defining this file element. |
JxMethod |
getJxMethod()
Obtains a method wrapper defining this file element. |
java.lang.String |
getName()
Returns the name of this package. |
static boolean |
isPackage(org.w3c.dom.Element elem)
Tests if a given element equals to Package. |
void |
print()
Displays information about this package wrapper for debugging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String name
| Constructor Detail |
protected JxPackage()
protected JxPackage(org.w3c.dom.Element elem)
throws JxWrapperException
Package element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.| Method Detail |
public java.lang.String getName()
public static boolean isPackage(org.w3c.dom.Element elem)
Package.
elem - An element of the DOM.
true if the element equals to Package, otherwise false.public boolean equals(JxPackage jpackage)
jpackage - A package wrapper.
true if the package wrapper equals to this one.public JxClass getJxClass()
getJxClass in class JxElementnull.public JxMethod getJxMethod()
getJxMethod in class JxElementnull.public void print()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||