Index

A B C D E F G H I L N O P R S T V W _ 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractHtmlToJavaHtmlFlowNodeVisitor<T extends Appendable> - Class in htmlflow.flowifier
Defines most of the implementation for a typical visitor of a JSoup node that converts the HTML source code into a Java class except the storage managed by the appendable
AbstractHtmlToJavaHtmlFlowNodeVisitor(Supplier<T>, boolean) - Constructor for class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
Constructor
addAttribute(Appendable, String, String) - Static method in class htmlflow.visitor.Tags
Writes "attributeName=attributeValue"
addComment(Appendable, String) - Static method in class htmlflow.visitor.Tags
Writes "<!--s-->"
appendAttribute(Attribute, Class<?>) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
appendAttribute(Attribute, Class<?>) - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Appends the attribute value and key
appendFooter() - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
appendFooter() - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Appends the footer of the Java class, i.e closes the method and the class
appendHeader() - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
appendHeader() - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Appends the header of the Java class, i.e the imports, the declaration of the class, the declaration of the method, ...

B

beginTag(Appendable, String) - Static method in class htmlflow.visitor.Tags
Write "<elementName".

C

chainContinuationStatic(HtmlContinuation) - Method in class htmlflow.visitor.PreprocessingVisitor
 
clone(boolean) - Method in class htmlflow.visitor.HtmlDocVisitor
 
clone(boolean) - Method in class htmlflow.visitor.HtmlViewVisitor
 
clone(boolean) - Method in class htmlflow.visitor.HtmlViewVisitorAsync
 
clone(boolean) - Method in class htmlflow.visitor.HtmlVisitor
Since HtmlVisitor is immutable this is the preferred way to create a copy of the existing HtmlVisitor instance with a different isIndented state.
clone(boolean) - Method in class htmlflow.visitor.PreprocessingVisitor
 
clone(Appendable) - Method in class htmlflow.visitor.HtmlViewVisitorAsync
 
clone(Supplier<HtmlVisitor>, boolean) - Method in class htmlflow.HtmlView
Since HtmlView is immutable this is the preferred way to create a copy of the existing HtmlView instance with a different threadSafe state.
convertJavaStringContentToJavaDeclarableString(String) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
convertJavaStringContentToJavaDeclarableString(String) - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Converts the content of a Java string into a string that can be declared in a Java class passed as a method parameter
copy(HtmlVisitor) - Method in class htmlflow.continuations.HtmlContinuation
Creates a copy of this HtmlContinuation with a new visitor
copy(HtmlVisitor) - Method in class htmlflow.continuations.HtmlContinuationAsync
 
copy(HtmlVisitor) - Method in class htmlflow.continuations.HtmlContinuationAsyncTerminationNode
 
copy(HtmlVisitor) - Method in class htmlflow.continuations.HtmlContinuationSyncCloseAndIndent
 
copy(HtmlVisitor) - Method in class htmlflow.continuations.HtmlContinuationSyncDynamic
 
copy(HtmlVisitor) - Method in class htmlflow.continuations.HtmlContinuationSyncStatic
 
copyElement(HtmlVisitor) - Method in class htmlflow.continuations.HtmlContinuationAsync
 
copyElement(HtmlVisitor) - Method in class htmlflow.continuations.HtmlContinuationSyncDynamic
 

D

DefaultHtmlToJavaHtmlFlowNodeVisitor - Class in htmlflow.flowifier
Default implementation of the visitor of a JSoup node that converts the HTML source code into a Java class, it uses a StringBuilder to append the content of the Java class.
DefaultHtmlToJavaHtmlFlowNodeVisitor() - Constructor for class htmlflow.flowifier.DefaultHtmlToJavaHtmlFlowNodeVisitor
Constructor with indentation disabled
DefaultHtmlToJavaHtmlFlowNodeVisitor(boolean) - Constructor for class htmlflow.flowifier.DefaultHtmlToJavaHtmlFlowNodeVisitor
Constructor
depth - Variable in class htmlflow.visitor.HtmlVisitor
keep track of current indentation.
div() - Method in class htmlflow.HtmlPage
 
