Module com.aoapps.html.any
Interface Data<E extends Element<?,?,E> & Data<E>>
- Type Parameters:
E
- This element type
- All Known Subinterfaces:
GlobalAttributes<E>
- All Known Implementing Classes:
AnyA
,AnyABBR
,AnyADDRESS
,AnyAREA
,AnyARTICLE
,AnyASIDE
,AnyB
,AnyBASE
,AnyBDI
,AnyBDO
,AnyBLOCKQUOTE
,AnyBODY
,AnyBR
,AnyCAPTION
,AnyCITE
,AnyCODE
,AnyCOL
,AnyCOLGROUP
,AnyDATA
,AnyDATALIST
,AnyDD
,AnyDEL
,AnyDFN
,AnyDIV
,AnyDL
,AnyDT
,AnyEM
,AnyFOOTER
,AnyFORM
,AnyH
,AnyH1
,AnyH2
,AnyH3
,AnyH4
,AnyH5
,AnyH6
,AnyHEAD
,AnyHEADER
,AnyHR
,AnyHTML
,AnyI
,AnyIMG
,AnyINPUT
,AnyINPUT.Button
,AnyINPUT.Checkbox
,AnyINPUT.Color
,AnyINPUT.Date
,AnyINPUT.DatetimeLocal
,AnyINPUT.Dynamic
,AnyINPUT.Email
,AnyINPUT.File
,AnyINPUT.Hidden
,AnyINPUT.Image
,AnyINPUT.Month
,AnyINPUT.Number
,AnyINPUT.Password
,AnyINPUT.Radio
,AnyINPUT.Range
,AnyINPUT.Reset
,AnyINPUT.Search
,AnyINPUT.Submit
,AnyINPUT.Tel
,AnyINPUT.Text
,AnyINPUT.Time
,AnyINPUT.Url
,AnyINPUT.Week
,AnyINS
,AnyKBD
,AnyLABEL
,AnyLI
,AnyLINK
,AnyMAIN
,AnyMAP
,AnyMARK
,AnyMENU
,AnyMETA
,AnyMETER
,AnyNAV
,AnyOBJECT
,AnyOL
,AnyOPTGROUP
,AnyOPTION
,AnyOUTPUT
,AnyP
,AnyPARAM
,AnyPRE
,AnyPROGRESS
,AnyQ
,AnyS
,AnySAMP
,AnySCRIPT
,AnySECTION
,AnySELECT
,AnySMALL
,AnySPAN
,AnySTRONG
,AnySTYLE
,AnySUB
,AnySUP
,AnyTABLE
,AnyTBODY
,AnyTD
,AnyTEXTAREA
,AnyTFOOT
,AnyTH
,AnyTHEAD
,AnyTITLE
,AnyTR
,AnyU
,AnyUL
,AnyVAR
,AnyWBR
,Element
,Normal
,NormalText
,Transparent
,TransparentText
,Void
public interface Data<E extends Element<?,?,E> & Data<E>>
- Since:
- HTML 5
- Author:
- AO Industries, Inc.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondata
(String attrName, TextWritable<Ex> value) Data provided by HTML attribute name.data
(String attrName, IOSupplierE<?, Ex> value) Data provided by HTML attribute name.default E
Data provided by HTML attribute name.dataset
(String jsName, TextWritable<Ex> value) Data provided by JavaScript dataset property name.dataset
(String jsName, IOSupplierE<?, Ex> value) Data provided by JavaScript dataset property name.default E
Data provided by JavaScript dataset property name.
-
Method Details
-
data
Data provided by HTML attribute name. Name must begin withData.data.ATTRIBUTE_PREFIX
, and must conform to the rules defined in HTML.- Throws:
IOException
- Since:
- HTML 5
-
data
default <Ex extends Throwable> E data(String attrName, IOSupplierE<?, Ex> value) throws IOException, ExData provided by HTML attribute name. Name must begin withData.data.ATTRIBUTE_PREFIX
, and must conform to the rules defined in HTML.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
- Since:
- HTML 5
-
data
default <Ex extends Throwable> E data(String attrName, TextWritable<Ex> value) throws IOException, Ex Data provided by HTML attribute name. Name must begin withData.data.ATTRIBUTE_PREFIX
, and must conform to the rules defined in HTML.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
- Since:
- HTML 5
-
dataset
Data provided by JavaScript dataset property name.- Throws:
IOException
- Since:
- HTML 5
-
dataset
default <Ex extends Throwable> E dataset(String jsName, IOSupplierE<?, Ex> value) throws IOException, ExData provided by JavaScript dataset property name.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
- Since:
- HTML 5
-
dataset
default <Ex extends Throwable> E dataset(String jsName, TextWritable<Ex> value) throws IOException, Ex Data provided by JavaScript dataset property name.- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
IOException
Ex
- Since:
- HTML 5
-