Process API

filenet.vw.api
Class VWXMLSchemaSubType

java.lang.Object
  extended by filenet.vw.api.VWXMLSchemaSubType

public final class VWXMLSchemaSubType
extends java.lang.Object

This class defines constants to represent various tyeps that can be used in generating or interpreting WSDL files used in web services operations. The types follow the W3C Recommendation for XML Schema Datatypes, 02 May 2001, see the following URL for details of the types.

http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/

Since:
VWWS4.20
See Also:
VWWebServiceParameterDefinition

Field Summary
static int SCHEMA_TYPE_ANY_URI
          Value of 34.
static int SCHEMA_TYPE_BASE_64_BINARY
          Value of 5.
static int SCHEMA_TYPE_BOOLEAN
          Value of 21.
static int SCHEMA_TYPE_BYTE
          Value of 3.
static int SCHEMA_TYPE_DATE
          Value of 25.
static int SCHEMA_TYPE_DATE_TIME
          Value of 23.
static int SCHEMA_TYPE_DECIMAL
          Value of 18.
static int SCHEMA_TYPE_DOUBLE
          Value of 20.
static int SCHEMA_TYPE_DURATION
          Value of 24.
static int SCHEMA_TYPE_ENTITIES
          Value of 40.
static int SCHEMA_TYPE_ENTITY
          Value of 39.
static int SCHEMA_TYPE_FLOAT
          Value of 19.
static int SCHEMA_TYPE_G_DAY
          Value of 29.
static int SCHEMA_TYPE_G_MONTH
          Value of 26.
static int SCHEMA_TYPE_G_MONTH_DAY
          Value of 30.
static int SCHEMA_TYPE_G_YEAR
          Value of 27.
static int SCHEMA_TYPE_G_YEAR_MONTH
          Value of 28.
static int SCHEMA_TYPE_HEX_BINARY
          Value of 6.
static int SCHEMA_TYPE_ID
          Value of 36.
static int SCHEMA_TYPE_IDREF
          Value of 37.
static int SCHEMA_TYPE_IDREFS
          Value of 38.
static int SCHEMA_TYPE_INT
          Value of 12.
static int SCHEMA_TYPE_INTEGER
          Value of 7.
static int SCHEMA_TYPE_LANGUAGE
          Value of 35.
static int SCHEMA_TYPE_LONG
          Value of 14.
static int SCHEMA_TYPE_NAME
          Value of 31.
static int SCHEMA_TYPE_NCNAME
          Value of 33.
static int SCHEMA_TYPE_NEGATIVE_INTEGER
          Value of 9.
static int SCHEMA_TYPE_NMTOKEN
          Value of 42.
static int SCHEMA_TYPE_NMTOKENS
          Value of 43.
static int SCHEMA_TYPE_NON_NEGATIVE_INTEGER
          Value of 10.
static int SCHEMA_TYPE_NON_POSITIVE_INTEGER
          Value of 11.
static int SCHEMA_TYPE_NORMALIZED_STRING
          Value of 1.
static int SCHEMA_TYPE_NOTATION
          Value of 41.
static int SCHEMA_TYPE_POSITIVE_INTEGER
          Value of 8.
static int SCHEMA_TYPE_QNAME
          Value of 32.
static int SCHEMA_TYPE_SHORT
          Value of 16.
static int SCHEMA_TYPE_STRING
          Value of 0.
static int SCHEMA_TYPE_TIME
          Value of 22.
static int SCHEMA_TYPE_TOKEN
          Value of 2.
static int SCHEMA_TYPE_UNDEFINED
          Value of -1.
static int SCHEMA_TYPE_UNSIGNED_BYTE
          Value of 4.
static int SCHEMA_TYPE_UNSIGNED_INT
          Value of 13.
static int SCHEMA_TYPE_UNSIGNED_LONG
          Value of 15.
static int SCHEMA_TYPE_UNSIGNED_SHORT
          Value of 17.
 
Constructor Summary
VWXMLSchemaSubType()
           
 
Method Summary
static java.lang.String _get_FILE_AUTHOR()
          For FileNet internal use only, do not call.
static java.lang.String _get_FILE_DATE()
          For FileNet internal use only, do not call.
static java.lang.String _get_FILE_REVISION()
          For FileNet internal use only, do not call.
static java.lang.String getLocalizedString(int schemaSubType)
          Gets a localized String representation of the action.
static boolean isValid(int schemaSubType)
          Validates a schema sub type.
