Package 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
,org.eigenbase.xom.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
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
BAD_ID
String
dot
String
space
String
template
protected int[]
templateNamePos
protected String[]
templateParts
-
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
_charcase_values, charcase, id
-
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.Base
enabled
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
display(PrintWriter _out, int _indent)
boolean
displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
void
displayXML(org.eigenbase.xom.XMLOutput _out, int _indent)
String
getDot()
protected mondrian.rolap.aggmatcher.Recognizer.Matcher
getMatcher(String[] names)
String
getName()
String
getRegex(String[] names)
String
getSpace()
String
getTemplate()
protected abstract String[]
getTemplateNames()
void
validate(DefaultDef.AggRules rules, MessageRecorder msgRecorder)
-
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.CaseMatcher
getCharCase, getId, getTag
-
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.Base
isEnabled
-
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, getLocation, getMixedChildren, getMixedChildren_new, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classDefaultDef.CaseMatcher
-
display
public void display(PrintWriter _out, int _indent)
- Specified by:
display
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
display
in classDefaultDef.CaseMatcher
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent)
- Specified by:
displayXML
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classDefaultDef.CaseMatcher
-
displayDiff
public boolean displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classDefaultDef.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 classDefaultDef.CaseMatcher
-
getTemplateNames
protected abstract String[] getTemplateNames()
-
getMatcher
protected mondrian.rolap.aggmatcher.Recognizer.Matcher getMatcher(String[] names)
-
-