org.apache.webdav.lib
Class Privilege

java.lang.Object
  extended byorg.apache.webdav.lib.Privilege

public class Privilege
extends java.lang.Object

This interface models a DAV ACE privilege.

Version:
$Revision: 1.3 $

Field Summary
static Privilege ALL
           
protected  java.lang.String name
          Custom privilege element name.
protected  java.lang.String namespace
          Custom privilege namespace.
protected  java.lang.String parameter
          Additional parameter (usually, an URI).
static Privilege READ
           
static Privilege READ_ACL
           
static Privilege WRITE
           
static Privilege WRITE_ACL
           
 
Constructor Summary
Privilege(java.lang.String namespace, java.lang.String name, java.lang.String parameter)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Equals.
 java.lang.String getName()
          Name accessor.
 java.lang.String getNamespace()
          Namespace accessor.
 java.lang.String getParameter()
          Parameter accessor.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final Privilege ALL

READ

public static final Privilege READ

WRITE

public static final Privilege WRITE

READ_ACL

public static final Privilege READ_ACL

WRITE_ACL

public static final Privilege WRITE_ACL

namespace

protected java.lang.String namespace
Custom privilege namespace.


name

protected java.lang.String name
Custom privilege element name.


parameter

protected java.lang.String parameter
Additional parameter (usually, an URI).

Constructor Detail

Privilege

public Privilege(java.lang.String namespace,
                 java.lang.String name,
                 java.lang.String parameter)
Method Detail

getNamespace

public java.lang.String getNamespace()
Namespace accessor.


getName

public java.lang.String getName()
Name accessor.


getParameter

public java.lang.String getParameter()
Parameter accessor.


equals

public boolean equals(java.lang.Object obj)
Equals.