mondrian.rolap.aggmatcher
Class DefaultDef.Mapper
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.rolap.aggmatcher.DefaultDef.Base
mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
mondrian.rolap.aggmatcher.DefaultDef.Mapper
- All Implemented Interfaces:
- Serializable, Cloneable, NodeDef
- Enclosing class:
- DefaultDef
public abstract static class DefaultDef.Mapper
- extends DefaultDef.CaseMatcher
This allows one to create an element that matches against a
single template, where the template is an attribute.
While much loved, this is currently not used.
- 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 |
template
public String template
space
public String space
dot
public String dot
BAD_ID
protected static final int BAD_ID
- See Also:
- Constant Field Values
templateParts
protected String[] templateParts
templateNamePos
protected int[] templateNamePos
DefaultDef.Mapper
public DefaultDef.Mapper()
DefaultDef.Mapper
public DefaultDef.Mapper(DOMWrapper _def)
throws XOMException
- Throws:
XOMException
getName
public String getName()
- Specified by:
getName
in interface NodeDef
- Overrides:
getName
in class DefaultDef.CaseMatcher
display
public void display(PrintWriter _out,
int _indent)
- Specified by:
display
in interface NodeDef
- Overrides:
display
in class DefaultDef.CaseMatcher
displayXML
public void displayXML(XMLOutput _out,
int _indent)
- Specified by:
displayXML
in interface NodeDef
- Overrides:
displayXML
in class DefaultDef.CaseMatcher
displayDiff
public boolean displayDiff(ElementDef _other,
PrintWriter _out,
int _indent)
- Overrides:
displayDiff
in class DefaultDef.CaseMatcher
getTemplate
public String getTemplate()
getSpace
public String getSpace()
getDot
public String getDot()
validate
public void validate(DefaultDef.AggRules rules,
MessageRecorder msgRecorder)
- Overrides:
validate
in class DefaultDef.CaseMatcher
getTemplateNames
protected abstract String[] getTemplateNames()
getRegex
public String getRegex(String[] names)
getMatcher
protected Recognizer.Matcher getMatcher(String[] names)