Skip navigation links

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

E54416-01


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

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

All Implemented Interfaces:
ExpressionComponent

public class OpssAnyURI
extends DataType

Represents a URI object as defined by http://www.w3.org/2001/XMLSchema#anyURI.


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
OpssAnyURI(java.lang.String str)
          Creates an OpssAnyURI from given string
OpssAnyURI(java.net.URI uri)
          Creates an OpssAnyURI from given URI

 

Method Summary
static int compare(OpssAnyURI uri1, OpssAnyURI uri2)
          Compares two OpssAnyURI objects using URI.compareTo
 boolean equals(java.lang.Object that)
          Override java method for accurate list and hashtable lookups.
 ExpressionComponent.Type getComponentType()
          Methods for ExprssionComponent interface
 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.net.URI getValue()
          Returns an object representing real value of this data type.
 int hashCode()
           
 boolean isValid()
          Methods for ExprssionComponent interface
 java.lang.String toString()
           
static OpssAnyURI valueOf(java.lang.String str)
           

 

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

OpssAnyURI

public OpssAnyURI(java.net.URI uri)
           throws java.lang.IllegalArgumentException
Creates an OpssAnyURI from given URI
Parameters:
uri -
Throws:
java.lang.IllegalArgumentException - if given uri is null

OpssAnyURI

public OpssAnyURI(java.lang.String str)
           throws java.lang.IllegalArgumentException
Creates an OpssAnyURI from given string
Parameters:
uri -
Throws:
java.lang.IllegalArgumentException - if given string makes a syntactically invalid URI.

Method Detail

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:
type of this object, always TYPE.ANY_URI.

getValue

public java.net.URI 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:
URI value of this object.

getComponentType

public ExpressionComponent.Type getComponentType()
Methods for ExprssionComponent interface
Returns:

isValid

public boolean isValid()
Methods for ExprssionComponent interface

toString

public java.lang.String toString()
Specified by:
toString in class DataType
Parameters:
index -
Returns:
nth URI value as String.

valueOf

public static OpssAnyURI valueOf(java.lang.String str)
                          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

compare

public static int compare(OpssAnyURI uri1,
                          OpssAnyURI uri2)
Compares two OpssAnyURI objects using URI.compareTo

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)

E54416-01


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