Package j2htmx
Class J2Htmx
- java.lang.Object
-
- j2htmx.J2Htmx
-
public class J2Htmx extends Object
- Author:
- tareq A Class containing all functionalities of HTMX for usage with J2Html
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJ2Htmx.AttributeGeneratorA Functional interface to generate attributesstatic classJ2Htmx.Headers
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description j2html.attributes.Attributeboost()j2html.attributes.Attributeboost(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeboost(String value)j2html.attributes.Attributeconfirm()j2html.attributes.Attributeconfirm(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeconfirm(String value)j2html.attributes.Attributedelete()j2html.attributes.Attributedelete(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributedelete(String value)j2html.attributes.Attributedisable()j2html.attributes.Attributedisable(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributedisable(String value)j2html.attributes.Attributedisinherit()j2html.attributes.Attributedisinherit(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributedisinherit(String value)j2html.attributes.Attributeencoding()j2html.attributes.Attributeencoding(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeencoding(String value)j2html.attributes.Attributeext()j2html.attributes.Attributeext(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeext(String value)j2html.attributes.Attributeget()j2html.attributes.Attributeget(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeget(String value)j2html.attributes.Attributeheaders()j2html.attributes.Attributeheaders(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeheaders(String value)j2html.attributes.AttributehistoryElt()j2html.attributes.AttributehistoryElt(J2Htmx.AttributeGenerator generator)j2html.attributes.AttributehistoryElt(String value)j2html.attributes.Attributehyperscript()j2html.attributes.Attributehyperscript(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributehyperscript(String value)j2html.attributes.Attributeinclude()j2html.attributes.Attributeinclude(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeinclude(String value)j2html.attributes.Attributeindicator()j2html.attributes.Attributeindicator(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeindicator(String value)j2html.attributes.Attributeparams()j2html.attributes.Attributeparams(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeparams(String value)j2html.attributes.Attributepatch()j2html.attributes.Attributepatch(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributepatch(String value)j2html.attributes.Attributepost()j2html.attributes.Attributepost(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributepost(String value)j2html.attributes.Attributepreserve()j2html.attributes.Attributepreserve(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributepreserve(String value)j2html.attributes.Attributeprompt()j2html.attributes.Attributeprompt(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeprompt(String value)j2html.attributes.AttributepushUrl()j2html.attributes.AttributepushUrl(J2Htmx.AttributeGenerator generator)j2html.attributes.AttributepushUrl(String value)j2html.attributes.Attributeput()j2html.attributes.Attributeput(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeput(String value)j2html.attributes.AttributereplaceUrl()j2html.attributes.AttributereplaceUrl(J2Htmx.AttributeGenerator generator)j2html.attributes.AttributereplaceUrl(String value)j2html.attributes.Attributerequest()j2html.attributes.Attributerequest(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributerequest(String value)j2html.attributes.Attributeselect()j2html.attributes.Attributeselect(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeselect(String value)j2html.attributes.AttributeselectOob()j2html.attributes.AttributeselectOob(J2Htmx.AttributeGenerator generator)j2html.attributes.AttributeselectOob(String value)j2html.attributes.Attributesse()j2html.attributes.Attributesse(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributesse(String value)j2html.attributes.Attributeswap()j2html.attributes.Attributeswap(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributeswap(String value)j2html.attributes.AttributeswapOob()j2html.attributes.AttributeswapOob(J2Htmx.AttributeGenerator generator)j2html.attributes.AttributeswapOob(String value)j2html.attributes.Attributesync()j2html.attributes.Attributesync(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributesync(String value)j2html.attributes.Attributetarget()j2html.attributes.Attributetarget(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributetarget(String value)j2html.attributes.Attributetrigger()j2html.attributes.Attributetrigger(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributetrigger(String value)j2html.attributes.Attributevals()j2html.attributes.Attributevals(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributevals(String value)j2html.attributes.Attributevars()j2html.attributes.Attributevars(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributevars(String value)static j2html.tags.ContainerTagwithHtmxImport(j2html.tags.ContainerTag tag)Injects htmx script imports into a container tagstatic j2html.tags.ContainerTagwithHyperscriptImport(j2html.tags.ContainerTag tag)Injects hyperscript script imports into a container tagj2html.attributes.Attributews()j2html.attributes.Attributews(J2Htmx.AttributeGenerator generator)j2html.attributes.Attributews(String value)
-
-
-
Field Detail
-
hx
public static J2Htmx hx
-
-
Method Detail
-
withHtmxImport
public static j2html.tags.ContainerTag withHtmxImport(j2html.tags.ContainerTag tag)
Injects htmx script imports into a container tag- Parameters:
tag-- Returns:
-
withHyperscriptImport
public static j2html.tags.ContainerTag withHyperscriptImport(j2html.tags.ContainerTag tag)
Injects hyperscript script imports into a container tag- Parameters:
tag-- Returns:
-
boost
public j2html.attributes.Attribute boost(String value)
-
boost
public j2html.attributes.Attribute boost()
-
boost
public j2html.attributes.Attribute boost(J2Htmx.AttributeGenerator generator)
-
get
public j2html.attributes.Attribute get(String value)
-
get
public j2html.attributes.Attribute get()
-
get
public j2html.attributes.Attribute get(J2Htmx.AttributeGenerator generator)
-
post
public j2html.attributes.Attribute post(String value)
-
post
public j2html.attributes.Attribute post()
-
post
public j2html.attributes.Attribute post(J2Htmx.AttributeGenerator generator)
-
pushUrl
public j2html.attributes.Attribute pushUrl(String value)
-
pushUrl
public j2html.attributes.Attribute pushUrl()
-
pushUrl
public j2html.attributes.Attribute pushUrl(J2Htmx.AttributeGenerator generator)
-
select
public j2html.attributes.Attribute select(String value)
-
select
public j2html.attributes.Attribute select()
-
select
public j2html.attributes.Attribute select(J2Htmx.AttributeGenerator generator)
-
selectOob
public j2html.attributes.Attribute selectOob(String value)
-
selectOob
public j2html.attributes.Attribute selectOob()
-
selectOob
public j2html.attributes.Attribute selectOob(J2Htmx.AttributeGenerator generator)
-
swap
public j2html.attributes.Attribute swap(String value)
-
swap
public j2html.attributes.Attribute swap()
-
swap
public j2html.attributes.Attribute swap(J2Htmx.AttributeGenerator generator)
-
swapOob
public j2html.attributes.Attribute swapOob(String value)
-
swapOob
public j2html.attributes.Attribute swapOob()
-
swapOob
public j2html.attributes.Attribute swapOob(J2Htmx.AttributeGenerator generator)
-
target
public j2html.attributes.Attribute target(String value)
-
target
public j2html.attributes.Attribute target()
-
target
public j2html.attributes.Attribute target(J2Htmx.AttributeGenerator generator)
-
trigger
public j2html.attributes.Attribute trigger(String value)
-
trigger
public j2html.attributes.Attribute trigger()
-
trigger
public j2html.attributes.Attribute trigger(J2Htmx.AttributeGenerator generator)
-
vals
public j2html.attributes.Attribute vals(String value)
-
vals
public j2html.attributes.Attribute vals()
-
vals
public j2html.attributes.Attribute vals(J2Htmx.AttributeGenerator generator)
-
confirm
public j2html.attributes.Attribute confirm(String value)
-
confirm
public j2html.attributes.Attribute confirm()
-
confirm
public j2html.attributes.Attribute confirm(J2Htmx.AttributeGenerator generator)
-
delete
public j2html.attributes.Attribute delete(String value)
-
delete
public j2html.attributes.Attribute delete()
-
delete
public j2html.attributes.Attribute delete(J2Htmx.AttributeGenerator generator)
-
disable
public j2html.attributes.Attribute disable(String value)
-
disable
public j2html.attributes.Attribute disable()
-
disable
public j2html.attributes.Attribute disable(J2Htmx.AttributeGenerator generator)
-
disinherit
public j2html.attributes.Attribute disinherit(String value)
-
disinherit
public j2html.attributes.Attribute disinherit()
-
disinherit
public j2html.attributes.Attribute disinherit(J2Htmx.AttributeGenerator generator)
-
encoding
public j2html.attributes.Attribute encoding(String value)
-
encoding
public j2html.attributes.Attribute encoding()
-
encoding
public j2html.attributes.Attribute encoding(J2Htmx.AttributeGenerator generator)
-
ext
public j2html.attributes.Attribute ext(String value)
-
ext
public j2html.attributes.Attribute ext()
-
ext
public j2html.attributes.Attribute ext(J2Htmx.AttributeGenerator generator)
-
headers
public j2html.attributes.Attribute headers(String value)
-
headers
public j2html.attributes.Attribute headers()
-
headers
public j2html.attributes.Attribute headers(J2Htmx.AttributeGenerator generator)
-
historyElt
public j2html.attributes.Attribute historyElt(String value)
-
historyElt
public j2html.attributes.Attribute historyElt()
-
historyElt
public j2html.attributes.Attribute historyElt(J2Htmx.AttributeGenerator generator)
-
include
public j2html.attributes.Attribute include(String value)
-
include
public j2html.attributes.Attribute include()
-
include
public j2html.attributes.Attribute include(J2Htmx.AttributeGenerator generator)
-
indicator
public j2html.attributes.Attribute indicator(String value)
-
indicator
public j2html.attributes.Attribute indicator()
-
indicator
public j2html.attributes.Attribute indicator(J2Htmx.AttributeGenerator generator)
-
params
public j2html.attributes.Attribute params(String value)
-
params
public j2html.attributes.Attribute params()
-
params
public j2html.attributes.Attribute params(J2Htmx.AttributeGenerator generator)
-
patch
public j2html.attributes.Attribute patch(String value)
-
patch
public j2html.attributes.Attribute patch()
-
patch
public j2html.attributes.Attribute patch(J2Htmx.AttributeGenerator generator)
-
preserve
public j2html.attributes.Attribute preserve(String value)
-
preserve
public j2html.attributes.Attribute preserve()
-
preserve
public j2html.attributes.Attribute preserve(J2Htmx.AttributeGenerator generator)
-
prompt
public j2html.attributes.Attribute prompt(String value)
-
prompt
public j2html.attributes.Attribute prompt()
-
prompt
public j2html.attributes.Attribute prompt(J2Htmx.AttributeGenerator generator)
-
put
public j2html.attributes.Attribute put(String value)
-
put
public j2html.attributes.Attribute put()
-
put
public j2html.attributes.Attribute put(J2Htmx.AttributeGenerator generator)
-
replaceUrl
public j2html.attributes.Attribute replaceUrl(String value)
-
replaceUrl
public j2html.attributes.Attribute replaceUrl()
-
replaceUrl
public j2html.attributes.Attribute replaceUrl(J2Htmx.AttributeGenerator generator)
-
request
public j2html.attributes.Attribute request(String value)
-
request
public j2html.attributes.Attribute request()
-
request
public j2html.attributes.Attribute request(J2Htmx.AttributeGenerator generator)
-
sse
public j2html.attributes.Attribute sse(String value)
-
sse
public j2html.attributes.Attribute sse()
-
sse
public j2html.attributes.Attribute sse(J2Htmx.AttributeGenerator generator)
-
sync
public j2html.attributes.Attribute sync(String value)
-
sync
public j2html.attributes.Attribute sync()
-
sync
public j2html.attributes.Attribute sync(J2Htmx.AttributeGenerator generator)
-
vars
public j2html.attributes.Attribute vars(String value)
-
vars
public j2html.attributes.Attribute vars()
-
vars
public j2html.attributes.Attribute vars(J2Htmx.AttributeGenerator generator)
-
ws
public j2html.attributes.Attribute ws(String value)
-
ws
public j2html.attributes.Attribute ws()
-
ws
public j2html.attributes.Attribute ws(J2Htmx.AttributeGenerator generator)
-
hyperscript
public j2html.attributes.Attribute hyperscript()
-
hyperscript
public j2html.attributes.Attribute hyperscript(String value)
-
hyperscript
public j2html.attributes.Attribute hyperscript(J2Htmx.AttributeGenerator generator)
-
-