|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TagType
The tag defines a unique tag in this tag library. It has one attribute, id. The tag element may have several subelements defining: description Optional tag-specific information display-name A short name that is intended to be displayed by tools icon Optional icon element that can be used by tools name The unique action name tag-class The tag handler class implementing javax.servlet.jsp.tagext.JspTag tei-class An optional subclass of javax.servlet.jsp.tagext.TagExtraInfo body-content The body content type variable Optional scripting variable information attribute All attributes of this action that are evaluated prior to invocation. dynamic-attributes Whether this tag supports additional attributes with dynamic names. If true, the tag-class must implement the javax.servlet.jsp.tagext.DynamicAttributes interface. Defaults to false. example Optional informal description of an example of a use of this tag tag-extension Zero or more extensions that provide extra information about this tag, for tool consumption
Java class for tagType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="tagType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="name" type="{http://java.sun.com/xml/ns/javaee}tld-canonical-nameType"/>
<element name="tag-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="tei-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
<element name="body-content" type="{http://java.sun.com/xml/ns/javaee}body-contentType"/>
<element name="variable" type="{http://java.sun.com/xml/ns/javaee}variableType" maxOccurs="unbounded" minOccurs="0"/>
<element name="attribute" type="{http://java.sun.com/xml/ns/javaee}tld-attributeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="dynamic-attributes" type="{http://java.sun.com/xml/ns/javaee}generic-booleanType" minOccurs="0"/>
<element name="example" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
<element name="tag-extension" type="{http://java.sun.com/xml/ns/javaee}tld-extensionType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Detail |
|---|
DescriptionType[] getDescription()
DescriptionTypeDescriptionType getDescription(int idx)
DescriptionTypeint getDescriptionLength()
void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypeDisplayNameType[] getDisplayName()
DisplayNameTypeDisplayNameType getDisplayName(int idx)
DisplayNameTypeint getDisplayNameLength()
void setDisplayName(DisplayNameType[] values)
values - allowed objects are
DisplayNameType
DisplayNameType setDisplayName(int idx,
DisplayNameType value)
value - allowed object is
DisplayNameTypeIconType[] getIcon()
IconTypeIconType getIcon(int idx)
IconTypeint getIconLength()
void setIcon(IconType[] values)
values - allowed objects are
IconType
IconType setIcon(int idx,
IconType value)
value - allowed object is
IconTypeTldCanonicalNameType getName()
TldCanonicalNameTypevoid setName(TldCanonicalNameType value)
value - allowed object is
TldCanonicalNameTypeFullyQualifiedClassType getTagClass()
FullyQualifiedClassTypevoid setTagClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeFullyQualifiedClassType getTeiClass()
FullyQualifiedClassTypevoid setTeiClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeBodyContentType getBodyContent()
BodyContentTypevoid setBodyContent(BodyContentType value)
value - allowed object is
BodyContentTypeVariableType[] getVariable()
VariableTypeVariableType getVariable(int idx)
VariableTypeint getVariableLength()
void setVariable(VariableType[] values)
values - allowed objects are
VariableType
VariableType setVariable(int idx,
VariableType value)
value - allowed object is
VariableTypeTldAttributeType[] getAttribute()
TldAttributeTypeTldAttributeType getAttribute(int idx)
TldAttributeTypeint getAttributeLength()
void setAttribute(TldAttributeType[] values)
values - allowed objects are
TldAttributeType
TldAttributeType setAttribute(int idx,
TldAttributeType value)
value - allowed object is
TldAttributeTypeGenericBooleanType getDynamicAttributes()
GenericBooleanTypevoid setDynamicAttributes(GenericBooleanType value)
value - allowed object is
GenericBooleanTypeXsdStringType getExample()
XsdStringTypevoid setExample(XsdStringType value)
value - allowed object is
XsdStringTypeTldExtensionType[] getTagExtension()
TldExtensionTypeTldExtensionType getTagExtension(int idx)
TldExtensionTypeint getTagExtensionLength()
void setTagExtension(TldExtensionType[] values)
values - allowed objects are
TldExtensionType
TldExtensionType setTagExtension(int idx,
TldExtensionType value)
value - allowed object is
TldExtensionTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||