mondrian.rolap.aggmatcher
Class DefaultDef.LevelMap

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.rolap.aggmatcher.DefaultDef.Base
          extended by mondrian.rolap.aggmatcher.DefaultDef.RegexMapper
              extended by mondrian.rolap.aggmatcher.DefaultDef.LevelMap
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Enclosing class:
DefaultDef

public static class DefaultDef.LevelMap
extends DefaultDef.RegexMapper

This is the template that maps from a combination of level usage_prefix hierarchy_name level_name level_column_name

See Also:
Serialized Form
 

Field Summary
 
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.RegexMapper
id, regexs
 
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.Base
enabled
 
Constructor Summary
DefaultDef.LevelMap()
           
DefaultDef.LevelMap(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
protected  Recognizer.Matcher getMatcher(String usagePrefix, String hierarchyName, String levelName, String levelColumnName)
           
 String getName()
           
protected  String[] getTemplateNames()
          This must be defined in derived classes.
 
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.RegexMapper
getMatcher, getTag, validate
 
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, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultDef.LevelMap

public DefaultDef.LevelMap()

DefaultDef.LevelMap

public DefaultDef.LevelMap(DOMWrapper _def)
                    throws XOMException
Throws:
XOMException
Method Detail

getName

public String getName()
Specified by:
getName in interface NodeDef
Overrides:
getName in class DefaultDef.RegexMapper

display

public void display(PrintWriter _out,
                    int _indent)
Specified by:
display in interface NodeDef
Overrides:
display in class DefaultDef.RegexMapper

displayXML

public void displayXML(XMLOutput _out,
                       int _indent)
Specified by:
displayXML in interface NodeDef
Overrides:
displayXML in class DefaultDef.RegexMapper

displayDiff

public boolean displayDiff(ElementDef _other,
                           PrintWriter _out,
                           int _indent)
Overrides:
displayDiff in class DefaultDef.RegexMapper

getTemplateNames

protected String[] getTemplateNames()
Description copied from class: DefaultDef.RegexMapper
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.

Specified by:
getTemplateNames in class DefaultDef.RegexMapper
Returns:
array of symbol names

getMatcher

protected Recognizer.Matcher getMatcher(String usagePrefix,
                                        String hierarchyName,
                                        String levelName,
                                        String levelColumnName)

SourceForge.net_Logo