org.jboss.security.xacml.core.ext
Class SingleValueAttribute

java.lang.Object
  extended by org.jboss.security.xacml.sunxacml.attr.AttributeValue
      extended by org.jboss.security.xacml.core.ext.SingleValueAttribute
All Implemented Interfaces:
Evaluatable, Expression

public class SingleValueAttribute
extends AttributeValue

Represents a custom attribute of single value

Since:
Mar 28, 2008
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Constructor Summary
protected SingleValueAttribute(URI type)
           
  SingleValueAttribute(URI type, String value)
           
 
Method Summary
 String encode()
          Encodes the value in a form suitable for including in XML data like a request or an obligation.
 
Methods inherited from class org.jboss.security.xacml.sunxacml.attr.AttributeValue
encode, encode, encodeWithTags, evaluate, evaluatesToBag, getChildren, getType, isBag, returnsBag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleValueAttribute

public SingleValueAttribute(URI type,
                            String value)

SingleValueAttribute

protected SingleValueAttribute(URI type)
Method Detail

encode

public String encode()
Description copied from class: AttributeValue
Encodes the value in a form suitable for including in XML data like a request or an obligation. This must return a value that could in turn be used by the factory to create a new instance with the same value.

Specified by:
encode in class AttributeValue
Returns:
a String form of the value


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.