Package org.alfresco.opencmis.dictionary
Interface QNameFilter
-
- All Known Implementing Classes:
QNameFilterImpl
public interface QNameFilter
Filters QNames and excludes any that are in a predefined list.- Author:
- steveglover, Gethin James
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WILDCARD
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<QName>
filterQName(java.util.Collection<QName> typesToFilter)
Filters out any QName defined in the "excludedTypes" propertyvoid
initFilter()
boolean
isExcluded(QName typeQName)
Indicates that this QName should be excluded.void
setExcluded(QName typeQName, boolean excluded)
Exclude the type
-
-
-
Field Detail
-
WILDCARD
static final java.lang.String WILDCARD
- See Also:
- Constant Field Values
-
-
Method Detail
-
filterQName
java.util.Collection<QName> filterQName(java.util.Collection<QName> typesToFilter)
Filters out any QName defined in the "excludedTypes" property- Parameters:
typesToFilter
- - original list- Returns:
- the filtered list
-
isExcluded
boolean isExcluded(QName typeQName)
Indicates that this QName should be excluded.- Parameters:
typeQName
- QName- Returns:
- boolean true if it is excluded
-
setExcluded
void setExcluded(QName typeQName, boolean excluded)
Exclude the type- Parameters:
typeQName
- the type to exclude
-
initFilter
void initFilter()
-
-