| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DiscriminatorXML
Methods that are required for discriminators that can be saved as XML.
| Method Summary | |
|---|---|
|  oracle.dss.util.xml.ObjectNode | getXML(boolean allProperties,
       ComponentTypeConverter converter,
       boolean emptyElement)Retrieves XML that represents properties and their values in the form of and ObjectNode. | 
|  boolean | setXML(oracle.dss.util.xml.ObjectNode node,
       ComponentTypeConverter converter,
       java.lang.String version,
       int reset)Specifies XML that represents properties and values. | 
| Methods inherited from interface oracle.dss.rules.discriminator.Discriminator | 
|---|
| applies, clone | 
| Method Detail | 
|---|
oracle.dss.util.xml.ObjectNode getXML(boolean allProperties,
                                      ComponentTypeConverter converter,
                                      boolean emptyElement)
ObjectNode.
allProperties - true to store all property values in XML,
                      false to store only values that are different
                      from default values.converter - A converter that converts component strings to integers
                  and integers to strings.emptyElement - true if an empty element needs to be returned
                     when none of the property values have changed from default.
                      false if null should should be returned when
                      none of the property values have changed from default.
                      This argument is considered only if
                      allProperties is false.
boolean setXML(oracle.dss.util.xml.ObjectNode node,
               ComponentTypeConverter converter,
               java.lang.String version,
               int reset)
DiscriminatorXML.
node - ObjectNode that has the properties and their values.converter - A converter that converts component strings to integers
                  and vice versa.version - The XML version.reset - A constant that indicates how much to reset when XML
               is applied. Valid values are listed in the See Also section.
true if XML is properly applied,
         false if the XML cannot be applied.Rule.RESET_NONE, 
Rule.RESET_XML_PROPERTIES, 
Rule.RESET_EVERYTHING| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||