cascading.operation.xml
Class TagSoupParser
java.lang.Object
cascading.operation.BaseOperation
cascading.operation.xml.TagSoupParser
- All Implemented Interfaces:
- cascading.flow.planner.DeclaresResults, cascading.operation.Function, cascading.operation.Operation, Serializable
public class TagSoupParser
- extends cascading.operation.BaseOperation
- implements cascading.operation.Function
Class TagSoupParser uses the Tag Soup library to convert
incoming HTML to clean XHTML.
- See Also:
- Serialized Form
Fields inherited from class cascading.operation.BaseOperation |
fieldDeclaration, numArgs, trace |
Fields inherited from interface cascading.operation.Operation |
ANY |
Constructor Summary |
TagSoupParser(cascading.tuple.Fields fieldDeclaration)
Constructor TagSoupParser creates a new TagSoupParser instance. |
Method Summary |
boolean |
equals(Object object)
|
int |
hashCode()
|
void |
operate(cascading.flow.FlowProcess flowProcess,
cascading.operation.FunctionCall functionCall)
|
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) . |
Methods inherited from class cascading.operation.BaseOperation |
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, prepare, printOperationInternal, toString, toStringInternal |
Methods inherited from interface cascading.operation.Operation |
cleanup, flush, getFieldDeclaration, getNumArgs, isSafe, prepare |
TagSoupParser
@ConstructorProperties(value="fieldDeclaration")
public TagSoupParser(cascading.tuple.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(cascading.flow.FlowProcess flowProcess,
cascading.operation.FunctionCall functionCall)
- Specified by:
operate
in interface cascading.operation.Function
- See Also:
Function.operate(cascading.flow.FlowProcess, cascading.operation.FunctionCall)
equals
public boolean equals(Object object)
- Overrides:
equals
in class cascading.operation.BaseOperation
hashCode
public int hashCode()
- Overrides:
hashCode
in class cascading.operation.BaseOperation
Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.