|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.tags.helper.TagMetaDataHelper
public class TagMetaDataHelper
This helper class uses XPReflect to read in the tag meta data. This class should be called once per tag class and stored as a static on the ATag class.
Field Summary | |
---|---|
protected OptionalTagAttribute[] |
m_OptionalTagAttributes
|
protected ITagMetaData[] |
m_RequiredChildTags
|
protected ITagMetaData[] |
m_RequiredParentTags
|
protected RequiredTagAttribute[] |
m_RequiredTagAttributes
|
protected TagLibraryMetaData |
m_TagLibraryMetaData
|
protected ITagMetaData |
m_TagMetaData
|
Constructor Summary | |
---|---|
TagMetaDataHelper()
|
Method Summary | |
---|---|
OptionalTagAttribute[] |
GetOptionalTagAttributes()
Gets the meta data for the optional tag attributes for this tag. |
ITagMetaData[] |
GetRequiredChildTags()
Gets the required child tags meta data for this tag. |
ITagMetaData[] |
GetRequiredParentTags()
Gets the required parent tags meta data for this tag. |
RequiredTagAttribute[] |
GetRequiredTagAttributes()
Gets the meta data for the required tag attributes for this tag. |
TagLibraryMetaData |
GetTagLibraryMetaData()
Store the Tag Library meta data object for the Tag Library that contains this Tag. |
ITagMetaData |
GetTagMetaData()
Gets the meta data for this tag. |
boolean |
Init(ATag _Tag,
TagLibraryMetaData _TagLibMetaData)
This method uses reflection to discover all of the meta data about this tag and caches it for quick lookup in the future. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ITagMetaData m_TagMetaData
protected TagLibraryMetaData m_TagLibraryMetaData
protected RequiredTagAttribute[] m_RequiredTagAttributes
protected OptionalTagAttribute[] m_OptionalTagAttributes
protected ITagMetaData[] m_RequiredParentTags
protected ITagMetaData[] m_RequiredChildTags
Constructor Detail |
---|
public TagMetaDataHelper()
Method Detail |
---|
public boolean Init(ATag _Tag, TagLibraryMetaData _TagLibMetaData)
public TagLibraryMetaData GetTagLibraryMetaData()
public ITagMetaData GetTagMetaData()
public RequiredTagAttribute[] GetRequiredTagAttributes()
public OptionalTagAttribute[] GetOptionalTagAttributes()
public ITagMetaData[] GetRequiredParentTags()
public ITagMetaData[] GetRequiredChildTags()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |