Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-01 ESAPI


oracle.security.jps.service.policystore.info
Class OpssRFC822Name

java.lang.Object
  extended by oracle.security.jps.service.policystore.info.DataType
      extended by oracle.security.jps.service.policystore.info.OpssRFC822Name

All Implemented Interfaces:
ExpressionComponent

public class OpssRFC822Name
extends DataType

This class represents rfc822Nameobject, as defined in XACML 3.0 core specification, section A.2


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.security.jps.service.policystore.info.DataType
DataType.TYPE

 

Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.ExpressionComponent
ExpressionComponent.Type

 

Constructor Summary
OpssRFC822Name(java.lang.String str)
          Creates a OpssRFC822Name object from given string

 

Method Summary
 boolean equals(java.lang.Object that)
          Override java method for accurate list and hashtable lookups.
 ExpressionComponent.Type getComponentType()
          Returns type of the component.
 DataType.TYPE getType()
          For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof
 java.lang.String getValue()
          Returns an object representing real value of this data type.
 int hashCode()
           
 boolean isValid()
           
 java.lang.String toString()
           
 boolean validate(java.lang.String string)
          Checks if the given string represents a valid rfc822 name object.
static OpssRFC822Name valueOf(java.lang.String str)
          Creates a OpssRFC822Name object from given string

 

Methods inherited from class oracle.security.jps.service.policystore.info.DataType
getDataTypeObjectFromString, getDataTypeObjectFromString, getTypeClassFromClassName, getTypeFromClass

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

OpssRFC822Name

public OpssRFC822Name(java.lang.String str)
Creates a OpssRFC822Name object from given string
Parameters:
str -
Throws:
java.lang.IllegalArgumentException - if given string is null or does not represent a valid rfc 822 address.

Method Detail

getValue

public java.lang.String getValue()
Description copied from class: DataType
Returns an object representing real value of this data type. For example, OpssInteger.getValue will return an Integer object.
Specified by:
getValue in class DataType
Returns:
string value of this rfc 822 name

getType

public final DataType.TYPE getType()
Description copied from class: DataType
For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof
Specified by:
getType in class DataType
Returns:
Data type of this object, always TYPE.RFC822_NAME

toString

public java.lang.String toString()
Specified by:
toString in class DataType
Returns:
string representation of RFC822 name.

valueOf

public static OpssRFC822Name valueOf(java.lang.String str)
                              throws java.lang.IllegalArgumentException
Creates a OpssRFC822Name object from given string
Parameters:
str -
Throws:
java.lang.IllegalArgumentException - if given string is null or does not represent a valid rfc 822 address.

equals

public final boolean equals(java.lang.Object that)
Description copied from class: DataType
Override java method for accurate list and hashtable lookups.
Specified by:
equals in class DataType

hashCode

public final int hashCode()
Specified by:
hashCode in class DataType

validate

public boolean validate(java.lang.String string)
Checks if the given string represents a valid rfc822 name object.
Throws:
java.lang.IllegalArgumentException - if the given string is not a valid rfc 822 name.

getComponentType

public ExpressionComponent.Type getComponentType()
Description copied from interface: ExpressionComponent
Returns type of the component.
Returns:

isValid

public boolean isValid()

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-01 ESAPI


Copyright © 2011,2012, Oracle and/or its affiliates. All rights reserved.