org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse
Class ValidatorBean

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ObjectBean
      extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AbstractTagBean
          extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ValidatorBean

public class ValidatorBean
extends AbstractTagBean

ValidatorBean is a Java representation of the faces-config validator XML element.


Field Summary
 
Fields inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AbstractTagBean
_properties
 
Constructor Summary
ValidatorBean()
           
 
Method Summary
 void addValidatorClassModifier(int modifier)
          Adds a Java Language class modifier to the validator class.
 String getRootValidatorId()
          Returns the root validator id
 String getValidatorClass()
          Returns the validator class for this component.
 int getValidatorClassModifiers()
          Returns the Java Language class modifiers for the validator class.
 String getValidatorId()
          Returns the validator identifier for this component.
 String getValidatorSuperClass()
          Returns the validator super class for this component.
 boolean hasValidatorId()
          Returns true if the validator identifier is specified, otherwise false.
 void parseValidatorClassModifier(String modifier)
           
 void setRootValidatorId(String id)
          Sets the "root" validator Id representing the ID defined in faces-config The root id will be used while the tag definition is written out, while the regular Id is used for the lookup of existing validators.
 void setValidatorClass(String validatorClass)
          Sets the validator class for this component.
 void setValidatorId(String validatorId)
          Sets the validator identifer for this component.
 void setValidatorSuperClass(String validatorSuperClass)
          Sets the validator super class for this component.
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AbstractTagBean
_parseModifier, accessibilityGuidelines, addAccessibilityGuideline, addExample, addProperty, addScreenshot, addTagClassModifier, examples, findExample, findProperty, findScreenshot, getDescription, getLongDescription, getTagClass, getTagClassModifiers, getTagName, hasAccessibilityGuidelines, hasExamples, hasProperties, hasScreenshots, parseTagClassModifier, properties, propertiesSize, screenshots, setDescription, setLongDescription, setTagClass, setTagName
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ObjectBean
attach, getOwner, isModifiedSince
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorBean

public ValidatorBean()
Method Detail

setValidatorId

public void setValidatorId(String validatorId)
Sets the validator identifer for this component.

Parameters:
validatorId - validator identifer

setRootValidatorId

public void setRootValidatorId(String id)
Sets the "root" validator Id representing the ID defined in faces-config The root id will be used while the tag definition is written out, while the regular Id is used for the lookup of existing validators. This allows us to define new tags for the existing validator IDs

Parameters:
id - root validator id

getRootValidatorId

public String getRootValidatorId()
Returns the root validator id

Returns:
root validator id

hasValidatorId

public boolean hasValidatorId()
Returns true if the validator identifier is specified, otherwise false.

Returns:
true if the validator identifier is specified, otherwise false.

getValidatorId

public String getValidatorId()
Returns the validator identifier for this component.

Returns:
the validator identifier

setValidatorClass

public void setValidatorClass(String validatorClass)
Sets the validator class for this component.

Parameters:
validatorClass - the validator class

getValidatorClass

public String getValidatorClass()
Returns the validator class for this component.

Returns:
the validator class

setValidatorSuperClass

public void setValidatorSuperClass(String validatorSuperClass)
Sets the validator super class for this component.

Parameters:
validatorSuperClass - the validator super class

getValidatorSuperClass

public String getValidatorSuperClass()
Returns the validator super class for this component.

Returns:
the validator super class

addValidatorClassModifier

public void addValidatorClassModifier(int modifier)
Adds a Java Language class modifier to the validator class.

Parameters:
modifier - the modifier to be added

getValidatorClassModifiers

public int getValidatorClassModifiers()
Returns the Java Language class modifiers for the validator class. By default, these modifiers include Modifier.PUBLIC.

Returns:
the Java Language class modifiers for the validator class

parseValidatorClassModifier

public void parseValidatorClassModifier(String modifier)


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.