public abstract class RuleManager extends java.lang.Object implements Manager, UIBundle, java.io.Serializable
Mergeable
objects.
Views call the managers to have items formatted.DiscriminatorRule
,
Mergeable
,
Discriminator
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.util.Vector |
m_bundles |
protected java.util.Hashtable |
m_context |
protected DataviewCommon |
m_dataview |
protected RuleBundle |
m_uiBundle |
protected static java.lang.String |
UIBUNDLE_NAME |
Constructor and Description |
---|
RuleManager()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dataSourceChanged()
Called on a manager to inform it the data source
has changed.
|
java.util.Vector |
getBundles()
Retrieves the vector of rule bundles that this manager uses to format
DataviewCommon items. |
RuleBundle |
getUIBundle()
Retrieves the
RuleBundle that the Java-client user
interface uses. |
oracle.dss.util.xml.ObjectNode |
getXML(boolean allProperties,
java.lang.String name,
DataviewCommon dataview) |
void |
setBundles(DataviewCommon view,
java.util.Vector bundles)
Specifies the vector of
RuleBundle objects to use. |
void |
setContext(java.util.Hashtable context) |
void |
setUIBundle(DataviewCommon view,
RuleBundle bundle)
Specifies the
RuleBundle for the Java-client user interface
to use. |
void |
setXML(oracle.dss.util.xml.ContainerNode node,
DataviewCommon dataview,
java.lang.String version,
int reset) |
@Concealed protected DataviewCommon m_dataview
@Concealed protected java.util.Vector m_bundles
@Concealed protected RuleBundle m_uiBundle
@Concealed protected java.util.Hashtable m_context
@Concealed protected static final java.lang.String UIBUNDLE_NAME
public void setBundles(DataviewCommon view, java.util.Vector bundles)
RuleBundle
objects to use.bundles
- The vector of rule bundles that this manager should
use.RuleBundle
public java.util.Vector getBundles()
DataviewCommon
items.RuleBundle
@Concealed public void dataSourceChanged()
Manager
dataSourceChanged
in interface Manager
@Concealed public void setContext(java.util.Hashtable context)
context
- A hashtable that a user can use to pass XMLContext
One can also use this table to pass more information
to its objects.@Concealed public void setXML(oracle.dss.util.xml.ContainerNode node, DataviewCommon dataview, java.lang.String version, int reset)
@Concealed public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties, java.lang.String name, DataviewCommon dataview)
public RuleBundle getUIBundle()
RuleBundle
that the Java-client user
interface uses.
The RuleBundle
is passed by reference.getUIBundle
in interface UIBundle
RuleBundle
that the user interface uses.public void setUIBundle(DataviewCommon view, RuleBundle bundle)
RuleBundle
for the Java-client user interface
to use.
This RuleBundle
is passed by reference.setUIBundle
in interface UIBundle
view
- The view that RuleBundle
applies to.bundle
- The RuleBundle
for the user interface.