net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee
Class TagType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TagType
All Implemented Interfaces:
Serializable, Cloneable

public class TagType
extends Object
implements Serializable, Cloneable

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>
 

See Also:
Serialized Form

Field Summary
protected  TldAttributeType[] attribute
           
protected  BodyContentType bodyContent
           
protected  DescriptionType[] description
           
protected  DisplayNameType[] displayName
           
protected  GenericBooleanType dynamicAttributes
           
protected  XsdStringType example
           
protected  IconType[] icon
           
protected  String id
           
protected  TldCanonicalNameType name
           
protected  FullyQualifiedClassType tagClass
           
protected  TldExtensionType[] tagExtension
           
protected  FullyQualifiedClassType teiClass
           
protected  VariableType[] variable
           
 
Constructor Summary
TagType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TagType instance.
TagType(TagType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TagType instance by copying a given instance.
 
Method Summary
 TagType clone()
          Creates and returns a copy of this object.
protected  void copyAttribute(TldAttributeType[] source)
          Copies all values of property Attribute.
protected  void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
protected  void copyDisplayName(DisplayNameType[] source)
          Copies all values of property DisplayName.
protected  void copyIcon(IconType[] source)
          Copies all values of property Icon.
protected  void copyTagExtension(TldExtensionType[] source)
          Copies all values of property TagExtension.
protected  void copyVariable(VariableType[] source)
          Copies all values of property Variable.
 TldAttributeType[] getAttribute()
           
 TldAttributeType getAttribute(int idx)
           
 int getAttributeLength()
           
 BodyContentType getBodyContent()
          Gets the value of the bodyContent property.
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 DisplayNameType[] getDisplayName()
           
 DisplayNameType getDisplayName(int idx)
           
 int getDisplayNameLength()
           
 GenericBooleanType getDynamicAttributes()
          Gets the value of the dynamicAttributes property.
 XsdStringType getExample()
          Gets the value of the example property.
 IconType[] getIcon()
           
 IconType getIcon(int idx)
           
 int getIconLength()
           
 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.
 TldExtensionType[] getTagExtension()
           
 TldExtensionType getTagExtension(int idx)
           
 int getTagExtensionLength()
           
 FullyQualifiedClassType getTeiClass()
          Gets the value of the teiClass property.
 VariableType[] getVariable()
           
 VariableType getVariable(int idx)
           
 int getVariableLength()
           
 TldAttributeType setAttribute(int idx, TldAttributeType value)
           
 void setAttribute(TldAttributeType[] values)
           
 void setBodyContent(BodyContentType value)
          Sets the value of the bodyContent property.
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setDisplayName(DisplayNameType[] values)
           
 DisplayNameType setDisplayName(int idx, DisplayNameType value)
           
 void setDynamicAttributes(GenericBooleanType value)
          Sets the value of the dynamicAttributes property.
 void setExample(XsdStringType value)
          Sets the value of the example property.
 void setIcon(IconType[] values)
           
 IconType setIcon(int idx, IconType value)
           
 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.
 TldExtensionType setTagExtension(int idx, TldExtensionType value)
           
 void setTagExtension(TldExtensionType[] values)
           
 void setTeiClass(FullyQualifiedClassType value)
          Sets the value of the teiClass property.
 VariableType setVariable(int idx, VariableType value)
           
 void setVariable(VariableType[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType[] description

displayName

protected DisplayNameType[] displayName

icon

protected IconType[] icon

name

protected TldCanonicalNameType name

tagClass

protected FullyQualifiedClassType tagClass

teiClass

protected FullyQualifiedClassType teiClass

bodyContent

protected BodyContentType bodyContent

variable

protected VariableType[] variable

attribute

protected TldAttributeType[] attribute

dynamicAttributes

protected GenericBooleanType dynamicAttributes

example

protected XsdStringType example

tagExtension

protected TldExtensionType[] tagExtension

id

protected String id
Constructor Detail

TagType

public TagType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TagType instance.


TagType

public TagType(TagType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TagType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDescription

public DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

public DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

public int getDescriptionLength()

setDescription

public void setDescription(DescriptionType[] values)
Parameters:
values - allowed objects are DescriptionType

setDescription

public DescriptionType setDescription(int idx,
                                      DescriptionType value)
Parameters:
value - allowed object is DescriptionType

getDisplayName

public DisplayNameType[] getDisplayName()
Returns:
array of DisplayNameType

getDisplayName

public DisplayNameType getDisplayName(int idx)
Returns:
one of DisplayNameType

getDisplayNameLength

public int getDisplayNameLength()

setDisplayName

public void setDisplayName(DisplayNameType[] values)
Parameters:
values - allowed objects are DisplayNameType

setDisplayName

public DisplayNameType setDisplayName(int idx,
                                      DisplayNameType value)
Parameters:
value - allowed object is DisplayNameType

getIcon

public IconType[] getIcon()
Returns:
array of IconType

getIcon

public IconType getIcon(int idx)
Returns:
one of IconType

getIconLength

public int getIconLength()

setIcon

public void setIcon(IconType[] values)
Parameters:
values - allowed objects are IconType

setIcon

public IconType setIcon(int idx,
                        IconType value)
Parameters:
value - allowed object is IconType

getName

public TldCanonicalNameType getName()
Gets the value of the name property.

Returns:
possible object is TldCanonicalNameType

setName

public void setName(TldCanonicalNameType value)
Sets the value of the name property.

Parameters:
value - allowed object is TldCanonicalNameType

getTagClass

public FullyQualifiedClassType getTagClass()
Gets the value of the tagClass property.

Returns:
possible object is FullyQualifiedClassType

setTagClass

public void setTagClass(FullyQualifiedClassType value)
Sets the value of the tagClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

getTeiClass

public FullyQualifiedClassType getTeiClass()
Gets the value of the teiClass property.

Returns:
possible object is FullyQualifiedClassType

setTeiClass

public void setTeiClass(FullyQualifiedClassType value)
Sets the value of the teiClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

getBodyContent

public BodyContentType getBodyContent()
Gets the value of the bodyContent property.

Returns:
possible object is BodyContentType

setBodyContent

public void setBodyContent(BodyContentType value)
Sets the value of the bodyContent property.

Parameters:
value - allowed object is BodyContentType

getVariable

public VariableType[] getVariable()
Returns:
array of VariableType

getVariable

public VariableType getVariable(int idx)
Returns:
one of VariableType

getVariableLength

public int getVariableLength()

setVariable

public void setVariable(VariableType[] values)
Parameters:
values - allowed objects are VariableType

setVariable

public VariableType setVariable(int idx,
                                VariableType value)
Parameters:
value - allowed object is VariableType

getAttribute

public TldAttributeType[] getAttribute()
Returns:
array of TldAttributeType

getAttribute

public TldAttributeType getAttribute(int idx)
Returns:
one of TldAttributeType

getAttributeLength

public int getAttributeLength()

setAttribute

public void setAttribute(TldAttributeType[] values)
Parameters:
values - allowed objects are TldAttributeType

setAttribute

public TldAttributeType setAttribute(int idx,
                                     TldAttributeType value)
Parameters:
value - allowed object is TldAttributeType

getDynamicAttributes

public GenericBooleanType getDynamicAttributes()
Gets the value of the dynamicAttributes property.

Returns:
possible object is GenericBooleanType

setDynamicAttributes

public void setDynamicAttributes(GenericBooleanType value)
Sets the value of the dynamicAttributes property.

Parameters:
value - allowed object is GenericBooleanType

getExample

public XsdStringType getExample()
Gets the value of the example property.

Returns:
possible object is XsdStringType

setExample

public void setExample(XsdStringType value)
Sets the value of the example property.

Parameters:
value - allowed object is XsdStringType

getTagExtension

public TldExtensionType[] getTagExtension()
Returns:
array of TldExtensionType

getTagExtension

public TldExtensionType getTagExtension(int idx)
Returns:
one of TldExtensionType

getTagExtensionLength

public int getTagExtensionLength()

setTagExtension

public void setTagExtension(TldExtensionType[] values)
Parameters:
values - allowed objects are TldExtensionType

setTagExtension

public TldExtensionType setTagExtension(int idx,
                                        TldExtensionType value)
Parameters:
value - allowed object is TldExtensionType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

copyDescription

protected void copyDescription(DescriptionType[] source)
Copies all values of property Description.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyDisplayName

protected void copyDisplayName(DisplayNameType[] source)
Copies all values of property DisplayName.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyIcon

protected void copyIcon(IconType[] source)
Copies all values of property Icon.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyVariable

protected void copyVariable(VariableType[] source)
Copies all values of property Variable.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyAttribute

protected void copyAttribute(TldAttributeType[] source)
Copies all values of property Attribute.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyTagExtension

protected void copyTagExtension(TldExtensionType[] source)
Copies all values of property TagExtension.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public TagType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.