|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.model.Model com.bea.p13n.model.XmlObjectModel com.bea.p13n.rules.model.ClauseModel com.bea.p13n.rules.model.AddContentQueryModel
public class AddContentQueryModel
A rule action that asserts a ContentQueryModel
.
This is used from content selector rules.
This will have a single child of a ContentQueryModel (which cannot be
removed).
Nested Class Summary | |
---|---|
static class |
AddContentQueryModel.Recognizer
An object which can recognize this structure. |
Nested classes/interfaces inherited from class com.bea.p13n.model.Model |
---|
Model.ChangeEvent, Model.ChangeListener, Model.ChangeSupport, Model.Debug |
Field Summary | |
---|---|
static String |
CLAUSE_TYPE
The default clause type for this model. |
static String |
RULE_TYPE
The rule type for a rule that has this model as an action. |
Fields inherited from class com.bea.p13n.rules.model.ClauseModel |
---|
clauseType |
Fields inherited from class com.bea.p13n.model.XmlObjectModel |
---|
copyRootXmlObject, instanceUri, isComplete |
Fields inherited from class com.bea.p13n.model.Model |
---|
childrenModels, docModel, parentModel, roChildrenModels |
Constructor Summary | |
---|---|
AddContentQueryModel()
|
Method Summary | |
---|---|
void |
clearCachedData()
Subclasses need to override this to clear out any cached data. |
org.apache.xmlbeans.XmlObject |
createNewXmlObject(String clauseType)
Create a new, empty AddContentSelectorObject ). |
protected boolean |
determineIsComplete()
This is complete is its ContentQueryModel
is set and complete. |
ContentQueryModel |
getContentQueryModel()
Get our child content query model. |
protected org.apache.xmlbeans.XmlObject |
getCopyXmlObject()
Create a copy XmlObject of our root xml object. |
void |
setXmlObject(String clauseType,
org.apache.xmlbeans.XmlObject clause)
Set the root xml Object (should be AddContentSelectorObject ). |
Methods inherited from class com.bea.p13n.rules.model.ClauseModel |
---|
addBranch, addLiteral, addMethod, addMethodOrOperator, addOperator, addVariable, addVariableBinding, copy, getClauseType, getContainingRuleModel, initializeNew, isInActions, isInConditions, isValidTypeAlias, isValidVariableName, makeSafeCopy, toString |
Methods inherited from class com.bea.p13n.model.XmlObjectModel |
---|
checkElement, childAdded, childRemoved, 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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CLAUSE_TYPE
public static final String RULE_TYPE
Constructor Detail |
---|
public AddContentQueryModel()
Method Detail |
---|
public void setXmlObject(String clauseType, org.apache.xmlbeans.XmlObject clause) throws IllegalArgumentException
AddContentSelectorObject
).
setXmlObject
in class ClauseModel
clauseType
- the clause type of the clause.clause
- the root xml object of the clause.
IllegalArgument
- on wrong clause.
IllegalArgumentException
- thrown if the clause is not valid for
the ClauseModel or clauseType.public org.apache.xmlbeans.XmlObject createNewXmlObject(String clauseType)
AddContentSelectorObject
).
createNewXmlObject
in class ClauseModel
clauseType
- the clause type of the clause.
protected org.apache.xmlbeans.XmlObject getCopyXmlObject()
getCopyXmlObject
in class ClauseModel
ClauseModel.makeSafeCopy(XmlObject)
public void clearCachedData()
XmlObjectModel
changes
.
clearCachedData
in class XmlObjectModel
public ContentQueryModel getContentQueryModel()
protected boolean determineIsComplete()
ContentQueryModel
is set and complete.
determineIsComplete
in class XmlObjectModel
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |