mondrian.rolap.aggmatcher
Class DefaultDef.Base

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.rolap.aggmatcher.DefaultDef.Base
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Direct Known Subclasses:
DefaultDef.AggRule, DefaultDef.CaseMatcher, DefaultDef.Ref, DefaultDef.RegexMapper
Enclosing class:
DefaultDef

public abstract static class DefaultDef.Base
extends ElementDef

Base is the base class for all of the elements. All elements can be enabled or not, have a tag, and can be validated.

See Also:
Serialized Form
 

Field Summary
 Boolean enabled
           
 
Constructor Summary
DefaultDef.Base()
           
DefaultDef.Base(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 String getName()
           
protected abstract  String getTag()
           
 boolean isEnabled()
           
abstract  void validate(DefaultDef.AggRules rules, MessageRecorder msgRecorder)
           
 
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
 

Field Detail

enabled

public Boolean enabled
Constructor Detail

DefaultDef.Base

public DefaultDef.Base()

DefaultDef.Base

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

getName

public String getName()
Specified by:
getName in interface NodeDef
Overrides:
getName in class ElementDef

display

public void display(PrintWriter _out,
                    int _indent)

displayXML

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

displayDiff

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

isEnabled

public boolean isEnabled()

getTag

protected abstract String getTag()

validate

public abstract void validate(DefaultDef.AggRules rules,
                              MessageRecorder msgRecorder)

SourceForge.net_Logo