mondrian.rolap.aggmatcher
Class DefaultDef.RegexMapper
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.rolap.aggmatcher.DefaultDef.Base
mondrian.rolap.aggmatcher.DefaultDef.RegexMapper
- All Implemented Interfaces:
- Serializable, Cloneable, NodeDef
- Direct Known Subclasses:
- DefaultDef.IgnoreMap, DefaultDef.LevelMap, DefaultDef.MeasureMap
- Enclosing class:
- DefaultDef
public abstract static class DefaultDef.RegexMapper
- extends DefaultDef.Base
- See Also:
- Serialized Form
-
-
Methods inherited from class org.eigenbase.xom.ElementDef |
addChild, 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, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual |
id
public String id
regexs
public DefaultDef.Regex[] regexs
- This is an array of Regex. A match occurs if any one of
the Regex matches; it is the equivalent of or-ing the
regular expressions together. A candidate string is processed
sequentially by each Regex in their document order until
one matches. In none match, well, none match.
DefaultDef.RegexMapper
public DefaultDef.RegexMapper()
DefaultDef.RegexMapper
public DefaultDef.RegexMapper(DOMWrapper _def)
throws XOMException
- Throws:
XOMException
getName
public String getName()
- Specified by:
getName
in interface NodeDef
- Overrides:
getName
in class DefaultDef.Base
display
public void display(PrintWriter _out,
int _indent)
- Specified by:
display
in interface NodeDef
- Overrides:
display
in class DefaultDef.Base
displayXML
public void displayXML(XMLOutput _out,
int _indent)
- Specified by:
displayXML
in interface NodeDef
- Overrides:
displayXML
in class DefaultDef.Base
displayDiff
public boolean displayDiff(ElementDef _other,
PrintWriter _out,
int _indent)
- Overrides:
displayDiff
in class DefaultDef.Base
getTag
protected String getTag()
- Specified by:
getTag
in class DefaultDef.Base
validate
public void validate(DefaultDef.AggRules rules,
MessageRecorder msgRecorder)
- Specified by:
validate
in class DefaultDef.Base
getTemplateNames
protected abstract String[] getTemplateNames()
- This must be defined in derived classes. It returns an array of
symbolic names that are the symbolic names allowed to appear
in the regular expression templates.
- Returns:
- array of symbol names
getMatcher
protected Recognizer.Matcher getMatcher(String[] names)