@Role public interface NamespaceValidator
| Modifier and Type | Method and Description |
|---|---|
void |
checkAllowed(Collection<String> allowedNamespaces,
String namespace) |
boolean |
isAllowed(Collection<String> allowedNamespaces,
String namespace) |
boolean isAllowed(Collection<String> allowedNamespaces, String namespace)
allowedNamespaces - the allowed dynamic (or not) namespaces, null matches any namespacenamespace - to validate against passed allowed namespacesvoid checkAllowed(Collection<String> allowedNamespaces, String namespace) throws NamespaceNotAllowedException
allowedNamespaces - the allowed dynamic (or not) namespaces, null matches any namespacenamespace - to validate against passed allowed namespacesNamespaceNotAllowedException - when the passed namespace is not allowedCopyright © 2004–2017 XWiki. All rights reserved.