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

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.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  List<FacesConfigAttributeType> attribute
           
protected  List<DescriptionType> description
           
protected  List<DisplayNameType> displayName
           
protected  List<IconType> icon
           
protected  String id
           
protected  List<FacesConfigPropertyType> property
           
protected  FullyQualifiedClassType validatorClass
           
protected  List<FacesConfigValidatorExtensionType> validatorExtension
           
protected  String validatorId
           
 
Constructor Summary
FacesConfigValidatorType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigValidatorType instance.
FacesConfigValidatorType(FacesConfigValidatorType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigValidatorType instance by copying a given instance.
 
Method Summary
 FacesConfigValidatorType clone()
          Creates and returns a copy of this object.
static void copyAttribute(List<FacesConfigAttributeType> source, List<FacesConfigAttributeType> target)
          Copies all values of property Attribute.
static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
static void copyDisplayName(List<DisplayNameType> source, List<DisplayNameType> target)
          Copies all values of property DisplayName.
static void copyIcon(List<IconType> source, List<IconType> target)
          Copies all values of property Icon.
static void copyProperty(List<FacesConfigPropertyType> source, List<FacesConfigPropertyType> target)
          Copies all values of property Property.
static void copyValidatorExtension(List<FacesConfigValidatorExtensionType> source, List<FacesConfigValidatorExtensionType> target)
          Copies all values of property ValidatorExtension.
 List<FacesConfigAttributeType> getAttribute()
          Gets the value of the attribute property.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<DisplayNameType> getDisplayName()
          Gets the value of the displayName property.
 List<IconType> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 List<FacesConfigPropertyType> getProperty()
          Gets the value of the property property.
 FullyQualifiedClassType getValidatorClass()
          Gets the value of the validatorClass property.
 List<FacesConfigValidatorExtensionType> getValidatorExtension()
          Gets the value of the validatorExtension property.
 String getValidatorId()
          Gets the value of the validatorId property.
 void setId(String value)
          Sets the value of the id property.
 void setValidatorClass(FullyQualifiedClassType value)
          Sets the value of the validatorClass property.
 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 List<DescriptionType> description

displayName

protected List<DisplayNameType> displayName

icon

protected List<IconType> icon

validatorId

protected String validatorId

validatorClass

protected FullyQualifiedClassType validatorClass

attribute

protected List<FacesConfigAttributeType> attribute

property

protected List<FacesConfigPropertyType> property

validatorExtension

protected List<FacesConfigValidatorExtensionType> validatorExtension

id

protected String id
Constructor Detail

FacesConfigValidatorType

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


FacesConfigValidatorType

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

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

getDescription

public List<DescriptionType> getDescription()
Gets the value of the description 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 description property.

For example, to add a new item, do as follows:

    getDescription().add(newItem);
 

Objects of the following type(s) are allowed in the list DescriptionType


getDisplayName

public List<DisplayNameType> getDisplayName()
Gets the value of the displayName 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 displayName property.

For example, to add a new item, do as follows:

    getDisplayName().add(newItem);
 

Objects of the following type(s) are allowed in the list DisplayNameType


getIcon

public List<IconType> getIcon()
Gets the value of the icon 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 icon property.

For example, to add a new item, do as follows:

    getIcon().add(newItem);
 

Objects of the following type(s) are allowed in the list 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 List<FacesConfigAttributeType> getAttribute()
Gets the value of the attribute 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 attribute property.

For example, to add a new item, do as follows:

    getAttribute().add(newItem);
 

Objects of the following type(s) are allowed in the list FacesConfigAttributeType


getProperty

public List<FacesConfigPropertyType> getProperty()
Gets the value of the property 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 property property.

For example, to add a new item, do as follows:

    getProperty().add(newItem);
 

Objects of the following type(s) are allowed in the list FacesConfigPropertyType


getValidatorExtension

public List<FacesConfigValidatorExtensionType> getValidatorExtension()
Gets the value of the validatorExtension 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 validatorExtension property.

For example, to add a new item, do as follows:

    getValidatorExtension().add(newItem);
 

Objects of the following type(s) are allowed in the list 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 static void copyDescription(List<DescriptionType> source,
                                   List<DescriptionType> target)
Copies all values of property Description.

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

copyDisplayName

public static void copyDisplayName(List<DisplayNameType> source,
                                   List<DisplayNameType> target)
Copies all values of property DisplayName.

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

copyIcon

public static void copyIcon(List<IconType> source,
                            List<IconType> target)
Copies all values of property Icon.

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

copyAttribute

public static void copyAttribute(List<FacesConfigAttributeType> source,
                                 List<FacesConfigAttributeType> target)
Copies all values of property Attribute.

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

copyProperty

public static void copyProperty(List<FacesConfigPropertyType> source,
                                List<FacesConfigPropertyType> target)
Copies all values of property Property.

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

copyValidatorExtension

public static void copyValidatorExtension(List<FacesConfigValidatorExtensionType> source,
                                          List<FacesConfigValidatorExtensionType> target)
Copies all values of property ValidatorExtension.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target 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.