cascading.operation.xml
Class TagSoupParser
java.lang.Object
cascading.operation.BaseOperation
cascading.operation.xml.TagSoupParser
- All Implemented Interfaces:
- Function, Operation, Serializable
public class TagSoupParser
- extends BaseOperation
- implements Function
Class TagSoupParser uses the Tag Soup library to convert
incoming HTML to clean XHTML.
- See Also:
- Serialized Form
| Fields inherited from interface cascading.operation.Operation |
ANY |
|
Constructor Summary |
TagSoupParser(Fields fieldDeclaration)
Constructor TagSoupParser creates a new TagSoupParser instance. |
|
Method Summary |
void |
operate(FlowProcess flowProcess,
FunctionCall functionCall)
Method operate provides the implementation of this Function. |
void |
setFeature(String feature,
boolean value)
Method setFeature allows the user to set 'features' directly on the TagSoup parser, Parser#setFeature(String, boolean). |
TagSoupParser
public TagSoupParser(Fields fieldDeclaration)
- Constructor TagSoupParser creates a new TagSoupParser instance.
- Parameters:
fieldDeclaration - of type Fields
setFeature
public void setFeature(String feature,
boolean value)
- Method setFeature allows the user to set 'features' directly on the TagSoup parser,
Parser#setFeature(String, boolean).
Note, all features are lazily added when the Parser is instantiated.
- Parameters:
feature - of type Stringvalue - of type boolean
operate
public void operate(FlowProcess flowProcess,
FunctionCall functionCall)
- Description copied from interface:
Function
- Method operate provides the implementation of this Function.
- Specified by:
operate in interface Function
- Parameters:
flowProcess - of type FlowProcessfunctionCall - of type FunctionCall- See Also:
Function.operate(cascading.flow.FlowProcess,cascading.operation.FunctionCall)
Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.