doc(Appendable) - Static method in class htmlflow.HtmlFlow
Creates a HtmlDoc object corresponding to a static HTML page (without model dependency) that emits HTML to an output Appendable

E

emitHtml(Object) - Method in class htmlflow.continuations.HtmlContinuationSync
Hook method to emit HTML.
emitHtml(Object) - Method in class htmlflow.continuations.HtmlContinuationSyncCloseAndIndent
 
emitHtml(Object) - Method in class htmlflow.continuations.HtmlContinuationSyncDynamic
 
emitHtml(Object) - Method in class htmlflow.continuations.HtmlContinuationSyncStatic
 
endTag(Appendable, String) - Static method in class htmlflow.visitor.Tags
Writes "</elementName>".
execute(Object) - Method in class htmlflow.continuations.HtmlContinuation
Executes this continuation and calls the next one if exist.
execute(Object) - Method in class htmlflow.continuations.HtmlContinuationAsync
 
execute(Object) - Method in class htmlflow.continuations.HtmlContinuationAsyncTerminationNode
 
execute(Object) - Method in class htmlflow.continuations.HtmlContinuationSync
Executes this continuation and calls the next one if exist.

F

finishedAsync(Object) - Method in class htmlflow.visitor.HtmlViewVisitorAsync
 
first - Variable in class htmlflow.visitor.HtmlViewVisitor
The first node to be processed.
Flowifier - Class in htmlflow.flowifier
Main class of the flowifier used to convert a whole document or the content of a node into a Java class
Flowifier() - Constructor for class htmlflow.flowifier.Flowifier
Constructor
fromHtml(String) - Static method in class htmlflow.flowifier.Flowifier
Returns the Java source code of a class that generates the HTML source code of the given source.

G

getAppendable() - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
getAppendable() - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Returns the appendable used to store the Java class
getClassFromNodeName(String) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
getClassFromNodeName(String) - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Returns the class of the node whose name is passed if any, otherwise null
getDepth() - Method in class htmlflow.visitor.HtmlVisitor
keep track of current indentation.
getFirst() - Method in class htmlflow.visitor.PreprocessingVisitor
 
getMethodFromAttribute(Class<?>, Attribute) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
getMethodFromAttribute(Class<?>, Attribute) - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Returns the method of the class node that matches with the attribute if any, otherwise null
getName() - Method in class htmlflow.HtmlDoc
 
getName() - Method in class htmlflow.HtmlView
 
getName() - Method in class htmlflow.HtmlViewAsync
 
getNext() - Method in class htmlflow.continuations.HtmlContinuation
 
getParent() - Method in class htmlflow.HtmlPage
 
getVisitor() - Method in class htmlflow.HtmlDoc
 
getVisitor() - Method in class htmlflow.HtmlView
 
getVisitor() - Method in class htmlflow.HtmlViewAsync
 

H

head(Node, int) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
HEADER - Static variable in class htmlflow.HtmlPage
 
html() - Method in class htmlflow.HtmlDoc
 
html() - Method in class htmlflow.HtmlPage
 
html() - Method in class htmlflow.HtmlView
 
html() - Method in class htmlflow.HtmlViewAsync
 
HtmlContinuation - Class in htmlflow.continuations
Base class for a linked list of nodes, corresponding to HtmlContinuation objects.
HtmlContinuation(int, boolean, HtmlVisitor, HtmlContinuation) - Constructor for class htmlflow.continuations.HtmlContinuation
 
