Package | Description |
---|---|
org.htmlcleaner | |
org.htmlcleaner.audit | |
org.htmlcleaner.conditional |
Modifier and Type | Method and Description |
---|---|
Set<ITagNodeCondition> |
CleanerProperties.getAllowTagSet() |
protected Set<ITagNodeCondition> |
HtmlCleaner.getAllowTagSet(org.htmlcleaner.CleanTimeValues cleanTimeValues) |
Set<ITagNodeCondition> |
CleanerProperties.getPruneTagSet() |
protected Set<ITagNodeCondition> |
HtmlCleaner.getPruneTagSet(org.htmlcleaner.CleanTimeValues cleanTimeValues) |
Modifier and Type | Method and Description |
---|---|
void |
CleanerProperties.addPruneTagNodeCondition(ITagNodeCondition condition)
Adds the condition to existing prune tag set.
|
void |
CleanerProperties.fireConditionModification(ITagNodeCondition condition,
TagNode tagNode) |
List<? extends TagNode> |
TagNode.getElementList(ITagNodeCondition condition,
boolean isRecursive)
Get all elements in the tree that satisfy specified condition.
|
Modifier and Type | Method and Description |
---|---|
void |
HtmlModificationListener.fireConditionModification(ITagNodeCondition condition,
TagNode tagNode)
Fired when cleaner modifies html due to
ITagNodeCondition match. |
void |
HtmlModificationListenerLogger.fireConditionModification(ITagNodeCondition condition,
TagNode tagNode) |
Modifier and Type | Class and Description |
---|---|
class |
TagAllCondition
All nodes.
|
class |
TagNodeAttExistsCondition
Checks if node contains specified attribute.
|
class |
TagNodeAttNameValueRegexCondition
Checks if node has specified attribute with specified value.
|
class |
TagNodeAttValueCondition
Checks if node has specified attribute with specified value.
|
class |
TagNodeAutoGeneratedCondition
Remove empty autogenerated nodes.
|
class |
TagNodeEmptyContentCondition
Checks if node is an inline 0r block element and has empty contents or white/non-breakable spaces only.
|
class |
TagNodeInsignificantBrCondition
Checks if node is an insignificant br tag -- is placed at the end or at the
start of a block.
|
class |
TagNodeNameCondition
Checks if node has specified name.
|
Copyright © 2006–2018. All rights reserved.