Package org.xmlet.htmlapifaster
Interface Element<T extends Element,Z extends Element>
-
- All Superinterfaces:
AsyncElement<T>
- All Known Subinterfaces:
AltFlowContentChoice<T,Z>,AudioChoice0<T,Z>,ColgroupAll0<T,Z>,CustomAttributeGroup<T,Z>,DatalistChoice0<T,Z>,DivChoice0<T,Z>,DlAll0<T,Z>,EmbeddedContentAll3<T,Z>,EmbeddedContentAll9<T,Z>,FieldsetChoice0<T,Z>,FigureChoice0<T,Z>,FlowContentChoice<T,Z>,GlobalAttributes<T,Z>,GlobalEventAttributes<T,Z>,HeadingContentAll11<T,Z>,HeadingContentAll2<T,Z>,HeadingContentAll3<T,Z>,HtmlChoice0<T,Z>,MainLessFlowContentChoice<T,Z>,MetadataContentAll1<T,Z>,ObjectChoice0<T,Z>,OlAll0<T,Z>,OptgroupAll0<T,Z>,PhrasingContentChoice<T,Z>,PhrasingContentWithoutDfnChoice<T,Z>,PhrasingContentWithoutMeterChoice<T,Z>,PhrasingContentWithoutProgressChoice<T,Z>,PictureAll0<T,Z>,RtcChoice0<T,Z>,RubyChoice0<T,Z>,SectioningContentAll5<T,Z>,SelectAll0<T,Z>,TableChoice0<T,Z>,TbodyAll0<T,Z>,TextGroup<T,Z>,TfootAll0<T,Z>,TheadAll0<T,Z>,TrAll0<T,Z>,TransparentContentChoice<T,Z>,TransparentContentWithoutAAll1<T,Z>,TransparentContentWithoutAAll3<T,Z>,UlAll0<T,Z>,VideoChoice0<T,Z>
- All Known Implementing Classes:
A,Abbr,Address,Area,Article,Aside,Audio,B,Base,Bdi,Bdo,Blockquote,Body,Br,Button,Canvas,Caption,Cite,Code,Col,Colgroup,CustomElement,Data,Datalist,Dd,Del,Details,DetailsComplete,DetailsSummary,Dfn,Dialog,Div,Dl,Dt,Em,Embed,Fieldset,Figcaption,Figure,Footer,Form,H1,H2,H3,H4,H5,H6,Head,Header,Hr,Html,I,Iframe,Img,Input,Ins,Kbd,Label,Legend,Li,Link,Main,Map,Mark,Math,Meta,Meter,Nav,Noscript,Object,Ol,Optgroup,Option,Output,P,Param,Picture,Pre,Progress,Q,Rb,Root,Rp,Rt,Rtc,Ruby,S,Samp,Script,Section,Select,Small,Source,Span,Strong,Style,Sub,Summary,Sup,Svg,Table,Tbody,Td,Template,Text,Textarea,Tfoot,Th,Thead,Time,Title,Tr,Track,U,Ul,Var,Video,Wbr
public interface Element<T extends Element,Z extends Element> extends AsyncElement<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Z__()default <M> Tawait(AwaitConsumer<T,M> asyncAction)Executes an async operation on a certain modeldefault CustomElement<T>custom(String name)default <U> Tdynamic(BiConsumer<T,U> consumer)StringgetName()ZgetParent()ElementVisitorgetVisitor()default Tof(Consumer<T> consumer)Tself()
-
-
-
Method Detail
-
self
T self()
-
getVisitor
ElementVisitor getVisitor()
-
getName
String getName()
-
__
Z __()
-
getParent
Z getParent()
-
await
default <M> T await(AwaitConsumer<T,M> asyncAction)
Executes an async operation on a certain model- Specified by:
awaitin interfaceAsyncElement<T extends Element>- Type Parameters:
M- Generic type fo the received model- Parameters:
asyncAction- The async action to be executed on a element and model- Returns:
- The processed element
-
dynamic
default <U> T dynamic(BiConsumer<T,U> consumer)
- Type Parameters:
U- The type of the model.- Parameters:
consumer- The continuation that consumes the element and a model.- Returns:
- The same element that is passed to the consumer, corresponding to this element, i.e. self.
-
custom
default CustomElement<T> custom(String name)
-
-