public interface ItemFilter
ItemFilter
Modifier and Type | Method and Description |
---|---|
boolean |
isFilteredItem(Item item)
Returns true if the given item should be filtered.
|
boolean |
isFilteredItem(String name,
Session session)
Returns true if the resouce with the given name should be filtered.
|
void |
setFilteredNodetypes(String[] nodetypeNames)
Set the nodetype names that should be used if a given item should be
filtered.
|
void |
setFilteredPrefixes(String[] prefixes)
Define the namespace prefixes that should be filtered if present in
the prefix of an items name.
|
void |
setFilteredURIs(String[] uris)
Define the URIs that should be filtered out if present in the prefix
of an items name.
|
void setFilteredURIs(String[] uris)
uris
- void setFilteredPrefixes(String[] prefixes)
prefixes
- void setFilteredNodetypes(String[] nodetypeNames)
nodetypeNames
- boolean isFilteredItem(Item item)
item
- to be testedboolean isFilteredItem(String name, Session session)
name
- to be tested for a filtered namespace prefixsession
- used for looking up namespace mappingsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.