org.metasyntactic.xml
Class XMLUtilities
java.lang.Object
|
+--org.metasyntactic.xml.XMLUtilities
- public class XMLUtilities
- extends java.lang.Object
|
Method Summary |
static org.w3c.dom.Document |
classDefinition(java.lang.Class clazz)
|
static void |
main(java.lang.String[] args)
|
protected static void |
processClass(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processDeclaredClasses(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processDeclaredConstructor(java.lang.reflect.Constructor constructor,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processDeclaredContructors(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processDeclaredField(java.lang.reflect.Field field,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processDeclaredFields(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processDeclaredMethod(java.lang.reflect.Method method,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processDeclaredMethods(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processExtends(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processImplements(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processParameters(java.lang.Class[] parameters,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processReturns(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
processThrows(java.lang.Class[] exceptions,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
|
protected static void |
setModifiers(org.w3c.dom.Element element,
int modifiers)
|
static org.w3c.dom.Document |
toDocument(java.lang.Object o)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_ELEMENT
public static final java.lang.String CLASS_ELEMENT
- See Also:
- Constant Field Values
DECLARED_CLASSES_ELEMENT
public static final java.lang.String DECLARED_CLASSES_ELEMENT
- See Also:
- Constant Field Values
INTERFACE_ELEMENT
public static final java.lang.String INTERFACE_ELEMENT
- See Also:
- Constant Field Values
IDREF_ATTRIBUTE
public static final java.lang.String IDREF_ATTRIBUTE
- See Also:
- Constant Field Values
ID_ATTRIBUTE
public static final java.lang.String ID_ATTRIBUTE
- See Also:
- Constant Field Values
REFERENCE_ELEMENT
public static final java.lang.String REFERENCE_ELEMENT
- See Also:
- Constant Field Values
EXTENDS_ELEMENT
public static final java.lang.String EXTENDS_ELEMENT
- See Also:
- Constant Field Values
IMPLEMENTS_ELEMENT
public static final java.lang.String IMPLEMENTS_ELEMENT
- See Also:
- Constant Field Values
CONSTRUCTORS_ELEMENT
public static final java.lang.String CONSTRUCTORS_ELEMENT
- See Also:
- Constant Field Values
CONSTRUCTOR_ELEMENT
public static final java.lang.String CONSTRUCTOR_ELEMENT
- See Also:
- Constant Field Values
PARAMETERS_ELEMENT
public static final java.lang.String PARAMETERS_ELEMENT
- See Also:
- Constant Field Values
SIGNATURE_ATRIBUTE
public static final java.lang.String SIGNATURE_ATRIBUTE
- See Also:
- Constant Field Values
FIELDS_ELEMENT
public static final java.lang.String FIELDS_ELEMENT
- See Also:
- Constant Field Values
FIELD_ELEMENT
public static final java.lang.String FIELD_ELEMENT
- See Also:
- Constant Field Values
NAME_ATTRIBUTE
public static final java.lang.String NAME_ATTRIBUTE
- See Also:
- Constant Field Values
TYPE_ELEMENT
public static final java.lang.String TYPE_ELEMENT
- See Also:
- Constant Field Values
METHODS_ELEMENT
public static final java.lang.String METHODS_ELEMENT
- See Also:
- Constant Field Values
METHOD_ELEMENT
public static final java.lang.String METHOD_ELEMENT
- See Also:
- Constant Field Values
TRUE_ATTRIBUTE
public static final java.lang.String TRUE_ATTRIBUTE
THROWS_ELEMENT
public static final java.lang.String THROWS_ELEMENT
- See Also:
- Constant Field Values
RETURNS_ELEMENT
public static final java.lang.String RETURNS_ELEMENT
- See Also:
- Constant Field Values
XMLUtilities
public XMLUtilities()
toDocument
public static org.w3c.dom.Document toDocument(java.lang.Object o)
classDefinition
public static org.w3c.dom.Document classDefinition(java.lang.Class clazz)
processClass
protected static void processClass(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processExtends
protected static void processExtends(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processImplements
protected static void processImplements(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processDeclaredClasses
protected static void processDeclaredClasses(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processDeclaredFields
protected static void processDeclaredFields(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
setModifiers
protected static void setModifiers(org.w3c.dom.Element element,
int modifiers)
processDeclaredField
protected static void processDeclaredField(java.lang.reflect.Field field,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processDeclaredContructors
protected static void processDeclaredContructors(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processDeclaredConstructor
protected static void processDeclaredConstructor(java.lang.reflect.Constructor constructor,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processThrows
protected static void processThrows(java.lang.Class[] exceptions,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processParameters
protected static void processParameters(java.lang.Class[] parameters,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processDeclaredMethods
protected static void processDeclaredMethods(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processDeclaredMethod
protected static void processDeclaredMethod(java.lang.reflect.Method method,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
processReturns
protected static void processReturns(java.lang.Class clazz,
org.w3c.dom.Document document,
org.w3c.dom.Node currentNode,
MutableInt id,
java.util.HashMap typeToID)
main
public static void main(java.lang.String[] args)