com.cafesoft.cams.attr
Class DataType

java.lang.Object
  |
  +--com.cafesoft.cams.attr.DataType

public class DataType
extends Object

DataType provides facilities for creating and validating attribute-based data types.

Since:
5/25/2004

Field Summary
static String BOOLEAN
          The standard Boolean data type identifier
static String NAMESPACE_PREFIX
          The standard attribute category namespace prefix.
static String STRING
          The standard String data type identifier
 
Method Summary
static URI createURI(String id)
          Create a new DataType URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE_PREFIX

public static final String NAMESPACE_PREFIX
The standard attribute category namespace prefix.

See Also:
Constant Field Values

STRING

public static final String STRING
The standard String data type identifier

See Also:
Constant Field Values

BOOLEAN

public static final String BOOLEAN
The standard Boolean data type identifier

See Also:
Constant Field Values
Method Detail

createURI

public static URI createURI(String id)
                     throws InvalidDataTypeException
Create a new DataType URI.

Parameters:
id - a string representation of the URI.
Throws:
URISyntaxException - if the identifier is not a valid URI.
InvalidDataTypeException


Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.