public class AttributeOptions extends DvtExtendedPatternOptions
AttributeOptions.
Binding options that allow the user to change the structure and functionality of Attributes.| Constructor and Description |
|---|
AttributeOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyChanges(BinderParams binderParams)
Applies changes from this set of properties to the subtree rooted by the
bind root in the bind params.
|
void |
applyChanges(BinderParams binderParams,
org.w3c.dom.Element elementAttribute)
Applies changes from this set of properties to the subtree rooted by the
bind root in the bind params.
|
static AttributeOptions |
cloneFrom(AttributeOptions options)
Creates an options class from the specified options class, transferring any common properties
|
BindingOptions |
getBindingOptions()
Returns the
BindingOptions of this pattern if present. |
Attribute |
getExtendedProperties()
Returns the
ExtendedProperties of this pattern if present. |
java.lang.String |
getName()
Retrieves the Name associated with the Attribute.
|
java.lang.String |
getValue()
Retrieves the value associated with the Attribute.
|
boolean |
isRebind(org.w3c.dom.Element elementRoot) |
java.lang.String |
setName(java.lang.String strName)
Specifies the Name associated with the Attribute.
|
java.lang.String |
setValue(java.lang.String strValue)
Specifies the value associated with the Attribute.
|
mergepublic void applyChanges(BinderParams binderParams)
binderParams - The bind params containing the binding rootpublic void applyChanges(BinderParams binderParams, org.w3c.dom.Element elementAttribute)
binderParams - The bind params containing the binding rootelementAttribute - A Element to bind.public Attribute getExtendedProperties()
ExtendedProperties of this pattern if present.
Properties may be set on the extended properties until the component is
bound.getExtendedProperties in class ExtendedPatternOptionspublic BindingOptions getBindingOptions()
BindingOptions of this pattern if present.
Binding related properties may be set on the BindingOptions class until the component is bound.getBindingOptions in class DvtExtendedPatternOptionsBindingOptions.public static AttributeOptions cloneFrom(AttributeOptions options)
options - the options class that properties will be transferred fromAttributeOptions cloned from a given AttributeOptions instance.public boolean isRebind(org.w3c.dom.Element elementRoot)
public java.lang.String setValue(java.lang.String strValue)
strValue - A String representing the value associated with the Attribute.AttributeOptions options class.public java.lang.String getValue()
String representing the value associated with the Attribute.public java.lang.String setName(java.lang.String strName)
strName - A String representing the name associated with the Attribute.AttributeOptions options class.public java.lang.String getName()
String representing the name associated with the Attribute.