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

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

public class TldAttributeType
extends Object
implements Serializable, Cloneable

The attribute element defines an attribute for the nesting tag. The attribute element may have several subelements defining: description a description of the attribute name the name of the attribute required whether the attribute is required or optional rtexprvalue whether the attribute is a runtime attribute type the type of the attributes fragment whether this attribute is a fragment deferred-value present if this attribute is to be parsed as a javax.el.ValueExpression deferred-method present if this attribute is to be parsed as a javax.el.MethodExpression

Java class for tld-attributeType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="tld-attributeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="name" type="{http://java.sun.com/xml/ns/javaee}java-identifierType"/>
         <element name="required" type="{http://java.sun.com/xml/ns/javaee}generic-booleanType" minOccurs="0"/>
         <choice>
           <sequence>
             <sequence minOccurs="0">
               <element name="rtexprvalue" type="{http://java.sun.com/xml/ns/javaee}generic-booleanType"/>
               <element name="type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
             </sequence>
             <choice>
               <element name="deferred-value" type="{http://java.sun.com/xml/ns/javaee}tld-deferred-valueType" minOccurs="0"/>
               <element name="deferred-method" type="{http://java.sun.com/xml/ns/javaee}tld-deferred-methodType" minOccurs="0"/>
             </choice>
           </sequence>
           <element name="fragment" type="{http://java.sun.com/xml/ns/javaee}generic-booleanType" minOccurs="0"/>
         </choice>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  TldDeferredMethodType deferredMethod
           
protected  TldDeferredValueType deferredValue
           
protected  DescriptionType[] description
           
protected  GenericBooleanType fragment
           
protected  String id
           
protected  JavaIdentifierType name
           
protected  GenericBooleanType required
           
protected  GenericBooleanType rtexprvalue
           
protected  FullyQualifiedClassType type
           
 
Constructor Summary
TldAttributeType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TldAttributeType instance.
TldAttributeType(TldAttributeType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TldAttributeType instance by copying a given instance.
 
Method Summary
 TldAttributeType clone()
          Creates and returns a copy of this object.
protected  void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
 TldDeferredMethodType getDeferredMethod()
          Gets the value of the deferredMethod property.
 TldDeferredValueType getDeferredValue()
          Gets the value of the deferredValue property.
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 GenericBooleanType getFragment()
          Gets the value of the fragment property.
 String getId()
          Gets the value of the id property.
 JavaIdentifierType getName()
          Gets the value of the name property.
 GenericBooleanType getRequired()
          Gets the value of the required property.
 GenericBooleanType getRtexprvalue()
          Gets the value of the rtexprvalue property.
 FullyQualifiedClassType getType()
          Gets the value of the type property.
 void setDeferredMethod(TldDeferredMethodType value)
          Sets the value of the deferredMethod property.
 void setDeferredValue(TldDeferredValueType value)
          Sets the value of the deferredValue property.
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setFragment(GenericBooleanType value)
          Sets the value of the fragment property.
 void setId(String value)
          Sets the value of the id property.
 void setName(JavaIdentifierType value)
          Sets the value of the name property.
 void setRequired(GenericBooleanType value)
          Sets the value of the required property.
 void setRtexprvalue(GenericBooleanType value)
          Sets the value of the rtexprvalue property.
 void setType(FullyQualifiedClassType value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType[] description

name

protected JavaIdentifierType name

required

protected GenericBooleanType required

rtexprvalue

protected GenericBooleanType rtexprvalue

type

protected FullyQualifiedClassType type

deferredValue

protected TldDeferredValueType deferredValue

deferredMethod

protected TldDeferredMethodType deferredMethod

fragment

protected GenericBooleanType fragment

id

protected String id
Constructor Detail

TldAttributeType

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


TldAttributeType

public TldAttributeType(TldAttributeType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TldAttributeType 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

getName

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

Returns:
possible object is JavaIdentifierType

setName

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

Parameters:
value - allowed object is JavaIdentifierType

getRequired

public GenericBooleanType getRequired()
Gets the value of the required property.

Returns:
possible object is GenericBooleanType

setRequired

public void setRequired(GenericBooleanType value)
Sets the value of the required property.

Parameters:
value - allowed object is GenericBooleanType

getRtexprvalue

public GenericBooleanType getRtexprvalue()
Gets the value of the rtexprvalue property.

Returns:
possible object is GenericBooleanType

setRtexprvalue

public void setRtexprvalue(GenericBooleanType value)
Sets the value of the rtexprvalue property.

Parameters:
value - allowed object is GenericBooleanType

getType

public FullyQualifiedClassType getType()
Gets the value of the type property.

Returns:
possible object is FullyQualifiedClassType

setType

public void setType(FullyQualifiedClassType value)
Sets the value of the type property.

Parameters:
value - allowed object is FullyQualifiedClassType

getDeferredValue

public TldDeferredValueType getDeferredValue()
Gets the value of the deferredValue property.

Returns:
possible object is TldDeferredValueType

setDeferredValue

public void setDeferredValue(TldDeferredValueType value)
Sets the value of the deferredValue property.

Parameters:
value - allowed object is TldDeferredValueType

getDeferredMethod

public TldDeferredMethodType getDeferredMethod()
Gets the value of the deferredMethod property.

Returns:
possible object is TldDeferredMethodType

setDeferredMethod

public void setDeferredMethod(TldDeferredMethodType value)
Sets the value of the deferredMethod property.

Parameters:
value - allowed object is TldDeferredMethodType

getFragment

public GenericBooleanType getFragment()
Gets the value of the fragment property.

Returns:
possible object is GenericBooleanType

setFragment

public void setFragment(GenericBooleanType value)
Sets the value of the fragment property.

Parameters:
value - allowed object is GenericBooleanType

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.

clone

public TldAttributeType 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.