public static class DefaultDef.Regex extends DefaultDef.CaseMatcher
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BAD_ID |
String |
cdata |
String |
dot |
String |
space |
protected int[] |
templateNamePos
This is a one-to-one mapping, each template name can appear
at most once.
|
protected String[] |
templateParts |
_charcase_values, charcase, idenabled| Constructor and Description |
|---|
DefaultDef.Regex() |
DefaultDef.Regex(DOMWrapper _def) |
| Modifier and Type | Method and Description |
|---|---|
void |
display(PrintWriter _out,
int _indent) |
boolean |
displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
void |
displayXML(XMLOutput _out,
int _indent) |
String |
getDot() |
String |
getName() |
protected Pattern |
getPattern(String[] names) |
String |
getRegex(String[] names) |
String |
getSpace() |
String |
getTemplate() |
void |
validate(DefaultDef.AggRules rules,
String[] templateNames,
MessageRecorder msgRecorder) |
getCharCase, getId, getTag, validateisEnabledaddChild, addChildren, clone, constructElement, constructElement, deepCopy, diff, displayAttribute, displayAttributeDiff, displayElement, displayElementArray, displayElementArrayDiff, displayElementDiff, displayIndent, displayString, displayStringArray, displayStringArrayDiff, displayStringDiff, displayXML, displayXMLElement, displayXMLElementArray, displayXMLString, displayXMLStringArray, equals, getChildren, getElementChildren, getElementClass, getLocation, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqualpublic String space
public String dot
public String cdata
protected static final int BAD_ID
protected String[] templateParts
protected int[] templateNamePos
public DefaultDef.Regex()
public DefaultDef.Regex(DOMWrapper _def) throws XOMException
XOMExceptionpublic String getName()
getName in interface NodeDefgetName in class DefaultDef.CaseMatcherpublic void display(PrintWriter _out, int _indent)
display in interface NodeDefdisplay in class DefaultDef.CaseMatcherpublic void displayXML(XMLOutput _out, int _indent)
displayXML in interface NodeDefdisplayXML in class DefaultDef.CaseMatcherpublic boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
displayDiff in class DefaultDef.CaseMatcherpublic String getSpace()
public String getDot()
public String getTemplate()
public void validate(DefaultDef.AggRules rules, String[] templateNames, MessageRecorder msgRecorder)