org.jboss.security.xacml.core.ext
Class SingleValueAttribute
java.lang.Object
org.jboss.security.xacml.sunxacml.attr.AttributeValue
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleValueAttribute
public SingleValueAttribute(URI type,
String value)
SingleValueAttribute
protected SingleValueAttribute(URI type)
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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.