static int stringToType(java.lang.String schemaSubType)
          Returns a schema sub type for an ascii string representing the schema sub type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEMA_TYPE_UNDEFINED

public static final int SCHEMA_TYPE_UNDEFINED
Value of -1.

See Also:
Constant Field Values

SCHEMA_TYPE_STRING

public static final int SCHEMA_TYPE_STRING
Value of 0.

See Also:
Constant Field Values

SCHEMA_TYPE_NORMALIZED_STRING

public static final int SCHEMA_TYPE_NORMALIZED_STRING
Value of 1.

See Also:
Constant Field Values

SCHEMA_TYPE_TOKEN

public static final int SCHEMA_TYPE_TOKEN
Value of 2.

See Also:
Constant Field Values

SCHEMA_TYPE_BYTE

public static final int SCHEMA_TYPE_BYTE
Value of 3.

See Also:
Constant Field Values

SCHEMA_TYPE_UNSIGNED_BYTE

public static final int SCHEMA_TYPE_UNSIGNED_BYTE
Value of 4.

See Also:
Constant Field Values

SCHEMA_TYPE_BASE_64_BINARY

public static final int SCHEMA_TYPE_BASE_64_BINARY
Value of 5.

See Also:
Constant Field Values

SCHEMA_TYPE_HEX_BINARY

public static final int SCHEMA_TYPE_HEX_BINARY
Value of 6.

See Also:
Constant Field Values

SCHEMA_TYPE_INTEGER

public static final int SCHEMA_TYPE_INTEGER
Value of 7.

See Also:
Constant Field Values

SCHEMA_TYPE_POSITIVE_INTEGER

public static final int SCHEMA_TYPE_POSITIVE_INTEGER
Value of 8.

See Also:
Constant Field Values

SCHEMA_TYPE_NEGATIVE_INTEGER

public static final int SCHEMA_TYPE_NEGATIVE_INTEGER
Value of 9.

See Also:
Constant Field Values

SCHEMA_TYPE_NON_NEGATIVE_INTEGER

public static final int SCHEMA_TYPE_NON_NEGATIVE_INTEGER
Value of 10.

See Also:
Constant Field Values

SCHEMA_TYPE_NON_POSITIVE_INTEGER

public static final int SCHEMA_TYPE_NON_POSITIVE_INTEGER
Value of 11.

See Also:
Constant Field Values

SCHEMA_TYPE_INT

public static final int SCHEMA_TYPE_INT
Value of 12.

See Also:
Constant Field Values

SCHEMA_TYPE_UNSIGNED_INT

public static final int SCHEMA_TYPE_UNSIGNED_INT
Value of 13.

See Also:
Constant Field Values

SCHEMA_TYPE_LONG

public static final int SCHEMA_TYPE_LONG
Value of 14.

See Also:
Constant Field Values

SCHEMA_TYPE_UNSIGNED_LONG

public static final int SCHEMA_TYPE_UNSIGNED_LONG
Value of 15.

See Also:
Constant Field Values

SCHEMA_TYPE_SHORT

public static final int SCHEMA_TYPE_SHORT
Value of 16.

See Also:
Constant Field Values

SCHEMA_TYPE_UNSIGNED_SHORT

public static final int SCHEMA_TYPE_UNSIGNED_SHORT
Value of 17.

See Also:
Constant Field Values

SCHEMA_TYPE_DECIMAL

public static final int SCHEMA_TYPE_DECIMAL
Value of 18.

See Also:
Constant Field Values

SCHEMA_TYPE_FLOAT

public static final int SCHEMA_TYPE_FLOAT
Value of 19.

See Also:
Constant Field Values

SCHEMA_TYPE_DOUBLE

public static final int SCHEMA_TYPE_DOUBLE
Value of 20.

See Also:
Constant Field Values

SCHEMA_TYPE_BOOLEAN

public static final int SCHEMA_TYPE_BOOLEAN
Value of 21.

See Also:
Constant Field Values

SCHEMA_TYPE_TIME

public static final int SCHEMA_TYPE_TIME
Value of 22.

See Also:
Constant Field Values

SCHEMA_TYPE_DATE_TIME

public static final int SCHEMA_TYPE_DATE_TIME
Value of 23.

See Also:
Constant Field Values

SCHEMA_TYPE_DURATION

public static final int SCHEMA_TYPE_DURATION
Value of 24.

See Also:
Constant Field Values

