public class BooleanCriterionWrapper extends CriterionWrapper implements org.mozilla.javascript.Wrapper
myDelegate
myLogger
Constructor and Description |
---|
BooleanCriterionWrapper()
Zero-arg constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
jsConstructor(java.lang.String theConjunction)
Construct a native BooleanCriterion object.
|
void |
jsFunction_addCriterion(CriterionWrapper theCriterion)
Boolean criteria permit nested criterion objects.
|
java.lang.String |
jsFunction_getConjunction()
Get the conjunction of this Criterion
|
boolean |
jsFunction_isNot()
Return whether this criterion is currently set to "not"
|
void |
jsFunction_setNot(boolean theNot)
Set the "not" setting.
|
CriterionWrapper |
jsFunction_simplify()
Simplifies boolean criteria removing unncecessary nesting level.
|
int |
jsFunction_size()
Get the number of subcriteria in this criterion.
|
jsFunction_getCondition, jsFunction_getValidConditions, jsFunction_getValue, jsFunction_setCondition, jsFunction_setValue
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public BooleanCriterionWrapper()
public void jsConstructor(java.lang.String theConjunction)
theConjunction
- The conjunction to use, e.g. "AND", "OR"public java.lang.String jsFunction_getConjunction()
public boolean jsFunction_isNot()
public void jsFunction_setNot(boolean theNot)
theNot
- The "not" setting to use for this criterion.public int jsFunction_size()
public void jsFunction_addCriterion(CriterionWrapper theCriterion)
theCriterion
- The criterion to add.public CriterionWrapper jsFunction_simplify()
Copyright © 2023 MediaBeacon, Inc. All Rights Reserved.