Skip navigation links

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

E27155-03


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

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

All Implemented Interfaces:
ExpressionComponent

public class OpssHexBinary
extends DataType

Represents a binary object in hex encoding as defined by http://www.w3.org/2001/XMLSchema#hexBinary.


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
OpssHexBinary()
          Default constructor.
OpssHexBinary(byte[] val)
           

 

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()
           
static OpssHexBinary valueOf(java.lang.String str)
          Given a string, converts it to bytes base 16.

 

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

OpssHexBinary

public OpssHexBinary()
Default constructor.

OpssHexBinary

public OpssHexBinary(byte[] 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.HEX_BINARY

toString

public java.lang.String toString()
Specified by:
toString in class DataType
Returns:
String representation of the hex bytes.

valueOf

public static OpssHexBinary valueOf(java.lang.String str)
                             throws java.lang.IllegalArgumentException
Given a string, converts it to bytes base 16.
Throws:
java.lang.IllegalArgumentException

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

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-03


Copyright © 2011, 2013 Oracle. All rights reserved.