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

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

public class TldExtensionType
extends Object
implements Serializable, Cloneable

The tld-extensionType is used to indicate extensions to a specific TLD element. It is used by elements to designate an extension block that is targeted to a specific extension designated by a set of extension elements that are declared by a namespace. The namespace identifies the extension to the tool that processes the extension. The type of the extension-element is abstract. Therefore, a concrete type must be specified by the TLD using xsi:type attribute for each extension-element.

Java class for tld-extensionType complex type.

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

 <complexType name="tld-extensionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="extension-element" type="{http://java.sun.com/xml/ns/javaee}extensibleType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  ExtensibleType[] extensionElement
           
protected  String id
           
protected  String namespace
           
 
Constructor Summary
TldExtensionType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TldExtensionType instance.
TldExtensionType(TldExtensionType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.TldExtensionType instance by copying a given instance.
 
Method Summary
 TldExtensionType clone()
          Creates and returns a copy of this object.
protected  void copyExtensionElement(ExtensibleType[] source)
          Copies all values of property ExtensionElement.
 ExtensibleType[] getExtensionElement()
           
 ExtensibleType getExtensionElement(int idx)
           
 int getExtensionElementLength()
           
 String getId()
          Gets the value of the id property.
 String getNamespace()
          Gets the value of the namespace property.
 void setExtensionElement(ExtensibleType[] values)
           
 ExtensibleType setExtensionElement(int idx, ExtensibleType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setNamespace(String value)
          Sets the value of the namespace property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensionElement

protected ExtensibleType[] extensionElement

namespace

protected String namespace

id

protected String id
Constructor Detail

TldExtensionType

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


TldExtensionType

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

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

getExtensionElement

public ExtensibleType[] getExtensionElement()
Returns:
array of ExtensibleType

getExtensionElement

public ExtensibleType getExtensionElement(int idx)
Returns:
one of ExtensibleType

getExtensionElementLength

public int getExtensionElementLength()

setExtensionElement

public void setExtensionElement(ExtensibleType[] values)
Parameters:
values - allowed objects are ExtensibleType

setExtensionElement

public ExtensibleType setExtensionElement(int idx,
                                          ExtensibleType value)
Parameters:
value - allowed object is ExtensibleType

getNamespace

public String getNamespace()
Gets the value of the namespace property.

Returns:
possible object is String

setNamespace

public void setNamespace(String value)
Sets the value of the namespace property.

Parameters:
value - allowed object is String

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

copyExtensionElement

protected void copyExtensionElement(ExtensibleType[] source)
Copies all values of property ExtensionElement.

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

clone

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