public abstract class AbstractOnMatchFilter extends Object implements IOnMatchFilter
Constructor and Description |
---|
AbstractOnMatchFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
OnMatch |
getOnMatch()
Gets the the on match action (exclude or include).
|
int |
hashCode() |
protected void |
loadFromXML(org.apache.commons.configuration.XMLConfiguration xml)
Convenience method for subclasses to load the "onMatch"
attribute from an XML file when
XMLConfiguration is used. |
protected void |
saveToXML(XMLStreamWriter writer)
Convenience method for subclasses to save the "onMatch" attribute
to an XML file when
XMLConfiguration is used. |
void |
setOnMatch(OnMatch onMatch) |
String |
toString() |
public OnMatch getOnMatch()
IOnMatchFilter
getOnMatch
in interface IOnMatchFilter
public final void setOnMatch(OnMatch onMatch)
protected final void loadFromXML(org.apache.commons.configuration.XMLConfiguration xml)
XMLConfiguration
is used.xml
- XML configurationprotected void saveToXML(XMLStreamWriter writer) throws XMLStreamException
XMLConfiguration
is used.writer
- XML stream writerXMLStreamException
- problem saving extra content typesCopyright © 2009–2021 Norconex Inc.. All rights reserved.