org.fcrepo.server.security.xacml.util
Class Attribute

java.lang.Object
  extended by org.fcrepo.server.security.xacml.util.Attribute

public class Attribute
extends Object

Encapsulates an attribute together with name/value configuration items

Version:
$Id$
Author:
Stephen Bayliss

Constructor Summary
Attribute()
           
Attribute(Map<String,String> options)
           
 
Method Summary
 String get(String optionName)
          Get named config item for this attribute
 String put(String optionName, String optionValue)
          Add or update a config item for this attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()

Attribute

public Attribute(Map<String,String> options)
Method Detail

get

public String get(String optionName)
Get named config item for this attribute

Parameters:
optionName -
Returns:

put

public String put(String optionName,
                  String optionValue)
Add or update a config item for this attribute

Parameters:
optionName -
optionValue -
Returns:


Copyright © 2012 DuraSpace. All Rights Reserved.