net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.javaee
Interface TldExtensionType

All Known Implementing Classes:
TldExtensionTypeImpl

public interface TldExtensionType

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>
 


Method Summary
 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.
 

Method Detail

getExtensionElement

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

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

Returns:
possible object is String

setNamespace

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

Parameters:
value - allowed object is String

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


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