|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
|---|
List<ExtensibleType> getExtensionElement()
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
String getNamespace()
Stringvoid setNamespace(String value)
value - allowed object is
StringString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||