HtmlContinuationAsync<E extends org.xmlet.htmlapifaster.Element,T> - Class in htmlflow.continuations
HtmlContinuation for an asynchronous block (i.e.
HtmlContinuationAsync(int, boolean, E, AwaitConsumer<E, T>, HtmlVisitor, HtmlContinuation) - Constructor for class htmlflow.continuations.HtmlContinuationAsync
 
HtmlContinuationAsyncTerminationNode - Class in htmlflow.continuations
 
HtmlContinuationAsyncTerminationNode(CompletableFuture<Void>) - Constructor for class htmlflow.continuations.HtmlContinuationAsyncTerminationNode
 
HtmlContinuationSync - Class in htmlflow.continuations
 
HtmlContinuationSync(int, boolean, HtmlVisitor, HtmlContinuation) - Constructor for class htmlflow.continuations.HtmlContinuationSync
 
HtmlContinuationSyncCloseAndIndent - Class in htmlflow.continuations
 
HtmlContinuationSyncCloseAndIndent(HtmlVisitor) - Constructor for class htmlflow.continuations.HtmlContinuationSyncCloseAndIndent
 
HtmlContinuationSyncCloseAndIndent(HtmlVisitor, HtmlContinuation) - Constructor for class htmlflow.continuations.HtmlContinuationSyncCloseAndIndent
Sets indentation to -1 to inform that visitor should continue with previous indentation.
HtmlContinuationSyncDynamic<E extends org.xmlet.htmlapifaster.Element,T> - Class in htmlflow.continuations
HtmlContinuation for a dynamic block (i.e.
HtmlContinuationSyncDynamic(int, boolean, E, BiConsumer<E, T>, HtmlVisitor, HtmlContinuation) - Constructor for class htmlflow.continuations.HtmlContinuationSyncDynamic
 
HtmlContinuationSyncStatic - Class in htmlflow.continuations
HtmlContinuation for a static HTML block.
HtmlContinuationSyncStatic(String, HtmlVisitor, HtmlContinuation) - Constructor for class htmlflow.continuations.HtmlContinuationSyncStatic
Sets indentation to -1 to inform that visitor should continue with previous indentation.
HtmlDoc - Class in htmlflow
Static Html view.
HtmlDocVisitor - Class in htmlflow.visitor
This is the implementation of the ElementVisitor (from HtmlApiFaster library) that emits HTML immediately with no optimizations.
HtmlDocVisitor(Appendable, boolean) - Constructor for class htmlflow.visitor.HtmlDocVisitor
 
HtmlDocVisitor(Appendable, boolean, int) - Constructor for class htmlflow.visitor.HtmlDocVisitor
 
htmlflow - package htmlflow
 
HtmlFlow - Class in htmlflow
Factory to create HtmlDoc or HtmlView instances corresponding to static HTMl pages or dynamic pages.
htmlflow.continuations - package htmlflow.continuations
 
htmlflow.exceptions - package htmlflow.exceptions
 
htmlflow.flowifier - package htmlflow.flowifier
 
htmlflow.visitor - package htmlflow.visitor
 
HtmlFlowAppendException - Exception in htmlflow.exceptions
 
HtmlFlowAppendException(String) - Constructor for exception htmlflow.exceptions.HtmlFlowAppendException
 
HtmlFlowAppendException(Throwable) - Constructor for exception htmlflow.exceptions.HtmlFlowAppendException
 
HtmlPage - Class in htmlflow
The root container for HTML elements.
HtmlPage() - Constructor for class htmlflow.HtmlPage
 
HtmlTemplate - Interface in htmlflow
The model of type T is obtained from view's render() method and passed to dynamic blocks.
HtmlToJavaHtmlFlowNodeVisitor<T extends Appendable> - Interface in htmlflow.flowifier
Visitor of a JSoup node that converts the HTML source code into a Java class
HtmlView - Class in htmlflow
Dynamic views can be bound to a Model object.
HtmlViewAsync - Class in htmlflow
Dynamic views can be bound to a domain object within an asynchronous context with the usage of Publisher.
HtmlViewVisitor - Class in htmlflow.visitor
This is the base implementation of the ElementVisitor (from HtmlApiFaster library).
HtmlViewVisitor(Appendable, boolean, HtmlContinuation) - Constructor for class htmlflow.visitor.HtmlViewVisitor
 
HtmlViewVisitorAsync - Class in htmlflow.visitor
 
HtmlViewVisitorAsync(boolean, HtmlContinuation) - Constructor for class htmlflow.visitor.HtmlViewVisitorAsync
 
HtmlVisitor - Class in htmlflow.visitor
This is the base implementation of the ElementVisitor (from HtmlApiFaster library).

I

indentAndAdvanceStaticBlockIndex() - Method in class htmlflow.visitor.PreprocessingVisitor
 
isClosed - Variable in class htmlflow.visitor.HtmlVisitor
If the beginning tag is closed, or not, i.e.
isIndented - Variable in class htmlflow.visitor.HtmlVisitor
It the HTML output should be indented or not.
isUncloseable(Node) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
isUncloseable(Node) - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Tells whether a JSoup node cannot be closed

L

last - Variable in class htmlflow.visitor.HtmlViewVisitorAsync
The last node to be processed.

N

newlineAndIndent() - Method in class htmlflow.visitor.HtmlVisitor
Adds a new line and indentation.
next - Variable in class htmlflow.continuations.HtmlContinuation
Next HtmlContinuation

O

out - Variable in class htmlflow.visitor.HtmlVisitor
 
out() - Method in class htmlflow.visitor.HtmlVisitor
 

P

PreprocessingVisitor - Class in htmlflow.visitor
This visitor is used to make a preprocessing resolution of an HtmlTemplate.
PreprocessingVisitor(boolean) - Constructor for class htmlflow.visitor.PreprocessingVisitor
 
PreprocessingVisitorAsync - Class in htmlflow.visitor
 
PreprocessingVisitorAsync(boolean) - Constructor for class htmlflow.visitor.PreprocessingVisitorAsync
 

R

render() - Method in class htmlflow.HtmlView
 
render(Object) - Method in class htmlflow.HtmlView
 
renderAsync(Object) - Method in class htmlflow.HtmlViewAsync
 
resolve(HtmlPage) - Method in interface htmlflow.HtmlTemplate
 
resolve(Object) - Method in class htmlflow.visitor.HtmlDocVisitor
 
resolve(Object) - Method in class htmlflow.visitor.HtmlViewVisitor
Processing output through invocation of HtmlContinuation objects chain.
resolve(Object) - Method in class htmlflow.visitor.HtmlVisitor
Processing output.
resolve(Object) - Method in class htmlflow.visitor.PreprocessingVisitor
Creates the last static HTML block.

S

sb() - Method in class htmlflow.visitor.PreprocessingVisitor
The main StringBuilder.
self() - Method in class htmlflow.HtmlPage
 
setAppendable(Appendable) - Method in class htmlflow.visitor.HtmlVisitor
 
setDepth(int) - Method in class htmlflow.visitor.HtmlVisitor
Set current indentation.
setIndented(boolean) - Method in class htmlflow.HtmlDoc
 
setIndented(boolean) - Method in class htmlflow.HtmlPage
Returns a new instance of HtmlFlow with the same properties of this object but with indented set to the value of isIndented parameter.
setIndented(boolean) - Method in class htmlflow.HtmlView
Returns a new instance of HtmlFlow with the same properties of this object but with indented set to the value of isIndented parameter.
setIndented(boolean) - Method in class htmlflow.HtmlViewAsync
 
setIsClosed(boolean) - Method in class htmlflow.visitor.HtmlVisitor
 
setOut(Appendable) - Method in class htmlflow.HtmlView
 

T

Tags - Class in htmlflow.visitor
 
tail(Node, int) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
threadSafe() - Method in class htmlflow.HtmlDoc
 
threadSafe() - Method in class htmlflow.HtmlPage
 
threadSafe() - Method in class htmlflow.HtmlView
 
threadSafe() - Method in class htmlflow.HtmlViewAsync
This implementation is always thread-safe since we create a new visitor on each resolution (i.e.
toFlow(String) - Method in class htmlflow.flowifier.Flowifier
Returns the Java source code of a class that generates the HTML source code of the document at the given URL
toFlow(String, HtmlToJavaHtmlFlowNodeVisitor<T>) - Method in class htmlflow.flowifier.Flowifier
Returns the Java source code of a class that generates the HTML source code of the document at the given URL
toFlow(Document) - Method in class htmlflow.flowifier.Flowifier
Returns the Java source code of a class that generates the HTML source code of the given document
toFlow(Document, HtmlToJavaHtmlFlowNodeVisitor<T>) - Method in class htmlflow.flowifier.Flowifier
Returns the Java source code of a class that generates the HTML source code of the given document
toFlow(Node, HtmlToJavaHtmlFlowNodeVisitor<T>) - Method in class htmlflow.flowifier.Flowifier
Returns the Java source code of a class that generates the HTML source code of the given node
tr() - Method in class htmlflow.HtmlPage
 

V

view(HtmlTemplate) - Static method in class htmlflow.HtmlFlow
Creates a HtmlView corresponding to a dynamic HtmlPage with a model.
view(Appendable, HtmlTemplate) - Static method in class htmlflow.HtmlFlow
Creates a HtmlView corresponding to a dynamic HtmlPage with a model.
viewAsync(HtmlTemplate) - Static method in class htmlflow.HtmlFlow
Creates a HtmlViewAsync corresponding to a dynamic HtmlPage with an asynchronous model.
visitAttribute(String, String) - Method in class htmlflow.visitor.HtmlVisitor
 
visitAwait(E, AwaitConsumer<E, M>) - Method in class htmlflow.visitor.HtmlDocVisitor
 
visitAwait(E, AwaitConsumer<E, M>) - Method in class htmlflow.visitor.HtmlViewVisitor
 
visitAwait(E, AwaitConsumer<E, M>) - Method in class htmlflow.visitor.PreprocessingVisitor
 
visitAwait(E, AwaitConsumer<E, M>) - Method in class htmlflow.visitor.PreprocessingVisitorAsync
 
visitComment(Text<? extends Element, R>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitDynamic(E, BiConsumer<E, U>) - Method in class htmlflow.visitor.HtmlDocVisitor
 
visitDynamic(E, BiConsumer<E, U>) - Method in class htmlflow.visitor.HtmlViewVisitor
We only allow a single call to visitDynamic when we are preprocessing the template function and building an invocation chain of HtmlContinuation objects (see PreprocessingVisitor).
visitDynamic(E, BiConsumer<E, U>) - Method in class htmlflow.visitor.PreprocessingVisitor
Here we are creating 2 HtmlContinuation objects: one for previous static HTML and a next one corresponding to the consumer passed to dynamic().
visitElement(Element) - Method in class htmlflow.visitor.HtmlVisitor
This method appends the String "<elementName" and it leaves the element open to include additional attributes.
visitElementRoot(Root<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitorSupplier - Variable in class htmlflow.HtmlView
 
visitParent(Element) - Method in class htmlflow.visitor.HtmlVisitor
Writes the end tag for elementName: "</elementName>.".
visitParentArea(Area<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentBase(Base<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentBr(Br<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentCol(Col<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentEmbed(Embed<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentHr(Hr<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentImg(Img<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentInput(Input<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentLink(Link<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentMeta(Meta<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentOnVoidElements() - Method in class htmlflow.visitor.HtmlVisitor
Void elements: area, base, br, col, embed, hr, img, input, link, meta, param, source, track, wbr.
visitParentParam(Param<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentRoot(Root<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitParentSource(Source<Z>) - Method in class htmlflow.visitor.HtmlVisitor
 
visitText(Text<? extends Element, R>) - Method in class htmlflow.visitor.HtmlVisitor
 

W

write() - Method in class htmlflow.HtmlView
 
write(char) - Method in class htmlflow.visitor.HtmlVisitor
 
write(Object) - Method in class htmlflow.HtmlView
 
write(String) - Method in class htmlflow.visitor.HtmlVisitor
 
writeAsync(Appendable, Object) - Method in class htmlflow.HtmlViewAsync
 

_

__() - Method in class htmlflow.HtmlPage
 
A B C D E F G H I L N O P R S T V W _ 
All Classes and Interfaces|All Packages|Serialized Form