public class ClassFilter extends java.lang.Object implements JDOMExternalizable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static ClassFilter[] |
EMPTY_ARRAY |
boolean |
ENABLED |
boolean |
INCLUDE |
java.lang.String |
PATTERN |
Constructor and Description |
---|
ClassFilter() |
ClassFilter(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
ClassFilter |
clone() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getPattern() |
int |
hashCode() |
boolean |
isEnabled() |
boolean |
isInclude() |
boolean |
matches(java.lang.String name) |
void |
readExternal(Element element) |
void |
setEnabled(boolean value) |
void |
setInclude(boolean value) |
void |
setPattern(java.lang.String pattern) |
java.lang.String |
toString() |
void |
writeExternal(Element element) |
public static final ClassFilter[] EMPTY_ARRAY
public java.lang.String PATTERN
public boolean ENABLED
public boolean INCLUDE
public ClassFilter()
public ClassFilter(java.lang.String pattern)
public java.lang.String getPattern()
public boolean isEnabled()
public boolean isInclude()
public void setPattern(java.lang.String pattern)
public void setEnabled(boolean value)
public void setInclude(boolean value)
public java.lang.String toString()
toString
in class java.lang.Object
public void readExternal(Element element) throws InvalidDataException
readExternal
in interface JDOMExternalizable
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface JDOMExternalizable
WriteExternalException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ClassFilter clone()
clone
in class java.lang.Object
public boolean matches(java.lang.String name)