Class InsertCSSTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
org.deltava.taglib.content.InsertContentTag
org.deltava.taglib.content.InsertMinifiedContentTag
org.deltava.taglib.content.InsertCSSTag
- All Implemented Interfaces:
Serializable,IterationTag,JspTag,Tag
A JSP tag to insert a Cascading Style Sheet.
- Since:
- 1.0
- Version:
- 12.0
- Author:
- Luke
- See Also:
-
Field Summary
FieldsFields inherited from class org.deltava.taglib.content.InsertContentTag
_resourceNameFields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoEndTag()protected StringGets the scheme in use, or DEFAULT_SCHEME if none specifiedvoidrelease()voidSpecifies that the Style Sheet is located on a different web server.voidsetNoScheme(boolean noScheme) Sets whether to ignore any CSS schemes when generating the file name.final voidsetPageContext(PageContext ctxt) voidSets the CSS scheme to display.Methods inherited from class org.deltava.taglib.content.InsertMinifiedContentTag
doStartTag, getFileName, isMinified, setMinifyMethods inherited from class org.deltava.taglib.content.InsertContentTag
setNameMethods inherited from class org.deltava.taglib.BrowserInfoTag
getBrowserContext, passedCAPTCHAMethods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
-
Field Details
-
DEFAULT_SCHEME
-
-
Constructor Details
-
InsertCSSTag
public InsertCSSTag()
-
-
Method Details
-
setHost
Specifies that the Style Sheet is located on a different web server.- Parameters:
hostName- the host name
-
setScheme
Sets the CSS scheme to display.- Parameters:
name- the scheme name- See Also:
-
setNoScheme
public void setNoScheme(boolean noScheme) Sets whether to ignore any CSS schemes when generating the file name.- Parameters:
noScheme- TRUE to ignore schemes, otherwise FALSE
-
getScheme
Gets the scheme in use, or DEFAULT_SCHEME if none specified- Returns:
- the scheme name
- See Also:
-
setPageContext
- Specified by:
setPageContextin interfaceTag- Overrides:
setPageContextin classTagSupport
-
doEndTag
- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classTagSupport- Throws:
JspException
-
release
public void release()- Specified by:
releasein interfaceTag- Overrides:
releasein classInsertMinifiedContentTag
-