net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee
Class FacesConfigValidatorType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigValidatorType
All Implemented Interfaces:
Serializable, Cloneable

public class FacesConfigValidatorType
extends Object
implements Serializable, Cloneable

The "validator" element represents a concrete Validator implementation class that should be registered under the specified validator identifier. Validator identifiers must be unique within the entire web application. Nested "attribute" elements identify generic attributes that may be configured on the corresponding UIComponent in order to affect the operation of the Validator. Nested "property" elements identify JavaBeans properties of the Validator implementation class that may be configured to affect the operation of the Validator. "attribute" and "property" elements are intended to allow component developers to more completely describe their components to tools and users. These elements have no required runtime semantics.

Java class for faces-config-validatorType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-validatorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="validator-id" type="{http://java.sun.com/xml/ns/javaee}string"/>
         <element name="validator-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
         <element name="attribute" type="{http://java.sun.com/xml/ns/javaee}faces-config-attributeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="property" type="{http://java.sun.com/xml/ns/javaee}faces-config-propertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="validator-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-validator-extensionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  FacesConfigAttributeType[] attribute
           
protected  DescriptionType[] description
           
protected  DisplayNameType[] displayName
           
protected  IconType[] icon
           
protected  String id
           
protected  FacesConfigPropertyType[] property
           
protected  FullyQualifiedClassType validatorClass
           
protected  FacesConfigValidatorExtensionType[] validatorExtension
           
protected  String validatorId
           
 
Constructor Summary
FacesConfigValidatorType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigValidatorType instance.
FacesConfigValidatorType(FacesConfigValidatorType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigValidatorType instance by copying a given instance.
 
Method Summary
 FacesConfigValidatorType clone()
          Creates and returns a copy of this object.
 void copyAttribute(FacesConfigAttributeType[] source)
          Copies all values of property Attribute.
 void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
 void copyDisplayName(DisplayNameType[] source)
          Copies all values of property DisplayName.
 void copyIcon(IconType[] source)
          Copies all values of property Icon.
 void copyProperty(FacesConfigPropertyType[] source)
          Copies all values of property Property.
 void copyValidatorExtension(FacesConfigValidatorExtensionType[] source)
          Copies all values of property ValidatorExtension.
 FacesConfigAttributeType[] getAttribute()
           
 FacesConfigAttributeType getAttribute(int idx)
           
 int getAttributeLength()
           
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 DisplayNameType[] getDisplayName()
           
 DisplayNameType getDisplayName(int idx)
           
 int getDisplayNameLength()
           
 IconType[] getIcon()
           
 IconType getIcon(int idx)
           
 int getIconLength()
           
 String getId()
          Gets the value of the id property.
 FacesConfigPropertyType[] getProperty()
           
 FacesConfigPropertyType getProperty(int idx)
           
 int getPropertyLength()
           
 FullyQualifiedClassType getValidatorClass()
          Gets the value of the validatorClass property.
 FacesConfigValidatorExtensionType[] getValidatorExtension()
           
 FacesConfigValidatorExtensionType getValidatorExtension(int idx)
           
 int getValidatorExtensionLength()
           
 String getValidatorId()
          Gets the value of the validatorId property.
 void setAttribute(FacesConfigAttributeType[] values)
           
 FacesConfigAttributeType setAttribute(int idx, FacesConfigAttributeType value)
           
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setDisplayName(DisplayNameType[] values)
           
 DisplayNameType setDisplayName(int idx, DisplayNameType value)
           
 void setIcon(IconType[] values)
           
 IconType setIcon(int idx, IconType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setProperty(FacesConfigPropertyType[] values)
           
 FacesConfigPropertyType setProperty(int idx, FacesConfigPropertyType value)
           
 void setValidatorClass(FullyQualifiedClassType value)
          Sets the value of the validatorClass property.
 void setValidatorExtension(FacesConfigValidatorExtensionType[] values)
           
 FacesConfigValidatorExtensionType setValidatorExtension(int idx, FacesConfigValidatorExtensionType value)
           
 void setValidatorId(String value)
          Sets the value of the validatorId property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType[] description

displayName

protected DisplayNameType[] displayName

icon

protected IconType[] icon

validatorId

protected String validatorId

validatorClass

protected FullyQualifiedClassType validatorClass

attribute

protected FacesConfigAttributeType[] attribute

property

protected FacesConfigPropertyType[] property

validatorExtension

protected FacesConfigValidatorExtensionType[] validatorExtension

id

protected String id
Constructor Detail

FacesConfigValidatorType

public FacesConfigValidatorType()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigValidatorType instance.


FacesConfigValidatorType

public FacesConfigValidatorType(FacesConfigValidatorType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigValidatorType instance by copying a given instance.

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

getDescription

public DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

public DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

public int getDescriptionLength()

setDescription

public void setDescription(DescriptionType[] values)
Parameters:
values - allowed objects are DescriptionType

setDescription

public DescriptionType setDescription(int idx,
                                      DescriptionType value)
Parameters:
value - allowed object is DescriptionType

getDisplayName

public DisplayNameType[] getDisplayName()
Returns:
array of DisplayNameType

getDisplayName

public DisplayNameType getDisplayName(int idx)
Returns:
one of DisplayNameType

getDisplayNameLength

public int getDisplayNameLength()

setDisplayName

public void setDisplayName(DisplayNameType[] values)
Parameters:
values - allowed objects are DisplayNameType

setDisplayName

public DisplayNameType setDisplayName(int idx,
                                      DisplayNameType value)
Parameters:
value - allowed object is DisplayNameType

getIcon

public IconType[] getIcon()
Returns:
array of IconType

getIcon

public IconType getIcon(int idx)
Returns:
one of IconType

getIconLength

public int getIconLength()

setIcon

public void setIcon(IconType[] values)
Parameters:
values - allowed objects are IconType

setIcon

public IconType setIcon(int idx,
                        IconType value)
Parameters:
value - allowed object is IconType

getValidatorId

public String getValidatorId()
Gets the value of the validatorId property.

Returns:
possible object is String

setValidatorId

public void setValidatorId(String value)
Sets the value of the validatorId property.

Parameters:
value - allowed object is String

getValidatorClass

public FullyQualifiedClassType getValidatorClass()
Gets the value of the validatorClass property.

Returns:
possible object is FullyQualifiedClassType

setValidatorClass

public void setValidatorClass(FullyQualifiedClassType value)
Sets the value of the validatorClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

getAttribute

public FacesConfigAttributeType[] getAttribute()
Returns:
array of FacesConfigAttributeType

getAttribute

public FacesConfigAttributeType getAttribute(int idx)
Returns:
one of FacesConfigAttributeType

getAttributeLength

public int getAttributeLength()

setAttribute

public void setAttribute(FacesConfigAttributeType[] values)
Parameters:
values - allowed objects are FacesConfigAttributeType

setAttribute

public FacesConfigAttributeType setAttribute(int idx,
                                             FacesConfigAttributeType value)
Parameters:
value - allowed object is FacesConfigAttributeType

getProperty

public FacesConfigPropertyType[] getProperty()
Returns:
array of FacesConfigPropertyType

getProperty

public FacesConfigPropertyType getProperty(int idx)
Returns:
one of FacesConfigPropertyType

getPropertyLength

public int getPropertyLength()

setProperty

public void setProperty(FacesConfigPropertyType[] values)
Parameters:
values - allowed objects are FacesConfigPropertyType

setProperty

public FacesConfigPropertyType setProperty(int idx,
                                           FacesConfigPropertyType value)
Parameters:
value - allowed object is FacesConfigPropertyType

getValidatorExtension

public FacesConfigValidatorExtensionType[] getValidatorExtension()
Returns:
array of FacesConfigValidatorExtensionType

getValidatorExtension

public FacesConfigValidatorExtensionType getValidatorExtension(int idx)
Returns:
one of FacesConfigValidatorExtensionType

getValidatorExtensionLength

public int getValidatorExtensionLength()

setValidatorExtension

public void setValidatorExtension(FacesConfigValidatorExtensionType[] values)
Parameters:
values - allowed objects are FacesConfigValidatorExtensionType

setValidatorExtension

public FacesConfigValidatorExtensionType setValidatorExtension(int idx,
                                                               FacesConfigValidatorExtensionType value)
Parameters:
value - allowed object is FacesConfigValidatorExtensionType

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

copyDescription

public void copyDescription(DescriptionType[] source)
Copies all values of property Description.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyDisplayName

public void copyDisplayName(DisplayNameType[] source)
Copies all values of property DisplayName.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyIcon

public void copyIcon(IconType[] source)
Copies all values of property Icon.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyAttribute

public void copyAttribute(FacesConfigAttributeType[] source)
Copies all values of property Attribute.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyProperty

public void copyProperty(FacesConfigPropertyType[] source)
Copies all values of property Property.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyValidatorExtension

public void copyValidatorExtension(FacesConfigValidatorExtensionType[] source)
Copies all values of property ValidatorExtension.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public FacesConfigValidatorType 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.