|
|||||||||||
| 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.JxClass
org.jtool.jxplatform.wrapper.JxBinaryClass
An object wrapping a Class element of an XML document generated from a binary file.
The binary file contains only one class or interface.
| Field Summary |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxClass |
anonymous, constructorElems, fieldElems, fields, fqn, member, methodElems, methods, name |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxElement |
element |
| Constructor Summary | |
protected |
JxBinaryClass()
Creates a new, empty object. |
protected |
JxBinaryClass(org.w3c.dom.Element elem)
Creates a new object wrapping a binary Class element. |
| Method Summary | |
JxClassList |
getAllAncestors()
Returns the wrapper list of the ancestors of this class. |
JxClassList |
getAllInnerClasses()
Returns the wrapper list of all the inner classes. |
JxFieldList |
getAllJxFields()
Returns the wrapper list of all fields within this file. |
JxMethodList |
getAllJxMethods()
Returns the wrapper list of all methods and constructors within this file. |
JxClassList |
getAllOuterJxClasses()
Returns the wrapper list of all the outer classes. |
JxClassList |
getAllSuperclasses()
Returns the wrapper list of all the superclasses of this class. |
JxClassList |
getAllSuperInterfaces()
Returns the wrapper list of all the super interfaces of this class. |
JxClassList |
getInnerClasses()
Returns the wrapper list of the immediately inner classes. |
JxField |
getJxField(java.lang.String name)
Returns a wrapper for a field with a given name. |
JxFile |
getJxFile()
Obtains a file wrapper defining this class. |
JxMethod |
getJxMethod(java.lang.String sig)
Returns a wrapper for a method with a given signature. |
JxClass |
getOuterJxClass()
Returns the wrapper of the immediately outer class. |
java.lang.String |
getSuperclassFqn()
Returns the fully qualified name of a superclass of this class. |
java.lang.String |
getSuperclassName()
Returns the name of a superclass of this class. |
java.lang.String[] |
getSuperInterfaceFqns()
Returns the array of fully qualified names of super interfaces of this class. |
java.lang.String[] |
getSuperInterfaceNames()
Returns the array of names of super interfaces of this class. |
void |
print()
Displays information about this class wrapper for debugging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected JxBinaryClass()
protected JxBinaryClass(org.w3c.dom.Element elem)
throws JxWrapperException
Class element.
elem - An DOM element to be wrapped.
JxWrapperException - JxWrapperException if the specified element is not valid.| Method Detail |
public JxFile getJxFile()
getJxFile in class JxClassJxBinaryFile wrapper defining this class.JxClass.getJxFile()
public JxMethodList getAllJxMethods()
throws JxWrapperException
getAllJxMethods in class JxClassJxWrapperException - if creation of the method or constructor wrapper fails.JxClass.getAllJxMethods()
public JxFieldList getAllJxFields()
throws JxWrapperException
getAllJxFields in class JxClassJxWrapperException - if creation of the field wrapper fails.JxClass.getAllJxFields()public java.lang.String getSuperclassFqn()
getSuperclassFqn in class JxClassnull if this class has no superclass.JxClass.getSuperclassFqn()public java.lang.String[] getSuperInterfaceFqns()
getSuperInterfaceFqns in class JxClassJxClass.getSuperInterfaceFqns()public java.lang.String getSuperclassName()
getSuperclassName in class JxClassJxClass.getSuperclassName()public java.lang.String[] getSuperInterfaceNames()
getSuperInterfaceNames in class JxClassJxClass.getSuperInterfaceNames()public JxMethod getJxMethod(java.lang.String sig)
getJxMethod in class JxClasssig - The signature of a method to be retrived.
JxBinaryMethod wrapper, null if there is no element found.JxClass.getJxMethod(String)public JxField getJxField(java.lang.String name)
getJxField in class JxClassname - The name of a field to be retrived.
JxBinaryField wrapper, null if there is no element found.JxClass.getJxField(String)public JxClass getOuterJxClass()
getOuterJxClass in class JxClassJxClass.getOuterJxClass()public JxClassList getAllOuterJxClasses()
getAllOuterJxClasses in class JxClassJxClass.getOuterClassElement()public JxClassList getInnerClasses()
getInnerClasses in class JxClassJxClass.getInnerClasses()public JxClassList getAllInnerClasses()
getAllInnerClasses in class JxClassJxClass.getAllInnerClasses()public JxClassList getAllAncestors()
getAllAncestors in class JxClassJxClass.getAllAncestors()public JxClassList getAllSuperclasses()
getAllSuperclasses in class JxClassJxClass.getAllSuperclasses()public JxClassList getAllSuperInterfaces()
getAllSuperInterfaces in class JxClassJxClass.getAllSuperInterfaces()public void print()
print in class JxClassJxClass.print()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||