com.bea.p13n.rules.model
Class UnrecognizedClauseModel
java.lang.Object
com.bea.p13n.model.Model
com.bea.p13n.model.XmlObjectModel
com.bea.p13n.rules.model.ClauseModel
com.bea.p13n.rules.model.UnrecognizedClauseModel
- All Implemented Interfaces
- Serializable, Cloneable
public class UnrecognizedClauseModel
- extends ClauseModel
A model representing an unrecognized set of rules/expression xml.
These can only be created by setting an XmlObject.
initializeNew
will always throw an IllegalArgumentException.
- See Also
- Serialized Form
Field Summary |
static String |
CLAUSE_TYPE
The standard clauseType for an UnrecognizedClauseModel |
Constructor Summary |
UnrecognizedClauseModel(org.apache.xmlbeans.XmlObject clause)
Constructor from the unrecognized xml. |
Method Summary |
void |
clearCachedData()
Clear any cached data this has. |
org.apache.xmlbeans.XmlObject |
createNewXmlObject(String clauseType)
Override to always throw an IllegalArgumentException creation. |
void |
initializeNew(String clauseType)
Override to always throw an IllegalArgumentException creation. |
void |
setXmlObject(String clauseType,
org.apache.xmlbeans.XmlObject clause)
Set the xml object this should use. |
Methods inherited from class com.bea.p13n.rules.model.ClauseModel |
addBranch, addLiteral, addMethod, addMethodOrOperator, addOperator, addVariable, addVariableBinding, copy, getClauseType, getContainingRuleModel, getCopyXmlObject, isInActions, isInConditions, isValidTypeAlias, isValidVariableName, makeSafeCopy, toString |
Methods inherited from class com.bea.p13n.model.XmlObjectModel |
checkElement, childAdded, childRemoved, determineIsComplete, fixQName, getApplicationInstanceUri, getChild, getDocument, getLocalName, getParent, getQName, getRootXmlObject, isComplete, isNil, preRemove, propertyChanged, removeAllChildren, removeChild, setApplicationInstanceUri, setIsComplete, setIsComplete, setParent, setRootXmlObject |
Methods inherited from class com.bea.p13n.model.Model |
addChangeListener, addChild, addChild, clone, doubleEquals, equals, getChildren, getDebug, getDebug, getDocument, getParent, longEquals, removeChangeListener, removeChild, removeChild, removeEmpties, setDocument |
CLAUSE_TYPE
public static final String CLAUSE_TYPE
- The standard clauseType for an UnrecognizedClauseModel
- See Also
- Constants Summary
UnrecognizedClauseModel
public UnrecognizedClauseModel(org.apache.xmlbeans.XmlObject clause)
- Constructor from the unrecognized xml.
setXmlObject
public void setXmlObject(String clauseType,
org.apache.xmlbeans.XmlObject clause)
- Set the xml object this should use.
- Overrides:
setXmlObject
in class ClauseModel
- Parameters
clauseType
- the clause type of the clause.clause
- the root xml object of the clause.
initializeNew
public void initializeNew(String clauseType)
throws IllegalArgumentException
- Override to always throw an IllegalArgumentException creation.
- Overrides:
initializeNew
in class ClauseModel
- Parameters
clauseType
- the clause type of the clause.
- Throws
IllegalArgumentException
- thrown on an unsupported clauseType.- See Also
ClauseModel.setXmlObject(java.lang.String, org.apache.xmlbeans.XmlObject)
,
ClauseModel.createNewXmlObject(java.lang.String)
createNewXmlObject
public org.apache.xmlbeans.XmlObject createNewXmlObject(String clauseType)
throws IllegalArgumentException
- Override to always throw an IllegalArgumentException creation.
- Specified by:
createNewXmlObject
in class ClauseModel
- Parameters
clauseType
- the clause type of the clause.
- Returns
- a new, empty initialize root object.
- Throws
IllegalArgumentException
- thrown on an unsupproted clauseType.
clearCachedData
public void clearCachedData()
- Clear any cached data this has.
- Specified by:
clearCachedData
in class XmlObjectModel
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.