public class Conditionref extends Object implements Evaluable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Conditionref() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(WordprocessingMLPackage pkg,
Map<String,CustomXmlPart> customXmlDataStorageParts,
Map<String,Condition> conditionsMap,
Map<String,Xpaths.Xpath> xpathsMap) |
String |
getId()
Gets the value of the id property.
|
void |
listXPaths(List<Xpaths.Xpath> theList,
Map<String,Condition> conditionsMap,
Map<String,Xpaths.Xpath> xpathsMap)
List the XPaths used in this condition.
|
void |
mapIds(Map<String,String> xpathIdMap,
Map<String,String> conditionIdMap)
Map the IDs used in this condition to new values; useful for merging ConditionParts.
|
Condition |
repeat(String xpathBase,
int index,
Map<String,Condition> conditionsMap,
Map<String,Xpaths.Xpath> xpathsMap)
Create a condition for this instance of a repeat.
|
void |
setId(String value)
Sets the value of the id property.
|
String |
toString(Map<String,Condition> conditionsMap,
Map<String,Xpaths.Xpath> xpathsMap)
Build the XPath expression
|
protected String id
public void setId(String value)
value - allowed object is
Stringpublic boolean evaluate(WordprocessingMLPackage pkg, Map<String,CustomXmlPart> customXmlDataStorageParts, Map<String,Condition> conditionsMap, Map<String,Xpaths.Xpath> xpathsMap)
public void listXPaths(List<Xpaths.Xpath> theList, Map<String,Condition> conditionsMap, Map<String,Xpaths.Xpath> xpathsMap)
EvaluablelistXPaths in interface Evaluablepublic void mapIds(Map<String,String> xpathIdMap, Map<String,String> conditionIdMap)
public String toString(Map<String,Condition> conditionsMap, Map<String,Xpaths.Xpath> xpathsMap)
EvaluableCopyright © 2007-2022. All Rights Reserved.