|
||||||||||
| 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 Summary | |
|---|---|
List<TldAttributeType> |
getAttribute()
Gets the value of the attribute property. |
BodyContentType |
getBodyContent()
Gets the value of the bodyContent property. |
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property. |
GenericBooleanType |
getDynamicAttributes()
Gets the value of the dynamicAttributes property. |
XsdStringType |
getExample()
Gets the value of the example property. |
List<IconType> |
getIcon()
Gets the value of the icon property. |
String |
getId()
Gets the value of the id property. |
TldCanonicalNameType |
getName()
Gets the value of the name property. |
FullyQualifiedClassType |
getTagClass()
Gets the value of the tagClass property. |
List<TldExtensionType> |
getTagExtension()
Gets the value of the tagExtension property. |
FullyQualifiedClassType |
getTeiClass()
Gets the value of the teiClass property. |
List<VariableType> |
getVariable()
Gets the value of the variable property. |
void |
setBodyContent(BodyContentType value)
Sets the value of the bodyContent property. |
void |
setDynamicAttributes(GenericBooleanType value)
Sets the value of the dynamicAttributes property. |
void |
setExample(XsdStringType value)
Sets the value of the example property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setName(TldCanonicalNameType value)
Sets the value of the name property. |
void |
setTagClass(FullyQualifiedClassType value)
Sets the value of the tagClass property. |
void |
setTeiClass(FullyQualifiedClassType value)
Sets the value of the teiClass property. |
| Method Detail |
|---|
List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
List<DisplayNameType> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
List<IconType> getIcon()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
TldCanonicalNameType 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
BodyContentTypeList<VariableType> getVariable()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the variable property.
For example, to add a new item, do as follows:
getVariable().add(newItem);
Objects of the following type(s) are allowed in the list
VariableType
List<TldAttributeType> getAttribute()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the attribute property.
For example, to add a new item, do as follows:
getAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
TldAttributeType
GenericBooleanType getDynamicAttributes()
GenericBooleanTypevoid setDynamicAttributes(GenericBooleanType value)
value - allowed object is
GenericBooleanTypeXsdStringType getExample()
XsdStringTypevoid setExample(XsdStringType value)
value - allowed object is
XsdStringTypeList<TldExtensionType> getTagExtension()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the tagExtension property.
For example, to add a new item, do as follows:
getTagExtension().add(newItem);
Objects of the following type(s) are allowed in the list
TldExtensionType
String 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 | |||||||||