Package org.alfresco.opencmis.dictionary
Interface QNameFilter
-
- All Known Implementing Classes:
QNameFilterImpl
public interface QNameFilterFilters QNames and excludes any that are in a predefined list.- Author:
- steveglover, Gethin James
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<QName>filterQName(Collection<QName> typesToFilter)Filters out any QName defined in the "excludedTypes" propertyvoidinitFilter()booleanisExcluded(QName typeQName)Indicates that this QName should be excluded.voidsetExcluded(QName typeQName, boolean excluded)Exclude the type
-
-
-
Field Detail
-
WILDCARD
static final String WILDCARD
- See Also:
- Constant Field Values
-
-
Method Detail
-
filterQName
Collection<QName> filterQName(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()
-
-