org.jboss.shrinkwrap.descriptor.api.jsptaglibrary20.TldExtensionType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.jsptaglibrary20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.jsptaglibrary20.ExtensibleType;
/**
* This interface defines the contract for the tld-extensionType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface TldExtensionType extends Child {
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldExtensionType ElementName: j2ee:extensibleType ElementType : extension-element
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new extension-element
element will be created and returned.
* Otherwise, the first existing extension-element
element will be returned.
* @return the instance defined for the element extension-element
*/
public ExtensibleType> getOrCreateExtensionElement();
/**
* Creates a new extension-element
element
* @return the new created instance of ExtensibleType>
*/
public ExtensibleType> createExtensionElement();
/**
* Returns all extension-element
elements
* @return list of extension-element
*/
public List>> getAllExtensionElement();
/**
* Removes all extension-element
elements
* @return the current instance of ExtensibleType>
*/
public TldExtensionType removeAllExtensionElement();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldExtensionType ElementName: xsd:anyURI ElementType : namespace
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the namespace
attribute
* @param namespace the value for the attribute namespace
* @return the current instance of TldExtensionType
*/
public TldExtensionType namespace(String namespace);
/**
* Returns the namespace
attribute
* @return the value defined for the attribute namespace
*/
public String getNamespace();
/**
* Removes the namespace
attribute
* @return the current instance of TldExtensionType
*/
public TldExtensionType removeNamespace();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldExtensionType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of TldExtensionType
*/
public TldExtensionType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of TldExtensionType
*/
public TldExtensionType removeId();
}