Plumtree Tags API  
 

RequiredChildTag Members

RequiredChildTag overview

Public Instance Constructors

RequiredChildTag Constructor Creates a new required child tag meta data object.

Tag classes need to have one public static final RequiredChildTag member variable for every child tag that this tag requires.

If this child tag is required to be present every time the main tag is used, and the child tag is not present, an error will be logged and the tag and its children will be skipped and not displayed. An HTML Comment describing the tag and error will be displayed instead.

E.G. If parenttag requires childtag to be present, then
<pt:parenttag><pt:childtag/></pt:parenttag>
will work, but
<pt:parenttag>text</pt:parenttag>
will not work, because childtag is required to be inside of parenttag.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetTagData (inherited from ARelatedTag) Gets the data about the related tag.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

m_TagData (inherited from ARelatedTag) 

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

RequiredChildTag Class | com.plumtree.portaluiinfrastructure.tags.metadata Namespace