|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.common.security.xacml.Type
public class Type
This class defines the data types that are supported by XACML security providers that run in a BEA security realm.
Field Summary | |
---|---|
static Type |
ANY_URI
Represents the XML URI data type,
http://www.w3.org/2001/XMLSchema#anyURI . |
static Type |
ANY_URI_BAG
Represents a bag of ANY_URI . |
static Type |
BASE64_BINARY
Represents the XML base64 binary data type,
http://www.w3.org/2001/XMLSchema#base64Binary . |
static Type |
BASE64_BINARY_BAG
Represents a bag of BASE64_BINARY . |
static Type |
BOOLEAN
Represents the XML boolean data type,
http://www.w3.org/2001/XMLSchema#boolean . |
static Type |
BOOLEAN_BAG
Represents a bag of BOOLEAN . |
static Type |
CHARACTER
Represents a one-character restriction on the XML string data type, http://www.w3.org/2001/XMLSchema#string . |
static Type |
CHARACTER_BAG
Represents a bag of CHARACTER . |
static Type |
CLASS
Represents a reference to an instance of java.lang.Class
for a specific Java object. |
static Type |
CLASS_BAG
Represents a bag of CLASS . |
static Type |
DATE
Represents the XML date data type,
http://www.w3.org/2001/XMLSchema#date . |
static Type |
DATE_BAG
Represents a bag of DATE . |
static Type |
DATE_TIME
Represents the XML dateTime data type,
http://www.w3.org/2001/XMLSchema#dateTime . |
static Type |
DATE_TIME_BAG
Represents a bag of DATE_TIME . |
static Type |
DAY_TIME_DURATION
Represents the XQuery day-time duration
data type,
http://www.w3.org/TR/2002/WD-xquery-operators-20020816#dayTimeDuration . |
static Type |
DAY_TIME_DURATION_BAG
Represents a bag of DAY_TIME_DURATION . |
static Type |
DECIMAL
Represents the XML decimal data type,
http://www.w3.org/2001/XMLSchema#decimal . |
static Type |
DECIMAL_BAG
Represents a bag of DECIMAL . |
static Type |
DNS_ADDRESS
Represents the XACML DNS name data type,
urn:oasis:names:tc:xacml:1.0:data-type:dnsName . |
static Type |
DNS_ADDRESS_BAG
Represents a bag of DNS_ADDRESS . |
static Type |
DOUBLE
Represents the XML double data type,
http://www.w3.org/2001/XMLSchema#double . |
static Type |
DOUBLE_BAG
Represents a bag of DOUBLE . |
static Type |
FLOAT
Represents the XML float data type,
http://www.w3.org/2001/XMLSchema#float . |
static Type |
FLOAT_BAG
Represents a bag of FLOAT . |
static Type |
FUNCTION
Represents the evaluation of a <Function> element. |
static Type |
FUNCTION_BAG
Represents a bag of FUNCTION . |
static Type |
HEX_BINARY
Represents the XML hexadecimal binary data type,
http://www.w3.org/2001/XMLSchema#hexBinary . |
static Type |
HEX_BINARY_BAG
Represents a bag of HEX_BINARY . |
static Type |
INTEGER
Represents the XML integer data type,
http://www.w3.org/2001/XMLSchema#integer . |
static Type |
INTEGER_BAG
Represents a bag of INTEGER . |
static Type |
IP_ADDRESS
Represents the XACML IP address data type,
urn:oasis:names:tc:xacml:1.0:data-type:ipAddress . |
static Type |
IP_ADDRESS_BAG
Represents a bag of IP_ADDRESS . |
static Type |
LONG
Represents the XML long data type,
http://www.w3.org/2001/XMLSchema#long . |
static Type |
LONG_BAG
Represents a bag of LONG . |
static Type |
OBJECT
Represents a reference to a Java object. |
static Type |
OBJECT_BAG
Represents a bag of OBJECT . |
static Type |
RFC822_NAME
Represents the XACML RFC822 name data type,
urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name . |
static Type |
RFC822_NAME_BAG
Represents a bag of RFC822_NAME . |
static Type |
STRING
Represents the XML string data type,
http://www.w3.org/2001/XMLSchema#string . |
static Type |
STRING_BAG
Represents a bag of STRING . |
static Type |
TIME
Represents the XML time data type,
http://www.w3.org/2001/XMLSchema#time . |
static Type |
TIME_BAG
Represents a bag of TIME . |
static Type |
X500_NAME
Represents the XACML X500 name data type,
urn:oasis:names:tc:xacml:1.0:data-type:x500Name . |
static Type |
X500_NAME_BAG
Represents a bag of X500_NAME . |
static Type |
YEAR_MONTH_DURATION
Represents the XQuery year-month duration data type,
http://www.w3.org/TR/2002/WD-xquery-operators-20020816#yearMonthDuration . |
static Type |
YEAR_MONTH_DURATION_BAG
Represents a bag of YEAR_MONTH_DURATION . |
Constructor Summary | |
---|---|
|
Type(String type,
String shortName)
Constructor that takes type URI as String. |
|
Type(String type,
String shortName,
boolean isBag)
Constructor that takes type URI as String. |
|
Type(String type,
String shortName,
boolean isBag,
boolean isCustom)
Constructor that takes type URI as String. |
protected |
Type(Type other)
|
|
Type(Type other,
boolean isBag)
Constructor that can be used to create bag or non-bag type instances from another Type |
|
Type(URI type,
boolean isBag)
Constructor that takes type as URI |
|
Type(URI type,
String shortName)
Constructor that takes type as URI. |
|
Type(URI type,
String shortName,
boolean isBag)
Constructor that takes type as URI |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
static Type |
findType(String uri)
|
URI |
getDataType()
Returns type URI |
static Collection<Type> |
getScalarTypes()
|
String |
getShortName()
|
String |
getType()
Returns type URI as a String |
boolean |
isBag()
Checks if Type represents a bag or singleton type |
boolean |
isCustom()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Type STRING
string
data type,
http://www.w3.org/2001/XMLSchema#string
.
public static final Type BOOLEAN
boolean
data type,
http://www.w3.org/2001/XMLSchema#boolean
.
public static final Type INTEGER
integer
data type,
http://www.w3.org/2001/XMLSchema#integer
.
public static final Type DOUBLE
double
data type,
http://www.w3.org/2001/XMLSchema#double
.
public static final Type TIME
time
data type,
http://www.w3.org/2001/XMLSchema#time
.
public static final Type DATE
date
data type,
http://www.w3.org/2001/XMLSchema#date
.
public static final Type DATE_TIME
dateTime
data type,
http://www.w3.org/2001/XMLSchema#dateTime
.
public static final Type DAY_TIME_DURATION
day-time duration
data type,
http://www.w3.org/TR/2002/WD-xquery-operators-20020816#dayTimeDuration
.
public static final Type YEAR_MONTH_DURATION
year-month duration
data type,
http://www.w3.org/TR/2002/WD-xquery-operators-20020816#yearMonthDuration
.
public static final Type ANY_URI
URI
data type,
http://www.w3.org/2001/XMLSchema#anyURI
.
public static final Type HEX_BINARY
hexadecimal binary
data type,
http://www.w3.org/2001/XMLSchema#hexBinary
.
public static final Type BASE64_BINARY
base64
binary data type,
http://www.w3.org/2001/XMLSchema#base64Binary
.
public static final Type RFC822_NAME
RFC822
name data type,
urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name
.
public static final Type X500_NAME
X500
name data type,
urn:oasis:names:tc:xacml:1.0:data-type:x500Name
.
public static final Type IP_ADDRESS
IP address
data type,
urn:oasis:names:tc:xacml:1.0:data-type:ipAddress
.
public static final Type DNS_ADDRESS
DNS name
data type,
urn:oasis:names:tc:xacml:1.0:data-type:dnsName
.
public static final Type CHARACTER
string
data type, http://www.w3.org/2001/XMLSchema#string
.
public static final Type LONG
long
data type,
http://www.w3.org/2001/XMLSchema#long
.
public static final Type FLOAT
float
data type,
http://www.w3.org/2001/XMLSchema#float
.
public static final Type DECIMAL
decimal
data type,
http://www.w3.org/2001/XMLSchema#decimal
.
public static final Type OBJECT
public static final Type CLASS
java.lang.Class
for a specific Java object. Some BEA XACML functions require
this data type (for example, to invoke methods on Java objects using
the Java reflection API).
In a XACML document, you can use the following function to create
data of this type:
urn:bea.xacml:2.0:function:string-to-class
.
public static final Type STRING_BAG
STRING
.
Type.STRING
public static final Type BOOLEAN_BAG
BOOLEAN
.
Type.BOOLEAN
public static final Type INTEGER_BAG
INTEGER
.
Type.INTEGER
public static final Type DOUBLE_BAG
DOUBLE
.
Type.DOUBLE
public static final Type TIME_BAG
TIME
.
Type.TIME
public static final Type DATE_BAG
DATE
.
Type.DATE
public static final Type DATE_TIME_BAG
DATE_TIME
.
Type.DATE_TIME
public static final Type DAY_TIME_DURATION_BAG
DAY_TIME_DURATION
.
Type.DAY_TIME_DURATION
public static final Type YEAR_MONTH_DURATION_BAG
YEAR_MONTH_DURATION
.
Type.YEAR_MONTH_DURATION
public static final Type ANY_URI_BAG
ANY_URI
.
Type.ANY_URI
public static final Type HEX_BINARY_BAG
HEX_BINARY
.
Type.HEX_BINARY
public static final Type BASE64_BINARY_BAG
BASE64_BINARY
.
Type.BASE64_BINARY
public static final Type RFC822_NAME_BAG
RFC822_NAME
.
Type.RFC822_NAME
public static final Type X500_NAME_BAG
X500_NAME
.
Type.X500_NAME
public static final Type IP_ADDRESS_BAG
IP_ADDRESS
.
Type.IP_ADDRESS
public static final Type DNS_ADDRESS_BAG
DNS_ADDRESS
.
Type.DNS_ADDRESS
public static final Type FUNCTION
<Function>
element.
public static final Type FUNCTION_BAG
FUNCTION
.
Type.FUNCTION
public static final Type CHARACTER_BAG
CHARACTER
.
Type.CHARACTER
public static final Type LONG_BAG
LONG
.
Type.LONG
public static final Type FLOAT_BAG
FLOAT
.
Type.FLOAT
public static final Type DECIMAL_BAG
DECIMAL
.
Type.DECIMAL
public static final Type OBJECT_BAG
OBJECT
.
Type.OBJECT
public static final Type CLASS_BAG
CLASS
.
Type.CLASS
Constructor Detail |
---|
protected Type(Type other)
public Type(Type other, boolean isBag)
other
- Other typeisBag
- true if new Type should be a bag; false otherwisepublic Type(String type, String shortName)
type
- Type URI as a Stringpublic Type(String type, String shortName, boolean isBag)
type
- Type URI as StringisBag
- true if new Type is a bag; false otherwisepublic Type(String type, String shortName, boolean isBag, boolean isCustom)
type
- Type URI as StringisBag
- true if new Type is a bag; false otherwisepublic Type(URI type, String shortName)
type
- Type URIpublic Type(URI type, boolean isBag)
type
- Type URIisBag
- true if new Type is a bag; false otherwisepublic Type(URI type, String shortName, boolean isBag)
type
- Type URIisBag
- true if new Type is a bag; false otherwiseMethod Detail |
---|
public static Collection<Type> getScalarTypes()
public static Type findType(String uri)
public String getShortName()
public URI getDataType() throws URISyntaxException
URISyntaxException
- thrown if URI format is invalidpublic boolean isBag()
public boolean isCustom()
public String getType()
public boolean equals(Object o)
equals
in class Object
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |