org.apache.myfaces.buildtools.maven2.plugin.faces.parse
Class AbstractTagBean

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.faces.parse.ObjectBean
      extended by org.apache.myfaces.buildtools.maven2.plugin.faces.parse.AbstractTagBean
Direct Known Subclasses:
ConverterBean, ValidatorBean

public class AbstractTagBean
extends ObjectBean


Field Summary
protected  java.util.Map _properties
           
 
Constructor Summary
AbstractTagBean()
           
 
Method Summary
protected  int _parseModifier(java.lang.String text)
           
 void addProperty(PropertyBean property)
          Adds a property to this component.
 void addTagClassModifier(int modifier)
          Adds a Java Language class modifier to the tag class.
 PropertyBean findProperty(java.lang.String propertyName)
          Returns the property for this property name.
 java.lang.String getDescription()
          Returns the description of this property.
 java.lang.String getLongDescription()
          Returns the long description of this property.
 java.lang.String getTagClass()
          Returns the JSP tag handler class for this component.
 int getTagClassModifiers()
          Returns the Java Language class modifiers for the tag class.
 javax.xml.namespace.QName getTagName()
          Returns the JSP tag name for this component.
 boolean hasProperties()
          Returns true if this component has any properties.
 void parseTagClassModifier(java.lang.String modifier)
           
 java.util.Iterator properties()
          Returns an iterator for all properties on this component only.
 int propertiesSize()
          Number of properties for this component
 void setDescription(java.lang.String description)
          Sets the description of this property.
 void setLongDescription(java.lang.String longDescription)
          Sets the long description of this property.
 void setTagClass(java.lang.String tagClass)
          Sets the JSP tag handler class for this component.
 void setTagName(javax.xml.namespace.QName tagName)
          Sets the JSP tag name for this component.
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.faces.parse.ObjectBean
attach, getOwner, isModifiedSince
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_properties

protected java.util.Map _properties
Constructor Detail

AbstractTagBean

public AbstractTagBean()
Method Detail

setDescription

public void setDescription(java.lang.String description)
Sets the description of this property.

Parameters:
description - the property description

getDescription

public java.lang.String getDescription()
Returns the description of this property.

Returns:
the property description

setLongDescription

public void setLongDescription(java.lang.String longDescription)
Sets the long description of this property.

Parameters:
longDescription - the long property description

getLongDescription

public java.lang.String getLongDescription()
Returns the long description of this property.

Returns:
the long property description

setTagClass

public void setTagClass(java.lang.String tagClass)
Sets the JSP tag handler class for this component.

Parameters:
tagClass - the JSP tag handler class

getTagClass

public java.lang.String getTagClass()
Returns the JSP tag handler class for this component.

Returns:
the JSP tag handler class

setTagName

public void setTagName(javax.xml.namespace.QName tagName)
Sets the JSP tag name for this component.

Parameters:
tagName - the JSP tag name

getTagName

public javax.xml.namespace.QName getTagName()
Returns the JSP tag name for this component.

Returns:
the JSP tag name

addProperty

public void addProperty(PropertyBean property)
Adds a property to this component.

Parameters:
property - the property to add

findProperty

public PropertyBean findProperty(java.lang.String propertyName)
Returns the property for this property name.

Parameters:
propertyName - the property name to find

hasProperties

public boolean hasProperties()
Returns true if this component has any properties.

Returns:
true if this component has any properties, false otherwise

properties

public java.util.Iterator properties()
Returns an iterator for all properties on this component only.

Returns:
the property iterator

parseTagClassModifier

public void parseTagClassModifier(java.lang.String modifier)

_parseModifier

protected int _parseModifier(java.lang.String text)

addTagClassModifier

public void addTagClassModifier(int modifier)
Adds a Java Language class modifier to the tag class.

Parameters:
modifier - the modifier to be added

getTagClassModifiers

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

Returns:
the Java Language class modifiers for the tag class

propertiesSize

public int propertiesSize()
Number of properties for this component

Returns:
num of properties


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.