|
Oracle™ Business Intelligence Beans Java API Reference
Release 10g (9.0.4)
Part number B12159_01
|
PREV CLASS NEXT CLASS |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
oracle.dss.rules.discriminator
Interface DiscriminatorXML
- All Superinterfaces:
- java.lang.Cloneable, Discriminator, java.io.Serializable
- All Known Implementing Classes:
- ComponentTypeDiscriminator, PositionDiscriminator, QDRDiscriminator, ValueDiscriminator, CompositeDiscriminator
- public interface DiscriminatorXML
- extends Discriminator
Methods that are required for discriminators that can be saved as XML.
Method Summary |
interface |
getXML(boolean allProperties, ComponentTypeConverter converter, boolean emptyElement)
Retrieves XML that represents properties and their values in the form of and ObjectNode . |
boolean |
setXML( node, ComponentTypeConverter converter, java.lang.String version, int reset)
Specifies XML that represents properties and values. |
getXML
public getXML(boolean allProperties,
ComponentTypeConverter converter,
boolean emptyElement)
- Retrieves XML that represents properties and their values in the form of and
ObjectNode
.
-
- Parameters:
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
.
- Returns:
- XML for the properties and values.
setXML
public boolean setXML( node,
ComponentTypeConverter converter,
java.lang.String version,
int reset)
- Specifies XML that represents properties and values. This method applies the values of the properties in the XML to the
DiscriminatorXML
.
-
- Parameters:
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.
- Returns:
true
if XML is properly applied, false
if the XML cannot be applied.
- See Also:
Rule.RESET_NONE
, Rule.RESET_XML_PROPERTIES
, Rule.RESET_EVERYTHING
|
Oracle™ Business Intelligence Beans Java API Reference
Release 10g (9.0.4)
Part number B12159_01
|
PREV CLASS NEXT CLASS |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2003, Oracle. All Rights Reserved.