railo.runtime.ext.tag
Class TagMetaDataAttrImpl

java.lang.Object
  extended by railo.runtime.tag.MissingAttribute
      extended by railo.runtime.ext.tag.TagMetaDataAttrImpl
All Implemented Interfaces:
TagMetaDataAttr

public class TagMetaDataAttrImpl
extends MissingAttribute
implements TagMetaDataAttr


Constructor Summary
TagMetaDataAttrImpl(Collection.Key name, boolean required, String type, boolean isRuntimeExpressionValue, String defaultValue, String description)
          Constructor of the class
TagMetaDataAttrImpl(String name, boolean required, String type, boolean isRuntimeExpressionValue, String defaultValue, String description)
          Constructor of the class
 
Method Summary
 String getDefaultVaue()
          return the default value for this attribute or null if no default value is defined
 String getDescription()
          A description of the attribute.
 boolean isRequired()
          Whether the attribute is required.
 boolean isRuntimeExpressionValue()
          Whether the attribute's value can be dynamically calculated at runtime.
 
Methods inherited from class railo.runtime.tag.MissingAttribute
getName, getType, newInstance, newInstance, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface railo.runtime.ext.tag.TagMetaDataAttr
getName, getType
 

Constructor Detail

TagMetaDataAttrImpl

public TagMetaDataAttrImpl(String name,
                           boolean required,
                           String type,
                           boolean isRuntimeExpressionValue,
                           String defaultValue,
                           String description)
Constructor of the class

Parameters:
name -
required -
type -

TagMetaDataAttrImpl

public TagMetaDataAttrImpl(Collection.Key name,
                           boolean required,
                           String type,
                           boolean isRuntimeExpressionValue,
                           String defaultValue,
                           String description)
Constructor of the class

Parameters:
name -
required -
type -
description -
Method Detail

getDescription

public String getDescription()
Description copied from interface: TagMetaDataAttr
A description of the attribute.

Specified by:
getDescription in interface TagMetaDataAttr
Returns:
the description of the attribute
See Also:
TagMetaDataAttr.getDescription()

isRequired

public boolean isRequired()
Description copied from interface: TagMetaDataAttr
Whether the attribute is required.

Specified by:
isRequired in interface TagMetaDataAttr
Returns:
is required
See Also:
TagMetaDataAttr.isRequired()

isRuntimeExpressionValue

public boolean isRuntimeExpressionValue()
Description copied from interface: TagMetaDataAttr
Whether the attribute's value can be dynamically calculated at runtime.

Specified by:
isRuntimeExpressionValue in interface TagMetaDataAttr
Returns:
is a runtime expression
See Also:
TagMetaDataAttr.isRuntimeExpressionValue()

getDefaultVaue

public String getDefaultVaue()
Description copied from interface: TagMetaDataAttr
return the default value for this attribute or null if no default value is defined

Specified by:
getDefaultVaue in interface TagMetaDataAttr
Returns:
the default value of the attribute
See Also:
TagMetaDataAttr.getDefaultVaue()


Copyright © 2012 Railo