cascading.operation.xml
Class TagSoupParser
java.lang.Object
cascading.operation.BaseOperation
cascading.operation.xml.TagSoupParser
- All Implemented Interfaces:
- DeclaresResults, Function, Operation, Traceable, 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. |
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)
- Specified by:
operate
in interface Function
- 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-2015 Concurrent, Inc. All Rights Reserved.