org.fcrepo.common.policy.NamesNamespace Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcrepo-common Show documentation
Show all versions of fcrepo-common Show documentation
Common, generally useful utilities
/* The contents of this file are subject to the license and copyright terms
* detailed in the license directory at the root of the source tree (also
* available online at http://fedora-commons.org/license/).
*/
package org.fcrepo.common.policy;
public class NamesNamespace
extends XacmlNamespace {
private NamesNamespace(XacmlNamespace parent, String localName) {
super(parent, localName);
}
public static NamesNamespace onlyInstance =
new NamesNamespace(FedoraAsOrganizationNamespace.getInstance(),
"names");
static {
onlyInstance.addNamespace(FedoraAsProjectNamespace.getInstance());
}
public static final NamesNamespace getInstance() {
return onlyInstance;
}
}