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 |
boolean |
equals(Object object)
|
int |
hashCode()
|
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(java.lang.String, boolean) . |
TagSoupParser
@ConstructorProperties(value="fieldDeclaration")
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(java.lang.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)
equals
public boolean equals(Object object)
- Overrides:
equals
in class BaseOperation
hashCode
public int hashCode()
- Overrides:
hashCode
in class BaseOperation
Copyright © 2007-2010 Concurrent, Inc. All Rights Reserved.