public class ModProperty extends Property
ADD
, REMOVE
or REPLACE
Modifier and Type | Field and Description |
---|---|
static int |
ADD
This constant specifies to add a property with the specified values.
|
static int |
REMOVE
This constant specifies to remove the property with the specified values.
|
static int |
REPLACE
This constant specifies to replace the property with the specified values.
|
Constructor and Description |
---|
ModProperty(Property prop, int mod_op)
Construct a ModProperty from existing property and the modification operator.
|
ModProperty(java.lang.String name, java.util.List values, int mod_op)
Construct a ModProperty from Attribute name, modification operator and list of modified values.
|
ModProperty(java.lang.String name, java.lang.Object val, int mod_op)
Construct a ModProperty from Attribute name, modification operator and modified value.
|
Modifier and Type | Method and Description |
---|---|
int |
getModOP()
Get the type of modification operator.
|
public static int ADD
public static int REMOVE
public static int REPLACE
public ModProperty(java.lang.String name, java.util.List values, int mod_op)
public ModProperty(java.lang.String name, java.lang.Object val, int mod_op)