org.jboss.security.xacml.factories
Class PolicyAttributeFactory

java.lang.Object
  extended by org.jboss.security.xacml.factories.PolicyAttributeFactory

public class PolicyAttributeFactory
extends java.lang.Object

Static class that has methods to create AttributeValueTypes for constructing policies

Since:
Jul 20, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Constructor Summary
PolicyAttributeFactory()
           
 
Method Summary
static AttributeValueType createAnyURIAttributeType(java.net.URI value)
           
static AttributeDesignatorType createAttributeDesignatorType(java.lang.String id, java.lang.String dataType)
           
static AttributeValueType createBase64BinaryAttributeType(byte[] value)
           
static AttributeValueType createBooleanAttributeType(boolean value)
           
static AttributeValueType createDateAttributeType()
           
static AttributeValueType createDateAttributeType(javax.xml.datatype.XMLGregorianCalendar value)
           
static AttributeValueType createDateTimeAttributeType()
           
static AttributeValueType createDateTimeAttributeType(javax.xml.datatype.XMLGregorianCalendar value)
           
static AttributeValueType createDNSNameAttributeType(java.lang.String hostname)
           
static AttributeValueType createDoubleAttributeType(double value)
           
static AttributeValueType createEmailAttributeType(java.lang.String value)
           
static AttributeValueType createHexBinaryAttributeType(byte[] value)
           
static AttributeValueType createIntegerAttributeType(int value)
           
static AttributeValueType createIPAddressAttributeType(java.net.InetAddress address)
           
static AttributeValueType createStringAttributeType(java.lang.String value)
           
static SubjectAttributeDesignatorType createSubjectAttributeDesignatorType(java.lang.String id, java.lang.String dataType)
           
static AttributeValueType createTimeAttributeType()
           
static AttributeValueType createTimeAttributeType(javax.xml.datatype.XMLGregorianCalendar value)
           
static AttributeValueType createX509NameAttributeType(javax.security.auth.x500.X500Principal value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyAttributeFactory

public PolicyAttributeFactory()
Method Detail

createAnyURIAttributeType

public static AttributeValueType createAnyURIAttributeType(java.net.URI value)

createBase64BinaryAttributeType

public static AttributeValueType createBase64BinaryAttributeType(byte[] value)

createBooleanAttributeType

public static AttributeValueType createBooleanAttributeType(boolean value)

createDateAttributeType

public static AttributeValueType createDateAttributeType()

createDateAttributeType

public static AttributeValueType createDateAttributeType(javax.xml.datatype.XMLGregorianCalendar value)

createDateTimeAttributeType

public static AttributeValueType createDateTimeAttributeType()

createDateTimeAttributeType

public static AttributeValueType createDateTimeAttributeType(javax.xml.datatype.XMLGregorianCalendar value)

createDNSNameAttributeType

public static AttributeValueType createDNSNameAttributeType(java.lang.String hostname)

createDoubleAttributeType

public static AttributeValueType createDoubleAttributeType(double value)

createEmailAttributeType

public static AttributeValueType createEmailAttributeType(java.lang.String value)

createHexBinaryAttributeType

public static AttributeValueType createHexBinaryAttributeType(byte[] value)

createIntegerAttributeType

public static AttributeValueType createIntegerAttributeType(int value)

createIPAddressAttributeType

public static AttributeValueType createIPAddressAttributeType(java.net.InetAddress address)

createStringAttributeType

public static AttributeValueType createStringAttributeType(java.lang.String value)

createTimeAttributeType

public static AttributeValueType createTimeAttributeType()

createTimeAttributeType

public static AttributeValueType createTimeAttributeType(javax.xml.datatype.XMLGregorianCalendar value)

createX509NameAttributeType

public static AttributeValueType createX509NameAttributeType(javax.security.auth.x500.X500Principal value)

createAttributeDesignatorType

public static AttributeDesignatorType createAttributeDesignatorType(java.lang.String id,
                                                                    java.lang.String dataType)

createSubjectAttributeDesignatorType

public static SubjectAttributeDesignatorType createSubjectAttributeDesignatorType(java.lang.String id,
                                                                                  java.lang.String dataType)


Copyright © 2007 JBoss Inc.. All Rights Reserved.