org.jboss.shrinkwrap.descriptor.api.jsptaglibrary21.TldAttributeType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.jsptaglibrary21;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee5.GenericBooleanType;
import org.jboss.shrinkwrap.descriptor.api.javaee5.GenericBooleanType;
import org.jboss.shrinkwrap.descriptor.api.jsptaglibrary21.TldDeferredValueType;
import org.jboss.shrinkwrap.descriptor.api.jsptaglibrary21.TldDeferredMethodType;
import org.jboss.shrinkwrap.descriptor.api.javaee5.GenericBooleanType;
/**
* This interface defines the contract for the tld-attributeType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface TldAttributeType extends Child {
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of TldAttributeType
*/
public TldAttributeType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of TldAttributeType
*/
public TldAttributeType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType ElementName: xsd:token ElementType : name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name
element
* @param name the value for the element name
* @return the current instance of TldAttributeType
*/
public TldAttributeType name(String name);
/**
* Returns the name
element
* @return the node defined for the element name
*/
public String getName();
/**
* Removes the name
element
* @return the current instance of TldAttributeType
*/
public TldAttributeType removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType ElementName: javaee:generic-booleanType ElementType : required
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the required
element
* @param required the value for the element required
* @return the current instance of TldAttributeType
*/
public TldAttributeType required(GenericBooleanType required);
/**
* Sets the required
element
* @param required the value for the element required
* @return the current instance of TldAttributeType
*/
public TldAttributeType required(String required);
/**
* Returns the required
element
* @return the value found for the element required
*/
public GenericBooleanType getRequired();
/**
* Returns the required
element
* @return the value found for the element required
*/
public String getRequiredAsString();
/**
* Removes the required
attribute
* @return the current instance of TldAttributeType
*/
public TldAttributeType removeRequired();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType ElementName: javaee:generic-booleanType ElementType : rtexprvalue
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the rtexprvalue
element
* @param rtexprvalue the value for the element rtexprvalue
* @return the current instance of TldAttributeType
*/
public TldAttributeType rtexprvalue(GenericBooleanType rtexprvalue);
/**
* Sets the rtexprvalue
element
* @param rtexprvalue the value for the element rtexprvalue
* @return the current instance of TldAttributeType
*/
public TldAttributeType rtexprvalue(String rtexprvalue);
/**
* Returns the rtexprvalue
element
* @return the value found for the element rtexprvalue
*/
public GenericBooleanType getRtexprvalue();
/**
* Returns the rtexprvalue
element
* @return the value found for the element rtexprvalue
*/
public String getRtexprvalueAsString();
/**
* Removes the rtexprvalue
attribute
* @return the current instance of TldAttributeType
*/
public TldAttributeType removeRtexprvalue();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType ElementName: xsd:token ElementType : type
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the type
element
* @param type the value for the element type
* @return the current instance of TldAttributeType
*/
public TldAttributeType type(String type);
/**
* Returns the type
element
* @return the node defined for the element type
*/
public String getType();
/**
* Removes the type
element
* @return the current instance of TldAttributeType
*/
public TldAttributeType removeType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType ElementName: javaee:tld-deferred-valueType ElementType : deferred-value
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new deferred-value
element with the given value will be created.
* Otherwise, the existing deferred-value
element will be returned.
* @return a new or existing instance of TldDeferredValueType>
*/
public TldDeferredValueType> getOrCreateDeferredValue();
/**
* Removes the deferred-value
element
* @return the current instance of TldAttributeType
*/
public TldAttributeType removeDeferredValue();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType ElementName: javaee:tld-deferred-methodType ElementType : deferred-method
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new deferred-method
element with the given value will be created.
* Otherwise, the existing deferred-method
element will be returned.
* @return a new or existing instance of TldDeferredMethodType>
*/
public TldDeferredMethodType> getOrCreateDeferredMethod();
/**
* Removes the deferred-method
element
* @return the current instance of TldAttributeType
*/
public TldAttributeType removeDeferredMethod();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType ElementName: javaee:generic-booleanType ElementType : fragment
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the fragment
element
* @param fragment the value for the element fragment
* @return the current instance of TldAttributeType
*/
public TldAttributeType fragment(GenericBooleanType fragment);
/**
* Sets the fragment
element
* @param fragment the value for the element fragment
* @return the current instance of TldAttributeType
*/
public TldAttributeType fragment(String fragment);
/**
* Returns the fragment
element
* @return the value found for the element fragment
*/
public GenericBooleanType getFragment();
/**
* Returns the fragment
element
* @return the value found for the element fragment
*/
public String getFragmentAsString();
/**
* Removes the fragment
attribute
* @return the current instance of TldAttributeType
*/
public TldAttributeType removeFragment();
// --------------------------------------------------------------------------------------------------------||
// ClassName: TldAttributeType 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 TldAttributeType
*/
public TldAttributeType 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 TldAttributeType
*/
public TldAttributeType removeId();
}