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

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.ConverterBean

public class ConverterBean
extends AbstractTagBean

ConverterBean is a Java representation of the faces-config converter XML element.


Field Summary
 
Fields inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AbstractTagBean
_properties
 
Constructor Summary
ConverterBean()
           
 
Method Summary
 void addConverterClassModifier(int modifier)
          Adds a Java Language class modifier to the converter class.
 String getConverterClass()
          Returns the converter class for this component.
 int getConverterClassModifiers()
          Returns the Java Language class modifiers for the converter class.
 String getConverterId()
          Returns the converter identifier for this component.
 String getConverterSuperClass()
          Returns the converter super class for this component.
 String getRootConverterId()
          Returns the root converter id
 boolean hasConverterId()
          Returns true if the converter identifier is specified, otherwise false.
 void parseConverterClassModifier(String modifier)
           
 void setConverterClass(String converterClass)
          Sets the converter class for this component.
 void setConverterId(String converterId)
          Sets the converter identifer for this component.
 void setConverterSuperClass(String converterSuperClass)
          Sets the converter super class for this component.
 void setRootConverterId(String id)
          Sets the "root" converter 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 converters.
 
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

ConverterBean

public ConverterBean()
Method Detail

setConverterId

public void setConverterId(String converterId)
Sets the converter identifer for this component.

Parameters:
converterId - converter identifer

hasConverterId

public boolean hasConverterId()
Returns true if the converter identifier is specified, otherwise false.

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

getConverterId

public String getConverterId()
Returns the converter identifier for this component.

Returns:
the converter identifier

setRootConverterId

public void setRootConverterId(String id)
Sets the "root" converter 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 converters. This allows us to define new tags for the existing converter IDs

Parameters:
id - root converter id

getRootConverterId

public String getRootConverterId()
Returns the root converter id

Returns:
root converter id

setConverterClass

public void setConverterClass(String converterClass)
Sets the converter class for this component.

Parameters:
converterClass - the converter class

getConverterClass

public String getConverterClass()
Returns the converter class for this component.

Returns:
the converter class

setConverterSuperClass

public void setConverterSuperClass(String converterSuperClass)
Sets the converter super class for this component.

Parameters:
converterSuperClass - the converter super class

getConverterSuperClass

public String getConverterSuperClass()
Returns the converter super class for this component.

Returns:
the converter super class

addConverterClassModifier

public void addConverterClassModifier(int modifier)
Adds a Java Language class modifier to the converter class.

Parameters:
modifier - the modifier to be added

getConverterClassModifiers

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

Returns:
the Java Language class modifiers for the converter class

parseConverterClassModifier

public void parseConverterClassModifier(String modifier)


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