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 -
Method Summary
Modifier and TypeMethodDescriptionfilterQName
(Collection<QName> typesToFilter) Filters out any QName defined in the "excludedTypes" propertyvoid
boolean
isExcluded
(QName typeQName) Indicates that this QName should be excluded.void
setExcluded
(QName typeQName, boolean excluded) Exclude the type
-
Field Details
-
WILDCARD
- See Also:
-
-
Method Details
-
filterQName
Filters out any QName defined in the "excludedTypes" property- Parameters:
typesToFilter
- - original list- Returns:
- the filtered list
-
isExcluded
Indicates that this QName should be excluded.- Parameters:
typeQName
- QName- Returns:
- boolean true if it is excluded
-
setExcluded
Exclude the type- Parameters:
typeQName
- the type to exclude
-
initFilter
void initFilter()
-