eu.xtreemos.xosd.security.vops.xacml.request.attributes
Class Attributes

java.lang.Object
  extended by eu.xtreemos.xosd.security.vops.xacml.request.attributes.Attributes
All Implemented Interfaces:
IAttributes
Direct Known Subclasses:
ActionAttr, ResourceAttr, SubjectAttr, SubjectJSDLAttr

public abstract class Attributes
extends java.lang.Object
implements IAttributes


Field Summary
(package private)  java.util.ArrayList<com.sun.xacml.ctx.Attribute> attributes
          Attributes to fill into context.
 
Constructor Summary
Attributes()
           
 
Method Summary
 void addAttribute(com.sun.xacml.ctx.Attribute attribute)
          Adds an attribute to list of attributes
 void addAttributes(java.util.ArrayList<com.sun.xacml.ctx.Attribute> attributes)
          Adds a list of XACML attributes into master list
 void combineAttributes(IAttributes attributes)
          Combines attributes from interface passed as argument with current attribute list.
 java.util.ArrayList<com.sun.xacml.ctx.Attribute> getAttributes()
           
 void initializeAttributes(java.lang.Object source)
          Initializes attributes from source (e.g. certificate, arraylist or some other object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

java.util.ArrayList<com.sun.xacml.ctx.Attribute> attributes
Attributes to fill into context.

Constructor Detail

Attributes

public Attributes()
Method Detail

addAttribute

public void addAttribute(com.sun.xacml.ctx.Attribute attribute)
Description copied from interface: IAttributes
Adds an attribute to list of attributes

Specified by:
addAttribute in interface IAttributes

addAttributes

public void addAttributes(java.util.ArrayList<com.sun.xacml.ctx.Attribute> attributes)
Description copied from interface: IAttributes
Adds a list of XACML attributes into master list.\

Specified by:
addAttributes in interface IAttributes

combineAttributes

public void combineAttributes(IAttributes attributes)
Description copied from interface: IAttributes
Combines attributes from interface passed as argument with current attribute list.

Specified by:
combineAttributes in interface IAttributes

getAttributes

public java.util.ArrayList<com.sun.xacml.ctx.Attribute> getAttributes()
Specified by:
getAttributes in interface IAttributes
Returns:
All attributes as list of XACML Attributes

initializeAttributes

public void initializeAttributes(java.lang.Object source)
                          throws java.lang.Exception
Description copied from interface: IAttributes
Initializes attributes from source (e.g. certificate, arraylist or some other object.

If object is not instance of expected class, an exception is thrown.

Specified by:
initializeAttributes in interface IAttributes
Throws:
java.lang.Exception