Skip navigation links
A B C D E G H I J L P R S T V W 

A

afterExecute() - Method in class com.github.drinkjava2.jwebbox.JspBox
For subclasses override this method to do something
afterExecute() - Method in class com.github.drinkjava2.jwebbox.WebBox
For subclasses override this method to do something
afterPrepared() - Method in class com.github.drinkjava2.jwebbox.JspBox
For subclasses override this method to do something
afterPrepared() - Method in class com.github.drinkjava2.jwebbox.WebBox
For subclasses override this method to do something
afterShow() - Method in class com.github.drinkjava2.jwebbox.JspBox
For subclasses override this method to do something
afterShow() - Method in class com.github.drinkjava2.jwebbox.WebBox
For subclasses override this method to do something
assureNotNull(Object, String...) - Static method in exception com.github.drinkjava2.jwebbox.WebBox.WebBoxException
Assure object not null, optionMessages is optional

B

beforeExecute() - Method in class com.github.drinkjava2.jwebbox.JspBox
For subclasses override this method to do something
beforeExecute() - Method in class com.github.drinkjava2.jwebbox.WebBox
For subclasses override this method to do something

C

com.github.drinkjava2.jwebbox - package com.github.drinkjava2.jwebbox
 
com.github.drinkjava2.jwebbox.render - package com.github.drinkjava2.jwebbox.render
 
containsIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Find if exist searchStr in str ignore case
containsWhitespace(CharSequence) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Check whether the given CharSequence contains any whitespace characters.
containsWhitespace(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Check whether the given String contains any whitespace characters.
countMatches(CharSequence, char) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Counts how many times the char appears in the given string.

D

doTag() - Method in class com.github.drinkjava2.jwebbox.JspBox.Show
 

E

execute() - Method in class com.github.drinkjava2.jwebbox.JspBox
For subclasses override this method to do something
execute() - Method in class com.github.drinkjava2.jwebbox.WebBox
For subclasses override this method to do something

G

getAttribute(PageContext, String) - Static method in class com.github.drinkjava2.jwebbox.JspBox
Get an attribute from current page's JspBox instance
getAttribute(String) - Method in class com.github.drinkjava2.jwebbox.JspBox
Get JspBox's attribute
getAttribute() - Method in class com.github.drinkjava2.jwebbox.JspBox.Show
 
getAttribute(HttpServletRequest, HttpServletResponse, String) - Static method in class com.github.drinkjava2.jwebbox.WebBox
Get an attribute from current page's HtmlBox instance
getAttribute(String) - Method in class com.github.drinkjava2.jwebbox.WebBox
Get HtmlBox's attribute
getAttributeMap() - Method in class com.github.drinkjava2.jwebbox.JspBox
Get the attribute map of JspBox instance
getAttributeMap() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get the attribute map of HtmlBox instance
getBox(PageContext) - Static method in class com.github.drinkjava2.jwebbox.JspBox
Get current pageContext's JspBox instance
getBox(HttpServletRequest) - Static method in class com.github.drinkjava2.jwebbox.WebBox
Get current pageContext's HtmlBox instance
getFatherHtmlBox() - Method in class com.github.drinkjava2.jwebbox.WebBox
Set the father page's HtmlBox instance
getFatherJspBox() - Method in class com.github.drinkjava2.jwebbox.JspBox
Set the father page's JspBox instance
getName() - Method in class com.github.drinkjava2.jwebbox.JspBox
get the name of the JspBox instance
getName() - Method in class com.github.drinkjava2.jwebbox.WebBox
get the name of the HtmlBox instance
getObject(String) - Method in class com.github.drinkjava2.jwebbox.JspBox
Search and return an attribute object follow this order: pageContext->request->parameter->session
getObject(String) - Method in class com.github.drinkjava2.jwebbox.WebBox
Search and return an attribute object follow this order: pageContext->request->parameter->session
getPage() - Method in class com.github.drinkjava2.jwebbox.JspBox
Get the page
getPage() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get the page
getPageContext() - Method in class com.github.drinkjava2.jwebbox.JspBox
Get current pageContext if have
getPrepareBean() - Method in class com.github.drinkjava2.jwebbox.JspBox
Get the prepare bean instance
getPrepareBean() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get the prepare bean instance
getPrepareBeanMethod() - Method in class com.github.drinkjava2.jwebbox.JspBox
Get the prepare bean method name
getPrepareBeanMethod() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get the prepare bean method name
getPrepareStaticMethod() - Method in class com.github.drinkjava2.jwebbox.JspBox
Get the Prepare static method name
getPrepareStaticMethod() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get the Prepare static method name
getPrepareURL() - Method in class com.github.drinkjava2.jwebbox.JspBox
Get the prepare URL
getPrepareURL() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get the prepare URL
getRandomString(int) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
 
getRequest() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get current Box's HttpServletRequest if have
getResponse() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get current Box's HttpServletResponse if have
getTarget() - Method in class com.github.drinkjava2.jwebbox.JspBox.Show
 
getText() - Method in class com.github.drinkjava2.jwebbox.JspBox
Get the Text
getText() - Method in class com.github.drinkjava2.jwebbox.WebBox
Get the Text
getWebappFolder() - Static method in class com.github.drinkjava2.jwebbox.WebBox
 

H

hasLength(CharSequence) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Check that the given CharSequence is neither null nor of length 0.
hasLength(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Check that the given String is neither null nor of length 0.
HtmlItem - Class in com.github.drinkjava2.jwebbox.render
The html item
HtmlItem(Object, HtmlItemType) - Constructor for class com.github.drinkjava2.jwebbox.render.HtmlItem
 
HtmlItemType - Enum in com.github.drinkjava2.jwebbox.render
The Html item type
HtmlRender - Class in com.github.drinkjava2.jwebbox.render
WebBox is a small layout tool used in servlet environment
HtmlRender() - Constructor for class com.github.drinkjava2.jwebbox.render.HtmlRender
 

I

indexOfIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Return first postion ignore case, return -1 if not found
isCapitalizedString(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Return true if first letter is Capitalised
isEmpty(Object) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Check whether the given String is empty.
isEmptyStr(String) - Static method in class com.github.drinkjava2.jwebbox.JspBox
Check if String null or empty
isEmptyStr(String) - Static method in class com.github.drinkjava2.jwebbox.WebBox
Check if String null or empty
isInvisibleChar(char) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Return true if is an invisible Char like space, tab, return...
isLegalClassName(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Return true if the string can be used as class name
isLettersOrUnderline(char) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
 
isNormalLetters(char) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Check if a String only have a-z,A-Z,0-9,"_" characters

J

joinStringArray(String[], String[]) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Join 2 String array into one
JspBox - Class in com.github.drinkjava2.jwebbox
JspBox is a small layout tool used only for JSP pages, playing the same role like Apache Tiles
JspBox() - Constructor for class com.github.drinkjava2.jwebbox.JspBox
 
JspBox(String) - Constructor for class com.github.drinkjava2.jwebbox.JspBox
Create a JspBox
JspBox.JspBoxException - Exception in com.github.drinkjava2.jwebbox
A runtime exception caused by JspBox
JspBox.Show - Class in com.github.drinkjava2.jwebbox
This is a custom TagLib for JSP and also can be used in FreeMaker
JspBoxException(String) - Constructor for exception com.github.drinkjava2.jwebbox.JspBox.JspBoxException
 
JspBoxException(Throwable) - Constructor for exception com.github.drinkjava2.jwebbox.JspBox.JspBoxException
 
JspBoxException(String, Throwable) - Constructor for exception com.github.drinkjava2.jwebbox.JspBox.JspBoxException
 
JSPBOXID - Static variable in class com.github.drinkjava2.jwebbox.JspBox
 
JWEBBOXID - Static variable in class com.github.drinkjava2.jwebbox.WebBox
 

L

lastIndexOfIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Return last sub-String position ignore case, return -1 if not found

P

positionOfPureChar(String, char) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Return pure char position, return -1 if not found, for example:
s = a\'b\'c'ddddd
positionOfPureChar(s,"'") return 7
prepareOnly(PageContext) - Method in class com.github.drinkjava2.jwebbox.JspBox
Prepare data, only but do not output text and do not show page
prepareOnly(HttpServletRequest, HttpServletResponse) - Method in class com.github.drinkjava2.jwebbox.WebBox
Prepare data, only but do not output text and do not show page

R

readFile(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
 
render() - Method in class com.github.drinkjava2.jwebbox.JspBox
For subclasses override this method to do something
render(HttpServletRequest, HttpServletResponse, String) - Method in class com.github.drinkjava2.jwebbox.WebBox
For subclasses override this method to do customized render
renderAsHtml(HttpServletRequest, HttpServletResponse, String) - Static method in class com.github.drinkjava2.jwebbox.render.HtmlRender
 
replace(String, String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Replace all occurrences of a substring within a string with another string.
replaceFirst(String, String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Replace first occurrences of a substring within a string with another string.
replaceIgnoreCase(String, String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Replace all sub strings ignore case
replaceIgnoreCase("AbcDECd", "Cd", "FF") = "AbFFEFF"

S

setAttribute(String, Object) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set attribute for current JspBox instance
setAttribute(String) - Method in class com.github.drinkjava2.jwebbox.JspBox.Show
 
setAttribute(String, Object) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set attribute for current HtmlBox instance
setAttributeMap(Map<String, Object>) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set the attribute map for JspBox instance
setAttributeMap(Map<String, Object>) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set the attribute map for HtmlBox instance
setFatherHtmlBox(WebBox) - Method in class com.github.drinkjava2.jwebbox.WebBox
Get the father page's HtmlBox instance
setFatherJspBox(JspBox) - Method in class com.github.drinkjava2.jwebbox.JspBox
Get the father page's JspBox instance
setName(String) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set the name of the JspBox instance
setName(String) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set the name of the HtmlBox instance
setPage(Object) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set a JSP page or URL
setPage(Object) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set a JSP page or URL
setPageContext(PageContext) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set pageContext to it
setPageContextAttribute(String, Object) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set a pageContext attribute
setPrepareBean(Object) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set a prepare bean which has a prepare method
setPrepareBean(Object) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set a prepare bean which has a prepare method
setPrepareBeanMethod(String) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set the bean prepare method name
setPrepareBeanMethod(String) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set the bean prepare method name
setPrepareStaticMethod(String) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set a prepare static method
setPrepareStaticMethod(String) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set a prepare static method
setPrepareURL(String) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set prepare URL, this URL be called after prepare methods but before show page
setPrepareURL(String) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set prepare URL, this URL be called after prepare methods but before show page
setRequest(HttpServletRequest) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set HttpServletRequest to current Box
setRequestAttribute(String, Object) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set a request attribute
setRequestAttribute(String, Object) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set a request attribute
setResponse(HttpServletResponse) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set HttpServletResponse to current Box
setSessionAttribute(String, Object) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set a session attribute
setSessionAttribute(String, Object) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set a session attribute
setTarget(Object) - Method in class com.github.drinkjava2.jwebbox.JspBox.Show
 
setText(String) - Method in class com.github.drinkjava2.jwebbox.JspBox
Set the text String
setText(String) - Method in class com.github.drinkjava2.jwebbox.WebBox
Set the text String
setWebappFolder(String) - Static method in class com.github.drinkjava2.jwebbox.WebBox
 
show(PageContext) - Method in class com.github.drinkjava2.jwebbox.JspBox
Prepare data and out put text include page if have
Show() - Constructor for class com.github.drinkjava2.jwebbox.JspBox.Show
 
show(HttpServletRequest, HttpServletResponse) - Method in class com.github.drinkjava2.jwebbox.WebBox
Prepare data and out put text include page if have
showAttribute(PageContext, String) - Static method in class com.github.drinkjava2.jwebbox.JspBox
Assume the value is String or JspBox instance, show it
showAttribute(HttpServletRequest, HttpServletResponse, String) - Static method in class com.github.drinkjava2.jwebbox.WebBox
Assume the value is String or HtmlBox instance, show it
showPageOnly(PageContext) - Method in class com.github.drinkjava2.jwebbox.JspBox
Show page only, do not call prepareStaticMethod and URL
showPageOnly(HttpServletRequest, HttpServletResponse) - Method in class com.github.drinkjava2.jwebbox.WebBox
Show page only, do not call prepareStaticMethod and URL
showTarget(PageContext, Object) - Static method in class com.github.drinkjava2.jwebbox.JspBox
Show an target object, target can be: JspBox instance or String or List of JspBox instance or String
showTarget(HttpServletRequest, HttpServletResponse, Object) - Static method in class com.github.drinkjava2.jwebbox.WebBox
Show an target object, target can be: HtmlBox instance or String or List of HtmlBox instance or String
split(String, char) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Splits the provided text into an array, separator specified.
split(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
 
split(String, String, boolean) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
 
startsWithIgnoreCase(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Test if the given String starts with the specified prefix, ignoring upper/lower case.
substringAfter(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Gets the substring after the first occurrence of a separator.
substringAfterLast(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Gets the substring after the last occurrence of a separator.
substringBefore(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Gets the substring before the first occurrence of a separator.
substringBeforeLast(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Gets the substring before the last occurrence of a separator.
substringBeforeLastExist(String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Same as substringBeforeLast but if not found separator will return ""
substringBetween(String, String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Gets the String that is nested in between two Strings.
substringsBetween(String, String, String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Searches a String for substrings delimited by a start and end tag, returning all matching substrings in an array.

T

toLowerCaseFirstOne(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
First letter change to lower
toUpperCaseFirstOne(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
First letter change to capitalised
trimAllWhitespace(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Trim all whitespace from the given String: leading, trailing, and in between characters.
trimLeadingCharacter(String, char) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Trim all occurrences of the supplied leading character from the given String.
trimLeadingWhitespace(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Trim leading whitespace from the given String.
trimTrailingCharacter(String, char) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Trim all occurrences of the supplied trailing character from the given String.
trimTrailingWhitespace(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Trim trailing whitespace from the given String.
trimWhitespace(String) - Static method in class com.github.drinkjava2.jwebbox.WebBoxStrUtils
Trim leading and trailing whitespace from the given String.
type - Variable in class com.github.drinkjava2.jwebbox.render.HtmlItem
 

V

value - Variable in class com.github.drinkjava2.jwebbox.render.HtmlItem
 
valueOf(String) - Static method in enum com.github.drinkjava2.jwebbox.render.HtmlItemType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.drinkjava2.jwebbox.render.HtmlItemType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebBox - Class in com.github.drinkjava2.jwebbox
WebBox is a small layout tool used in servlet environment
WebBox() - Constructor for class com.github.drinkjava2.jwebbox.WebBox
 
WebBox(String) - Constructor for class com.github.drinkjava2.jwebbox.WebBox
Create a HtmlBox
WebBox.WebBoxException - Exception in com.github.drinkjava2.jwebbox
A runtime exception caused by HtmlBox
WebBoxException(String) - Constructor for exception com.github.drinkjava2.jwebbox.WebBox.WebBoxException
 
WebBoxException(Throwable) - Constructor for exception com.github.drinkjava2.jwebbox.WebBox.WebBoxException
 
WebBoxException(String, Throwable) - Constructor for exception com.github.drinkjava2.jwebbox.WebBox.WebBoxException
 
WebBoxStrUtils - Class in com.github.drinkjava2.jwebbox
String Utilities usually used inside of framework
A B C D E G H I J L P R S T V W 
Skip navigation links

Copyright © 2019. All rights reserved.