Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

oracle.dss.dataView.managers
Class RuleManager

java.lang.Object
  extended by oracle.dss.dataView.managers.RuleManager
All Implemented Interfaces:
java.io.Serializable, Manager, UIBundle
Direct Known Subclasses:
GraphRuleFormatter, GraphRuleStyles

public abstract class RuleManager
extends java.lang.Object
implements Manager, UIBundle, java.io.Serializable

A manager for rules-based formatting. Concrete subclasses of this class work on specific kinds of Mergeable objects. Views call the managers to have items formatted.

See Also:
DiscriminatorRule, Mergeable, Discriminator, Serialized Form

Field Summary
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 Summary
RuleManager()
          Constructor.
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_dataview

protected DataviewCommon m_dataview
For internal use only. Application developers should not use this

m_bundles

protected java.util.Vector m_bundles
For internal use only. Application developers should not use this

m_uiBundle

protected RuleBundle m_uiBundle
For internal use only. Application developers should not use this

m_context

protected java.util.Hashtable m_context
For internal use only. Application developers should not use this

UIBUNDLE_NAME

protected static final java.lang.String UIBUNDLE_NAME
See Also:
Constant Field Values
For internal use only. Application developers should not use this
XML element name for the UIBundle
Constructor Detail

RuleManager

public RuleManager()
Constructor.

Method Detail

setBundles

public void setBundles(DataviewCommon view,
                       java.util.Vector bundles)
Specifies the vector of RuleBundle objects to use.

Parameters:
bundles - The vector of rule bundles that this manager should use.
See Also:
RuleBundle

getBundles

public java.util.Vector getBundles()
Retrieves the vector of rule bundles that this manager uses to format DataviewCommon items.

Returns:
The vector of rule bundles that this manager uses.
See Also:
RuleBundle

dataSourceChanged

public void dataSourceChanged()
Description copied from interface: Manager
Called on a manager to inform it the data source has changed.

Specified by:
dataSourceChanged in interface Manager
For internal use only. Application developers should not use this
Responds to a change in the data source. This implementation does nothing.

setContext

public void setContext(java.util.Hashtable context)
Parameters:
context - A hashtable that a user can use to pass XMLContext One can also use this table to pass more information to its objects.
For internal use only. Application developers should not use this
sets the context

setXML

public void setXML(oracle.dss.util.xml.ContainerNode node,
                   DataviewCommon dataview,
                   java.lang.String version,
                   int reset)
For internal use only. Application developers should not use this

getXML

public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties,
                                             java.lang.String name,
                                             DataviewCommon dataview)
For internal use only. Application developers should not use this

getUIBundle

public RuleBundle getUIBundle()
Retrieves the RuleBundle that the Java-client user interface uses. The RuleBundle is passed by reference.

Specified by:
getUIBundle in interface UIBundle
Returns:
The RuleBundle that the user interface uses.

setUIBundle

public void setUIBundle(DataviewCommon view,
                        RuleBundle bundle)
Specifies the RuleBundle for the Java-client user interface to use. This RuleBundle is passed by reference.

Specified by:
setUIBundle in interface UIBundle
Parameters:
view - The view that RuleBundle applies to.
bundle - The RuleBundle for the user interface.

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

Copyright © 1997, 2011, Oracle. All rights reserved.