SCHEMA_TYPE_DATE

public static final int SCHEMA_TYPE_DATE
Value of 25.

See Also:
Constant Field Values

SCHEMA_TYPE_G_MONTH

public static final int SCHEMA_TYPE_G_MONTH
Value of 26.

See Also:
Constant Field Values

SCHEMA_TYPE_G_YEAR

public static final int SCHEMA_TYPE_G_YEAR
Value of 27.

See Also:
Constant Field Values

SCHEMA_TYPE_G_YEAR_MONTH

public static final int SCHEMA_TYPE_G_YEAR_MONTH
Value of 28.

See Also:
Constant Field Values

SCHEMA_TYPE_G_DAY

public static final int SCHEMA_TYPE_G_DAY
Value of 29.

See Also:
Constant Field Values

SCHEMA_TYPE_G_MONTH_DAY

public static final int SCHEMA_TYPE_G_MONTH_DAY
Value of 30.

See Also:
Constant Field Values

SCHEMA_TYPE_NAME

public static final int SCHEMA_TYPE_NAME
Value of 31.

See Also:
Constant Field Values

SCHEMA_TYPE_QNAME

public static final int SCHEMA_TYPE_QNAME
Value of 32.

See Also:
Constant Field Values

SCHEMA_TYPE_NCNAME

public static final int SCHEMA_TYPE_NCNAME
Value of 33.

See Also:
Constant Field Values

SCHEMA_TYPE_ANY_URI

public static final int SCHEMA_TYPE_ANY_URI
Value of 34.

See Also:
Constant Field Values

SCHEMA_TYPE_LANGUAGE

public static final int SCHEMA_TYPE_LANGUAGE
Value of 35.

See Also:
Constant Field Values

SCHEMA_TYPE_ID

public static final int SCHEMA_TYPE_ID
Value of 36.

See Also:
Constant Field Values

SCHEMA_TYPE_IDREF

public static final int SCHEMA_TYPE_IDREF
Value of 37.

See Also:
Constant Field Values

SCHEMA_TYPE_IDREFS

public static final int SCHEMA_TYPE_IDREFS
Value of 38.

See Also:
Constant Field Values

SCHEMA_TYPE_ENTITY

public static final int SCHEMA_TYPE_ENTITY
Value of 39.

See Also:
Constant Field Values

SCHEMA_TYPE_ENTITIES

public static final int SCHEMA_TYPE_ENTITIES
Value of 40.

See Also:
Constant Field Values

SCHEMA_TYPE_NOTATION

public static final int SCHEMA_TYPE_NOTATION
Value of 41.

See Also:
Constant Field Values

SCHEMA_TYPE_NMTOKEN

public static final int SCHEMA_TYPE_NMTOKEN
Value of 42.

See Also:
Constant Field Values

SCHEMA_TYPE_NMTOKENS

public static final int SCHEMA_TYPE_NMTOKENS
Value of 43.

See Also:
Constant Field Values
Constructor Detail

VWXMLSchemaSubType

public VWXMLSchemaSubType()
Method Detail

_get_FILE_DATE

public static java.lang.String _get_FILE_DATE()
For FileNet internal use only, do not call.


_get_FILE_AUTHOR

public static java.lang.String _get_FILE_AUTHOR()
For FileNet internal use only, do not call.


_get_FILE_REVISION

public static java.lang.String _get_FILE_REVISION()
For FileNet internal use only, do not call.


getLocalizedString

public static java.lang.String getLocalizedString(int schemaSubType)
                                           throws VWException
Gets a localized String representation of the action.

Parameters:
schemaSubType - An integer value for the schema sub type.
Returns:
The localized string representation of the schema sub type.
Throws:
VWException - Thrown if this method cannot get a localized string representation of the schema sub type.

isValid

public static boolean isValid(int schemaSubType)
Validates a schema sub type.

Parameters:
schemaSubType - The schema sub type value to be validated.
Returns:
A boolean value: 'True' if schemaSubType is valid; 'false' otherwise

stringToType

public static int stringToType(java.lang.String schemaSubType)
                        throws VWException
Returns a schema sub type for an ascii string representing the schema sub type.

Parameters:
schemaSubType - A String value representating a schema sub type.
Returns:
an int value corresponding to the passed in schemaSubType parameter.
Throws:
VWException - Thrown if the schema sub type is invalid.

Process API

© Copyright IBM Corporation 2002, 2008. All rights reserved.