All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fcrepo.common.policy.ServiceDefinitionNamespace Maven / Gradle / Ivy

There is a newer version: 6.5.0
Show newest version
/* 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;

import org.jboss.security.xacml.sunxacml.attr.AnyURIAttribute;
import org.jboss.security.xacml.sunxacml.attr.StringAttribute;

/**
 * The Fedora Service Definition XACML namespace.
 * 
 * 
 * Namespace URI    : urn:fedora:names:fedora:2.1:resource:sdef
 * 
*/ public class ServiceDefinitionNamespace extends XacmlNamespace { public final XacmlName PID; public final XacmlName NAMESPACE; public final XacmlName LOCATION; public final XacmlName STATE; private ServiceDefinitionNamespace(XacmlNamespace parent, String localName) { super(parent, localName); PID = addName(new XacmlName(this, "pid", StringAttribute.identifier)); NAMESPACE = addName(new XacmlName(this, "namespace", StringAttribute.identifier)); LOCATION = addName(new XacmlName(this, "location", AnyURIAttribute.identifier)); STATE = addName(new XacmlName(this, "state", StringAttribute.identifier)); } public static ServiceDefinitionNamespace onlyInstance = new ServiceDefinitionNamespace(ResourceNamespace.getInstance(), "sdef"); public static final ServiceDefinitionNamespace getInstance() { return onlyInstance; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy