A B C D E F G H I L P R S T V W _ 
All Classes All Packages

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(String, String) - Method in class htmlflow.HtmlVisitorCache
Writes "attributeName=attributeValue"
addAttribute(String, String) - Method in class htmlflow.HtmlVisitorPrintStream
 
addAttribute(String, String) - Method in class htmlflow.HtmlVisitorStringBuilder
 
addComment(String) - Method in class htmlflow.HtmlVisitorCache
Writes "<!--s-->"
addComment(String) - Method in class htmlflow.HtmlVisitorPrintStream
 
addComment(String) - Method in class htmlflow.HtmlVisitorStringBuilder
 
addPartial(HtmlView<U>) - Method in class htmlflow.HtmlView
Adds a partial view to this view.
addPartial(HtmlView<U>, U) - Method in class htmlflow.HtmlView
Adds a partial view to this view.
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(String) - Method in class htmlflow.HtmlVisitorCache
Write "<elementName".
beginTag(String) - Method in class htmlflow.HtmlVisitorPrintStream
 
beginTag(String) - Method in class htmlflow.HtmlVisitorStringBuilder
 

C

clone(boolean) - Method in class htmlflow.HtmlVisitorCache
Since HtmlVisitorCache is immutable this is the preferred way to create a copy of the existing HtmlVisitorCache instance with a different isIndented state.
clone(boolean) - Method in class htmlflow.HtmlVisitorPrintStream
 
clone(boolean) - Method in class htmlflow.HtmlVisitorStringBuilder
 
clone(Supplier<HtmlVisitorCache>, boolean) - Method in class htmlflow.DynamicHtml
 
clone(Supplier<HtmlVisitorCache>, 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.
clone(Supplier<HtmlVisitorCache>, boolean) - Method in class htmlflow.StaticHtml
 
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

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
defineRoot() - Method in class htmlflow.HtmlView
 
div() - Method in class htmlflow.HtmlView
 
DynamicHtml<T> - Class in htmlflow
Dynamic views can be bound to a domain object.

E

endTag(String) - Method in class htmlflow.HtmlVisitorCache
Writes "</elementName>".
endTag(String) - Method in class htmlflow.HtmlVisitorPrintStream
 
endTag(String) - Method in class htmlflow.HtmlVisitorStringBuilder
 

F

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
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.HtmlView
 
getParent() - Method in class htmlflow.HtmlView
 
getVisitor() - Method in class htmlflow.HtmlView
 

H

head(Node, int) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
html() - Method in class htmlflow.HtmlView
 
htmlflow - package htmlflow
 
htmlflow.flowifier - package htmlflow.flowifier
 
htmlflow.util - package htmlflow.util
 
HtmlTemplate<T> - Interface in htmlflow
 
HtmlToJavaHtmlFlowNodeVisitor<T extends Appendable> - Interface in htmlflow.flowifier
Visitor of a JSoup node that converts the HTML source code into a Java class
HtmlView<T> - Class in htmlflow
The root container for HTML elements.
HtmlView(Supplier<HtmlVisitorCache>, boolean) - Constructor for class htmlflow.HtmlView
 
HtmlVisitorCache - Class in htmlflow
This is the base implementation of the ElementVisitor (from HtmlApiFaster library) which collects information about visited Html elements of a HtmlView.
HtmlVisitorPrintStream - Class in htmlflow
 
HtmlVisitorPrintStream(PrintStream, boolean) - Constructor for class htmlflow.HtmlVisitorPrintStream
Set HTML output indentation with true by default.
HtmlVisitorPrintStream(PrintStream, boolean, boolean) - Constructor for class htmlflow.HtmlVisitorPrintStream
 
HtmlVisitorStringBuilder - Class in htmlflow
This is the implementation of the ElementVisitor (from HtmlApiFaster library) which uses an internal StringBuilder to collect information about visited Html elements of a HtmlView.
HtmlVisitorStringBuilder(boolean) - Constructor for class htmlflow.HtmlVisitorStringBuilder
 
HtmlVisitorStringBuilder(boolean, boolean) - Constructor for class htmlflow.HtmlVisitorStringBuilder
Set HTML output indentation with true by default.
HtmlWriter<T> - Interface in htmlflow
Writes HTML content into a PrintStream.

I

isUncloseable(Node) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
isUncloseable(Node) - Method in interface htmlflow.flowifier.HtmlToJavaHtmlFlowNodeVisitor
Tells whether a JSoup node cannot be closed
isWriting() - Method in class htmlflow.HtmlVisitorCache
This visitor may be writing to output or not, depending on the kind of HTML block that it is being visited.

L

length() - Method in class htmlflow.util.PrintStringBuilder
 

P

print(char) - Method in class htmlflow.util.PrintStringBuilder
 
print(String) - Method in class htmlflow.util.PrintStringBuilder
 
PrintStringBuilder - Class in htmlflow.util
 
PrintStringBuilder(OutputStream) - Constructor for class htmlflow.util.PrintStringBuilder
 

R

readAndReset() - Method in class htmlflow.HtmlVisitorCache
Returns the accumulated output and clear it.
readAndReset() - Method in class htmlflow.HtmlVisitorPrintStream
 
readAndReset() - Method in class htmlflow.HtmlVisitorStringBuilder
 
render() - Method in class htmlflow.DynamicHtml
 
render() - Method in interface htmlflow.HtmlWriter
Returns a new String with the HTML content of this view.
render() - Method in class htmlflow.StaticHtml
 
render(Object) - Method in class htmlflow.StaticHtml
 
render(T) - Method in class htmlflow.DynamicHtml
 
render(T) - Method in interface htmlflow.HtmlWriter
Returns a new String with the HTML content of this view.
render(T, HtmlView...) - Method in class htmlflow.DynamicHtml
 
resolve(DynamicHtml<T>, T, HtmlView...) - Method in interface htmlflow.HtmlTemplate
 

S

self() - Method in class htmlflow.HtmlView
 
setIndented(boolean) - Method in class htmlflow.HtmlView
Returns a new instance of HtmlView with the same properties of this object but with indented set to the value of isIndented parameter.
setPrintStream(PrintStream) - Method in class htmlflow.HtmlView
Returns a new instance of HtmlView with the same properties of this object but with a new HtmlVisitorCache set with the out PrintStream parameter.
setPrintStream(PrintStream) - Method in interface htmlflow.HtmlWriter
Sets the current PrintStream.
size() - Method in class htmlflow.HtmlVisitorCache
The number of characters written until this moment.
size() - Method in class htmlflow.HtmlVisitorPrintStream
 
size() - Method in class htmlflow.HtmlVisitorStringBuilder
 
StaticHtml - Class in htmlflow
Static Html view.
substring(int) - Method in class htmlflow.HtmlVisitorCache
Returns a substring with the HTML content from the index staticBlockIndex
substring(int) - Method in class htmlflow.HtmlVisitorPrintStream
 
substring(int) - Method in class htmlflow.HtmlVisitorStringBuilder
 
substring(int) - Method in class htmlflow.util.PrintStringBuilder
 

T

tail(Node, int) - Method in class htmlflow.flowifier.AbstractHtmlToJavaHtmlFlowNodeVisitor
 
threadSafe() - Method in class htmlflow.HtmlView
 
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.HtmlView
 

V

view() - Static method in class htmlflow.StaticHtml
 
view(HtmlTemplate<U>) - Static method in class htmlflow.DynamicHtml
 
view(PrintStream) - Static method in class htmlflow.StaticHtml
 
view(PrintStream, HtmlTemplate<U>) - Static method in class htmlflow.DynamicHtml
 
view(PrintStream, BiConsumer<DynamicHtml<U>, U>) - Static method in class htmlflow.DynamicHtml
 
view(PrintStream, Consumer<StaticHtml>) - Static method in class htmlflow.StaticHtml
 
view(BiConsumer<DynamicHtml<U>, U>) - Static method in class htmlflow.DynamicHtml
 
view(Consumer<StaticHtml>) - Static method in class htmlflow.StaticHtml
 
visitAttribute(String, String) - Method in class htmlflow.HtmlVisitorCache
 
visitCloseDynamic() - Method in class htmlflow.HtmlVisitorCache
 
visitComment(Text<? extends Element, R>) - Method in class htmlflow.HtmlVisitorCache
 
visitElement(Element) - Method in class htmlflow.HtmlVisitorCache
While the static blocks are not in cache then it appends elements to the main StringBuilder or PrintStream.
visitElementRoot(Root<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitOpenDynamic() - Method in class htmlflow.HtmlVisitorCache
Copies from or to cacheBlocksList depending on whether the content is in cache or not.
visitParent(Element) - Method in class htmlflow.HtmlVisitorCache
Writes the end tag for elementName: "</elementName>.".
visitParentArea(Area<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentBase(Base<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentBr(Br<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentCol(Col<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentEmbed(Embed<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentHr(Hr<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentImg(Img<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentInput(Input<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentLink(Link<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentMeta(Meta<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentParam(Param<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentRoot(Root<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitParentSource(Source<Z>) - Method in class htmlflow.HtmlVisitorCache
 
visitText(Text<? extends Element, R>) - Method in class htmlflow.HtmlVisitorCache
 

W

write() - Method in class htmlflow.DynamicHtml
 
write() - Method in interface htmlflow.HtmlWriter
Writes into an internal PrintStream the HTML content.
write() - Method in class htmlflow.StaticHtml
 
write(char) - Method in class htmlflow.HtmlVisitorCache
Writes the char c directly to the output.
write(char) - Method in class htmlflow.HtmlVisitorPrintStream
 
write(char) - Method in class htmlflow.HtmlVisitorStringBuilder
 
write(Object) - Method in class htmlflow.StaticHtml
 
write(String) - Method in class htmlflow.HtmlVisitorCache
Writes the string text directly to the output.
write(String) - Method in class htmlflow.HtmlVisitorPrintStream
 
write(String) - Method in class htmlflow.HtmlVisitorStringBuilder
 
write(T) - Method in class htmlflow.DynamicHtml
 
write(T) - Method in interface htmlflow.HtmlWriter
Writes into an internal PrintStream the HTML content binding the object model with the HTML elements.
write(T, HtmlView...) - Method in class htmlflow.DynamicHtml
 

_

__() - Method in class htmlflow.HtmlView
 
A B C D E F G H I L P R S T V W _ 
All Classes All Packages