|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.wrapper.JxWrapperFactory
A utility class which provides quaries about projects.
Do not pass null to any parameter in methods in this class.
| Constructor Summary | |
JxWrapperFactory()
|
|
| Method Summary | |
static JxClass |
createJxClass(org.w3c.dom.Element elem)
Creates a new object wrapping a Class or Intf element. |
static JxDefUseExpression |
createJxDefUseExpression(org.w3c.dom.Element elem)
Creates a new object wrapping an element for an expressin with defined and/or used variables. |
static JxExpression |
createJxExpression(org.w3c.dom.Element elem)
Creates a new object wrapping a Expr element. |
static JxField |
createJxField(org.w3c.dom.Element elem)
Creates a new object wrapping a Field element. |
static JxFieldAccess |
createJxFieldAccess(org.w3c.dom.Element elem)
Creates a new object wrapping a Expr element with the sort="FieldRef" attribute. |
static JxFieldAccess |
createJxFieldAccess(org.w3c.dom.Element elem,
org.w3c.dom.Element decl)
Creates a new object wrapping a Expr element with the sort="FieldRef" attribute. |
static JxFile |
createJxFile(org.w3c.dom.Element elem)
Creates a new object wrapping a File element. |
static JxImport |
createJxImport(org.w3c.dom.Element elem)
Creates a new object wrapping a Import element. |
static JxLocal |
createJxLocal(org.w3c.dom.Element elem)
Creates a new object wrapping a Local element. |
static JxMethod |
createJxMethod(org.w3c.dom.Element elem)
Creates a new object wrapping a Method or Ctor element. |
static JxMethodCall |
createJxMethodCall(org.w3c.dom.Element elem)
Creates a new object wrapping a Expr element
with the sort="MethodCall" or sort="CtorCall"attribute. |
static JxPackage |
createJxPackage(org.w3c.dom.Element elem)
Creates a new object wrapping a Package element. |
static JxParameter |
createJxParameter(org.w3c.dom.Element elem)
Creates a new object wrapping a Param element. |
static JxStatement |
createJxStatement(org.w3c.dom.Element elem)
Creates a new object wrapping a Stmt element. |
static JxStaticInit |
createJxStaticInit(org.w3c.dom.Element elem)
Creates a new object wrapping a SInit element. |
static JxType |
createJxType(org.w3c.dom.Element elem)
Creates a new object wrapping a Type element. |
static JxVariable |
createJxVariable(org.w3c.dom.Element elem)
Creates a new object wrapping a Expr element
with the sort="VarRef" or sort="FieldRef" attribute. |
static JxVariable |
createJxVariable(org.w3c.dom.Element elem,
org.w3c.dom.Element decl)
Creates a new object wrapping a Expr element
with the sort="VarRef" or sort="FieldRef" attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JxWrapperFactory()
| Method Detail |
public static JxFile createJxFile(org.w3c.dom.Element elem)
throws JxWrapperException
File element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxPackage createJxPackage(org.w3c.dom.Element elem)
throws JxWrapperException
Package element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxImport createJxImport(org.w3c.dom.Element elem)
throws JxWrapperException
Import element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxClass createJxClass(org.w3c.dom.Element elem)
throws JxWrapperException
Class or Intf element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxField createJxField(org.w3c.dom.Element elem)
throws JxWrapperException
Field element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxMethod createJxMethod(org.w3c.dom.Element elem)
throws JxWrapperException
Method or Ctor element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxStaticInit createJxStaticInit(org.w3c.dom.Element elem)
throws JxWrapperException
SInit element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxType createJxType(org.w3c.dom.Element elem)
throws JxWrapperException
Type element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxDefUseExpression createJxDefUseExpression(org.w3c.dom.Element elem)
throws JxWrapperException
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxExpression createJxExpression(org.w3c.dom.Element elem)
throws JxWrapperException
Expr element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxStatement createJxStatement(org.w3c.dom.Element elem)
throws JxWrapperException
Stmt element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxLocal createJxLocal(org.w3c.dom.Element elem)
throws JxWrapperException
Local element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxParameter createJxParameter(org.w3c.dom.Element elem)
throws JxWrapperException
Param element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxFieldAccess createJxFieldAccess(org.w3c.dom.Element elem,
org.w3c.dom.Element decl)
throws JxWrapperException
Expr element with the sort="FieldRef" attribute.
elem - An DOM element to be wrapped.decl - The declaration's element referenced by this field varaible.
JxWrapperException - if the specified element is not valid.
public static JxFieldAccess createJxFieldAccess(org.w3c.dom.Element elem)
throws JxWrapperException
Expr element with the sort="FieldRef" attribute.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxMethodCall createJxMethodCall(org.w3c.dom.Element elem)
throws JxWrapperException
Expr element
with the sort="MethodCall" or sort="CtorCall"attribute.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
public static JxVariable createJxVariable(org.w3c.dom.Element elem,
org.w3c.dom.Element decl)
throws JxWrapperException
Expr element
with the sort="VarRef" or sort="FieldRef" attribute.
elem - A DOM element to be wrapped.decl - The declaration's element referenced by this varaible.
The kind of this variable is undecided if this parameter is null.
JxWrapperException - if the specified element is not valid.
public static JxVariable createJxVariable(org.w3c.dom.Element elem)
throws JxWrapperException
Expr element
with the sort="VarRef" or sort="FieldRef" attribute.
elem - A DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||