|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.FeatureDescriptor
atg.droplet.TagAttributeDescriptor
public class TagAttributeDescriptor
This class describes an attribute which is used as an argument to a TagConverter. This contains a description of the attribute as well as flags indicating whether or not the attribute is required or optional for the use of that converter. An attribute can also be "automatic" which means that the converter is implied by the use of that attribute in one of the tags which accepts TagConverters. If a converter does not have any automatic attributes, you must always specify the name of the converter using the converter attribute.
TagConverter
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
TagAttributeDescriptor()
|
|
TagAttributeDescriptor(java.lang.String pName,
java.lang.String pDescription,
boolean pOptional,
boolean pAutomatic)
|
Method Summary | |
---|---|
boolean |
isAutomatic()
Returns property Automatic |
boolean |
isOptional()
Returns property Optional |
void |
setAutomatic(boolean pAutomatic)
Sets property Automatic. |
void |
setOptional(boolean pOptional)
Sets property Optional |
java.lang.String |
toString()
String representation |
Methods inherited from class java.beans.FeatureDescriptor |
---|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public TagAttributeDescriptor()
public TagAttributeDescriptor(java.lang.String pName, java.lang.String pDescription, boolean pOptional, boolean pAutomatic)
Method Detail |
---|
public void setOptional(boolean pOptional)
public boolean isOptional()
public void setAutomatic(boolean pAutomatic)
public boolean isAutomatic()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |