A C D E F G H I N O P S T 
All Classes All Packages

A

AbstractTag - Class in org.bndly.common.html
A basic model class for representing HTML document trees.
AbstractTag(ContentContainer) - Constructor for class org.bndly.common.html.AbstractTag
 
ALLOWED_ATTRIBUTE_NAME_CHARS - Static variable in class org.bndly.common.html.DefaultParserConfig
 
applyCSSOnBulletpoints(List<Content>, boolean, String) - Static method in class org.bndly.common.html.HTMLUtils
 
applyCSSOnHTML(HTML, String) - Static method in class org.bndly.common.html.HTMLUtils
 
applyCSSOnHTMLString(String, String) - Static method in class org.bndly.common.html.HTMLUtils
 
applyCSSOnUl(List<Content>, String) - Static method in class org.bndly.common.html.HTMLUtils
 
Attribute - Class in org.bndly.common.html
An attribute can appear on any tag.
Attribute() - Constructor for class org.bndly.common.html.Attribute
 

C

closedTag(Tag) - Method in class org.bndly.common.html.ContentBuildingHandler
 
closedTag(Tag) - Method in class org.bndly.common.html.DefaultHandler
 
closedTag(Tag) - Method in interface org.bndly.common.html.Handler
 
closedTag(Tag) - Method in class org.bndly.common.html.PrettyPrintHandler
 
closeElement() - Method in class org.bndly.common.html.HTMLWriter
 
Comment - Class in org.bndly.common.html
 
Comment(ContentContainer) - Constructor for class org.bndly.common.html.Comment
 
content - Variable in class org.bndly.common.html.ContentBuildingHandler
 
content(String) - Method in class org.bndly.common.html.HTMLWriter
 
Content - Interface in org.bndly.common.html
Content is a marker interface for all model classes that get build while parsing a HTML document.
ContentBuildingHandler - Class in org.bndly.common.html
 
ContentBuildingHandler() - Constructor for class org.bndly.common.html.ContentBuildingHandler
 
ContentContainer - Interface in org.bndly.common.html
 
copy() - Method in interface org.bndly.common.html.HTML
 
createElement(String) - Method in class org.bndly.common.html.HTMLWriter
 

D

DefaultHandler - Class in org.bndly.common.html
The default handler is an empty no-op HTML parsing callback handler.
DefaultHandler() - Constructor for class org.bndly.common.html.DefaultHandler
 
DefaultParserConfig - Class in org.bndly.common.html
The default parser config is a basic static implementation of a HTML parser configuration.
DefaultParserConfig() - Constructor for class org.bndly.common.html.DefaultParserConfig
 

E

Entity - Class in org.bndly.common.html
All HTML entities &name; will be parsed as instances of this class.
Entity(ContentContainer) - Constructor for class org.bndly.common.html.Entity
 
Entity(ContentContainer, String) - Constructor for class org.bndly.common.html.Entity
 

F

flush() - Method in class org.bndly.common.html.HTMLWriter
 

G

getAttribute(String) - Method in class org.bndly.common.html.AbstractTag
 
getAttributes() - Method in class org.bndly.common.html.AbstractTag
 
getColumn() - Method in exception org.bndly.common.html.HTMLParsingException
 
getContent() - Method in class org.bndly.common.html.ContentBuildingHandler
 
getContent() - Method in interface org.bndly.common.html.ContentContainer
 
getContent() - Method in class org.bndly.common.html.Parser
 
getContent() - Method in class org.bndly.common.html.ProxyContent
 
getContent() - Method in class org.bndly.common.html.Tag
 
getEntity(char) - Method in class org.bndly.common.html.HTML5EntityMap
 
getEntityName(char) - Method in class org.bndly.common.html.HTML5EntityMap
 
getHTML() - Method in class org.bndly.common.html.Parser
 
getName() - Method in class org.bndly.common.html.AbstractTag
 
getName() - Method in class org.bndly.common.html.Attribute
 
getName() - Method in class org.bndly.common.html.Entity
 
getParent() - Method in class org.bndly.common.html.AbstractTag
 
getParent() - Method in class org.bndly.common.html.Comment
 
getParent() - Method in interface org.bndly.common.html.Content
 
getParent() - Method in class org.bndly.common.html.Entity
 
getParent() - Method in class org.bndly.common.html.ProxyContent
 
getParent() - Method in class org.bndly.common.html.Text
 
getPrettyString() - Method in class org.bndly.common.html.PrettyPrintHandler
 
getRow() - Method in exception org.bndly.common.html.HTMLParsingException
 
getValue() - Method in class org.bndly.common.html.Attribute
 
getValue() - Method in class org.bndly.common.html.Comment
 
getValue() - Method in class org.bndly.common.html.Text
 

H

handler(Handler) - Method in class org.bndly.common.html.Parser
 
Handler - Interface in org.bndly.common.html
Similar to SAX parsing handlers this handler will be used as a callback interface, when parsing a HTML document with the HTML parser.
hasEntity(char) - Method in class org.bndly.common.html.HTML5EntityMap
 
HTML - Interface in org.bndly.common.html
 
HTML5EntityMap - Class in org.bndly.common.html
 
HTMLParsingException - Exception in org.bndly.common.html
A special exception to allow specific catch statements when using the HTML parser.
HTMLParsingException(long, long) - Constructor for exception org.bndly.common.html.HTMLParsingException
 
HTMLParsingException(long, long, String) - Constructor for exception org.bndly.common.html.HTMLParsingException
 
HTMLParsingException(long, long, String, Throwable) - Constructor for exception org.bndly.common.html.HTMLParsingException
 
HTMLParsingException(long, long, Throwable) - Constructor for exception org.bndly.common.html.HTMLParsingException
 
HTMLShortener - Class in org.bndly.common.html
 
HTMLUtils - Class in org.bndly.common.html
 
HTMLWriter - Class in org.bndly.common.html
A HTMLWriter is a convenience utility to render HTML/XML Trees while allowing a partial flush of already defined elements and attributes.
HTMLWriter(Writer) - Constructor for class org.bndly.common.html.HTMLWriter
 

I

INSTANCE - Static variable in class org.bndly.common.html.HTML5EntityMap
 
isAllowedAttributeNameCharacter(char) - Method in class org.bndly.common.html.DefaultParserConfig
 
isAllowedAttributeNameCharacter(char) - Method in interface org.bndly.common.html.ParserConfig
 
isAutomaticLowerCaseEnabled(String) - Method in class org.bndly.common.html.DefaultParserConfig
 
isAutomaticLowerCaseEnabled(String) - Method in interface org.bndly.common.html.ParserConfig
 
isCharacterWithRequiredHtmlEntity(char) - Method in class org.bndly.common.html.DefaultParserConfig
 
isCharacterWithRequiredHtmlEntity(char) - Method in interface org.bndly.common.html.ParserConfig
 
isCharacterWithRequiredHtmlEntityInAttribute(char) - Method in class org.bndly.common.html.DefaultParserConfig
 
isCharacterWithRequiredHtmlEntityInAttribute(char) - Method in interface org.bndly.common.html.ParserConfig
 
isCharacterWithRequiredHtmlEntityInText(char) - Method in class org.bndly.common.html.DefaultParserConfig
 
isCharacterWithRequiredHtmlEntityInText(char) - Method in interface org.bndly.common.html.ParserConfig
 
isCommentParsingEnabled() - Method in class org.bndly.common.html.DefaultParserConfig
 
isCommentParsingEnabled() - Method in interface org.bndly.common.html.ParserConfig
 
isIncompleteEntityTolerated() - Method in class org.bndly.common.html.DefaultParserConfig
 
isIncompleteEntityTolerated() - Method in interface org.bndly.common.html.ParserConfig
 
isSelfClosingTag(String) - Method in class org.bndly.common.html.DefaultParserConfig
 
isSelfClosingTag(String) - Method in interface org.bndly.common.html.ParserConfig
 
isUnbalancedTagTolerated() - Method in class org.bndly.common.html.DefaultParserConfig
 
isUnbalancedTagTolerated() - Method in interface org.bndly.common.html.ParserConfig
 
isUnquotedAttributeValueTolerated() - Method in class org.bndly.common.html.DefaultParserConfig
 
isUnquotedAttributeValueTolerated() - Method in interface org.bndly.common.html.ParserConfig
 
isWhiteSpace(char) - Method in class org.bndly.common.html.DefaultParserConfig
 
isWhiteSpace(char) - Method in interface org.bndly.common.html.ParserConfig
 

N

NO_OP - Static variable in class org.bndly.common.html.DefaultHandler
 

O

onEntity(Entity) - Method in class org.bndly.common.html.ContentBuildingHandler
 
onEntity(Entity) - Method in class org.bndly.common.html.DefaultHandler
 
onEntity(Entity) - Method in interface org.bndly.common.html.Handler
 
onEntity(Entity) - Method in class org.bndly.common.html.PrettyPrintHandler
 
onSelfClosingTag(SelfClosingTag) - Method in class org.bndly.common.html.ContentBuildingHandler
 
onSelfClosingTag(SelfClosingTag) - Method in class org.bndly.common.html.DefaultHandler
 
onSelfClosingTag(SelfClosingTag) - Method in interface org.bndly.common.html.Handler
 
onSelfClosingTag(SelfClosingTag) - Method in class org.bndly.common.html.PrettyPrintHandler
 
onText(Text) - Method in class org.bndly.common.html.ContentBuildingHandler
 
onText(Text) - Method in class org.bndly.common.html.DefaultHandler
 
onText(Text) - Method in interface org.bndly.common.html.Handler
 
onText(Text) - Method in class org.bndly.common.html.PrettyPrintHandler
 
openedTag(Tag) - Method in class org.bndly.common.html.ContentBuildingHandler
 
openedTag(Tag) - Method in class org.bndly.common.html.DefaultHandler
 
openedTag(Tag) - Method in interface org.bndly.common.html.Handler
 
openedTag(Tag) - Method in class org.bndly.common.html.PrettyPrintHandler
 
org.bndly.common.html - package org.bndly.common.html
 

P

parse() - Method in class org.bndly.common.html.Parser
 
Parser - Class in org.bndly.common.html
The parser is used to read HTML input and notify a handler about found HTML content.
Parser(InputStream) - Constructor for class org.bndly.common.html.Parser
 
Parser(InputStream, String) - Constructor for class org.bndly.common.html.Parser
 
Parser(InputStream, String, ParserConfig) - Constructor for class org.bndly.common.html.Parser
 
Parser(InputStream, ParserConfig) - Constructor for class org.bndly.common.html.Parser
 
Parser(Reader) - Constructor for class org.bndly.common.html.Parser
 
Parser(Reader, ParserConfig) - Constructor for class org.bndly.common.html.Parser
 
Parser(String) - Constructor for class org.bndly.common.html.Parser
 
Parser(String, ParserConfig) - Constructor for class org.bndly.common.html.Parser
 
ParserConfig - Interface in org.bndly.common.html
A parser config is used by Parser while parsing a HTML document.
PrettyPrintHandler - Class in org.bndly.common.html
The pretty print handler is a simple HTML parsing handler that pretty prints the HTML to a string buffer.
PrettyPrintHandler() - Constructor for class org.bndly.common.html.PrettyPrintHandler
 
printContent(List<Content>, PrettyPrintHandler) - Static method in class org.bndly.common.html.PrettyPrintHandler
 
printContent(Content, PrettyPrintHandler) - Static method in class org.bndly.common.html.PrettyPrintHandler
 
ProxyContent - Class in org.bndly.common.html
The proxy content serves as a wrapper for HTML content.
ProxyContent(ContentContainer) - Constructor for class org.bndly.common.html.ProxyContent
 

S

SelfClosingTag - Class in org.bndly.common.html
A self closing tag is <br> or <hr/>.
SelfClosingTag(ContentContainer) - Constructor for class org.bndly.common.html.SelfClosingTag
 
setAttribute(String, String) - Method in class org.bndly.common.html.AbstractTag
 
setAttribute(String, String) - Method in class org.bndly.common.html.HTMLWriter
 
setAttributes(List<Attribute>) - Method in class org.bndly.common.html.AbstractTag
 
setContent(List<Content>) - Method in class org.bndly.common.html.Tag
 
setContent(Content) - Method in class org.bndly.common.html.ProxyContent
 
setName(String) - Method in class org.bndly.common.html.AbstractTag
 
setName(String) - Method in class org.bndly.common.html.Attribute
 
setName(String) - Method in class org.bndly.common.html.Entity
 
setValue(String) - Method in class org.bndly.common.html.Attribute
 
setValue(String) - Method in class org.bndly.common.html.Comment
 
setValue(String) - Method in class org.bndly.common.html.Text
 
shorten(String, int) - Static method in class org.bndly.common.html.HTMLShortener
Shortens the input string and strips all markup elements.
shortenAndKeepMarkup(String, int) - Static method in class org.bndly.common.html.HTMLShortener
Shortens the input string and keeps all markup elements.
shortenAndKeepMarkup(String, int, String) - Static method in class org.bndly.common.html.HTMLShortener
Shortens the input string and keeps all markup elements.
shortenAndKeepMarkupOnHTML(HTML, int, String) - Static method in class org.bndly.common.html.HTMLShortener
 
skipIndent() - Method in class org.bndly.common.html.PrettyPrintHandler
 
skipNewLines() - Method in class org.bndly.common.html.PrettyPrintHandler
 

T

Tag - Class in org.bndly.common.html
A HTML tag may contain further content.
Tag(ContentContainer) - Constructor for class org.bndly.common.html.Tag
 
tagStack - Variable in class org.bndly.common.html.ContentBuildingHandler
 
Text - Class in org.bndly.common.html
Text is a model class for text content in a HTML document.
Text(ContentContainer) - Constructor for class org.bndly.common.html.Text
 
toPlainString() - Method in interface org.bndly.common.html.HTML
 
A C D E F G H I N O P S T 
All Classes All Packages