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 OpssBase64Binary

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

All Implemented Interfaces:
ExpressionComponent

public class OpssBase64Binary
extends DataType

Represents a base64 encoded binary object as defined by http://www.w3.org/2001/XMLSchema#base64Binary


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
OpssBase64Binary(byte[] val)
          Constructor

 

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
 byte[] getValue()
          Returns an object representing real value of this data type.
 int hashCode()
           
 boolean isValid()
           
 java.lang.String toString()
          Returns a string representation of the byte array in base64 encoded format.
static OpssBase64Binary valueOf(java.lang.String str)
          Creates a byte array from given string by decoding base64 format.

 

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

OpssBase64Binary

public OpssBase64Binary(byte[] val)
Constructor
Parameters:
val -

Method Detail

getValue

public byte[] 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:
byte value of this object

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.BASE64_BINARY

toString

public java.lang.String toString()
Returns a string representation of the byte array in base64 encoded format.
Specified by:
toString in class DataType

valueOf

public static OpssBase64Binary valueOf(java.lang.String str)
                                throws java.lang.IllegalArgumentException
Creates a byte array from given string by decoding base64 format.
Throws:
java.lang.IllegalArgumentException

getComponentType

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

isValid

public boolean isValid()

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

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.