Class InsertAPITag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.mapbox.InsertAPITag
- All Implemented Interfaces:
- Serializable,- IterationTag,- JspTag,- Tag
A JSP tag to insert a link to the Mapbox JS API.
- Since:
- 12.0
- Version:
- 12.0
- Author:
- Luke
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) static final String(package private) static final StringFields inherited from class javax.servlet.jsp.tagext.TagSupportid, pageContextFields inherited from interface javax.servlet.jsp.tagext.IterationTagEVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.TagEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintdoEndTag()voidSets the Javascript libraries to load after the API is loaded.voidsetVersion(int ver) Sets the Google API version to pull down.Methods inherited from class javax.servlet.jsp.tagext.TagSupportdoAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
- 
Field Details- 
API_JS_NAME- See Also:
 
- 
API_VER_ATTR_NAME- See Also:
 
 
- 
- 
Constructor Details- 
InsertAPITagpublic InsertAPITag()
 
- 
- 
Method Details- 
setVersionpublic void setVersion(int ver) Sets the Google API version to pull down.- Parameters:
- ver- the API major version
 
- 
setJsSets the Javascript libraries to load after the API is loaded.- Parameters:
- jsList- a comma-separated list of libraries
 
- 
doEndTag- Specified by:
- doEndTagin interface- Tag
- Overrides:
- doEndTagin class- TagSupport
- Throws:
- JspException
 
 
-