TagLibraryInfo getTagLibrary() Returns the tag library owning this tag. String getTagName() Returns the tag name. VariableInfo[] getVariableInfo( TagData td ) Returns information on the object created by this tag at runtime. Null means no such object created. Default is null if the tag has no “id” attribute, otherwise the array, {”id”, Object}, is returned. String toString() Overridden version of Object.toString. TagLibraryInfo getTagLibrary() Returns the tag library owning this tag. String getTagName() Returns the tag name. VariableInfo[] getVariableInfo( TagData td ) Returns information on the object created by this tag at runtime. Null means no such object created. Default is null if the tag has no “id” attribute, otherwise the array, {”id”, Object}, is returned. String toString() Overridden version of Object.toString. The TagData class also includes several class variables, used as arguments to the getBodyContent method, which are listed in Table A-20. Table A-20: Class Variables Declared in the TagInfo Class Declaration Description static String BODY_CONTENT _EMPTY The current instance of BodyContent is empty. static String BODY_CONTENT_JSP The current instance of BodyContent contains JSP code. static String BODY_CONTENT_TAG_DEPENDENT The current instance of BodyContent depends on the evaluation of another tag. TheTagLibraryInfo Class This class contains information found in the Tag Library Descriptor file about the tag library. Table A-21 lists the methods for the TagInfo class. Table A-21: Methods in the TagLibraryInfo Class Method Signature String getInfoString() String getPrefixString() String getReliableURN() String getRequiredVersion() String getShortName() String getURI() Description Returns the info string coded in the tld. Returns the prefix string used to reference tags within the JSP page. Returns the URN to the tld. Returns the version of the JSP container. Returns the preferred short name of the library. TagInfo getTag(String shortName ) Returns the TagInfo object (tagInfo) for the library with the short name argument. TagInfo[] getTags() Returns an array of TagInfo objects one for each tag described in the tld. Returns the URI from the taglib directive for this library. Instances of class TagLibraryInfo have instance variables that hold values returned from the get methods listed in Table A-21. The TagSupport Class The TagSupport class is a base class for defining new tag handlers implementing the Tag interface. The TagSupport class is a utility class to be used as the base class for new tag handlers. The TagSupport class implements the Tag and IterationTag
Would you like to be a member of headache free web site owner’s community. Now you can. We focus in IX Web Hosting, go go go!