net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee
Class TldExtensionType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.collections.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  List<ExtensibleType> extensionElement
           
protected  String id
           
protected  String namespace
           
 
Constructor Summary
TldExtensionType()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.TldExtensionType instance.
TldExtensionType(TldExtensionType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.TldExtensionType instance by copying a given instance.
 
Method Summary
 TldExtensionType clone()
          Creates and returns a copy of this object.
 List<ExtensibleType> getExtensionElement()
          Gets the value of the extensionElement property.
 String getId()
          Gets the value of the id property.
 String getNamespace()
          Gets the value of the namespace property.
 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 List<ExtensibleType> extensionElement

namespace

protected String namespace

id

protected String id
Constructor Detail

TldExtensionType

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


TldExtensionType

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

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

getExtensionElement

public List<ExtensibleType> getExtensionElement()
Gets the value of the extensionElement property.

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 extensionElement property.

For example, to add a new item, do as follows:

    getExtensionElement().add(newItem);
 

Objects of the following type(s) are allowed in the list 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

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.