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
_resourceName
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
doEndTag()
protected String
Gets the scheme in use, or DEFAULT_SCHEME if none specifiedvoid
release()
void
Specifies that the Style Sheet is located on a different web server.void
setNoScheme
(boolean noScheme) Sets whether to ignore any CSS schemes when generating the file name.final void
setPageContext
(PageContext ctxt) void
Sets the CSS scheme to display.Methods inherited from class org.deltava.taglib.content.InsertMinifiedContentTag
doStartTag, getFileName, isMinified, setMinify
Methods inherited from class org.deltava.taglib.content.InsertContentTag
setName
Methods inherited from class org.deltava.taglib.BrowserInfoTag
getBrowserContext, passedCAPTCHA
Methods 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:
setPageContext
in interfaceTag
- Overrides:
setPageContext
in classTagSupport
-
doEndTag
- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Throws:
JspException
-
release
public void release()- Specified by:
release
in interfaceTag
- Overrides:
release
in classInsertMinifiedContentTag
-