|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.threadCheck.XMLAnnotUtils.AnnotationToXML
public static class XMLAnnotUtils.AnnotationToXML
Utilities for putting annotations into an XML configuration.
| Constructor Summary | |
|---|---|
XMLAnnotUtils.AnnotationToXML()
|
|
| Method Summary | |
|---|---|
private static void |
processAnnotation(XMLConfig xc,
org.w3c.dom.Node node,
java.util.List<AAnnotationsAttributeInfo.Annotation.NameValuePair> nvpList,
java.util.HashMap<java.lang.String,java.lang.String> paramTypes)
Process an annotation and add the <arg> tags underneath the specified node. |
static void |
processAnnotations(XMLConfig xc,
org.w3c.dom.Node root,
ThreadCheckAnnotationRecord tcAR)
Put the annotations from the lists into the XML document. |
private static void |
processPredicateAnnotations(XMLConfig xc,
org.w3c.dom.Node node,
java.util.HashMap<java.lang.String,java.util.ArrayList<PredicateAnnotationRecord>> pars)
Process a list of predicate annotations and add <predicate> or <combine> tags underneath the specified node. |
private static void |
processPredicateMembers(XMLConfig xc,
org.w3c.dom.Node node,
java.util.List<java.lang.String> paramNames,
java.util.HashMap<java.lang.String,java.lang.String> paramTypes,
java.util.List<AAnnotationsAttributeInfo.Annotation.AMemberValue> valueList)
Process a list of members and add the <arg> tags underneath the specified node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLAnnotUtils.AnnotationToXML()
| Method Detail |
|---|
public static void processAnnotations(XMLConfig xc,
org.w3c.dom.Node root,
ThreadCheckAnnotationRecord tcAR)
xc - XML configurationroot - node under which they are to appeartcAR - records of annotations
private static void processPredicateAnnotations(XMLConfig xc,
org.w3c.dom.Node node,
java.util.HashMap<java.lang.String,java.util.ArrayList<PredicateAnnotationRecord>> pars)
xc - XML configurationnode - XML node that is going to be the parent of the <predicate> or <combine> tagspars - predicate annotation records
private static void processAnnotation(XMLConfig xc,
org.w3c.dom.Node node,
java.util.List<AAnnotationsAttributeInfo.Annotation.NameValuePair> nvpList,
java.util.HashMap<java.lang.String,java.lang.String> paramTypes)
xc - XML configurationnode - XML node that is going to be the parent of the <arg> tagsnvpList - list of name-value pairsparamTypes - list of parameter types, or null if this information is not available
private static void processPredicateMembers(XMLConfig xc,
org.w3c.dom.Node node,
java.util.List<java.lang.String> paramNames,
java.util.HashMap<java.lang.String,java.lang.String> paramTypes,
java.util.List<AAnnotationsAttributeInfo.Annotation.AMemberValue> valueList)
xc - XML configurationnode - XML node that is going to be the parent of the <arg> tagsparamNames - list of parameter namesparamTypes - list of parameter types, or null if that information is not availablevalueList - list of values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||