|
|||||||||||
| 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.JxImport
An object wrapping the Import or Ctor element.
| Field Summary | |
protected java.lang.String |
name
The import name. |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxElement |
element |
| Constructor Summary | |
protected |
JxImport()
Creates a new, empty object. |
protected |
JxImport(org.w3c.dom.Element elem)
Creates a new object wrapping a Import element. |
| Method Summary | |
boolean |
equals(JxImport jimport)
Tests if a given import 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 import. |
static boolean |
isImport(org.w3c.dom.Element elem)
Tests if a given element equals to Import. |
void |
print()
Displays information about this import 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 JxImport()
protected JxImport(org.w3c.dom.Element elem)
throws JxWrapperException
Import 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 isImport(org.w3c.dom.Element elem)
Import.
elem - An element of the DOM.
true if the element equals to Import, otherwise false.public boolean equals(JxImport jimport)
jimport - An import wrapper.
true if the import 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 | ||||||||||