filenet.vw.api
Class VWXMLSchemaSubType
- java.lang.Object
-
- filenet.vw.api.VWXMLSchemaSubType
-
public final class VWXMLSchemaSubType extends java.lang.ObjectThis 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
Fields Modifier and Type Field and Description static intSCHEMA_TYPE_ANY_URIValue of 34.static intSCHEMA_TYPE_BASE_64_BINARYValue of 5.static intSCHEMA_TYPE_BOOLEANValue of 21.static intSCHEMA_TYPE_BYTEValue of 3.static intSCHEMA_TYPE_DATEValue of 25.static intSCHEMA_TYPE_DATE_TIMEValue of 23.static intSCHEMA_TYPE_DECIMALValue of 18.static intSCHEMA_TYPE_DOUBLEValue of 20.static intSCHEMA_TYPE_DURATIONValue of 24.static intSCHEMA_TYPE_ENTITIESValue of 40.static intSCHEMA_TYPE_ENTITYValue of 39.static intSCHEMA_TYPE_FLOATValue of 19.static intSCHEMA_TYPE_G_DAYValue of 29.static intSCHEMA_TYPE_G_MONTHValue of 26.static intSCHEMA_TYPE_G_MONTH_DAYValue of 30.static intSCHEMA_TYPE_G_YEARValue of 27.static intSCHEMA_TYPE_G_YEAR_MONTHValue of 28.static intSCHEMA_TYPE_HEX_BINARYValue of 6.static intSCHEMA_TYPE_IDValue of 36.static intSCHEMA_TYPE_IDREFValue of 37.static intSCHEMA_TYPE_IDREFSValue of 38.static intSCHEMA_TYPE_INTValue of 12.static intSCHEMA_TYPE_INTEGERValue of 7.static intSCHEMA_TYPE_LANGUAGEValue of 35.static intSCHEMA_TYPE_LONGValue of 14.static intSCHEMA_TYPE_NAMEValue of 31.static intSCHEMA_TYPE_NCNAMEValue of 33.static intSCHEMA_TYPE_NEGATIVE_INTEGERValue of 9.static intSCHEMA_TYPE_NMTOKENValue of 42.static intSCHEMA_TYPE_NMTOKENSValue of 43.static intSCHEMA_TYPE_NON_NEGATIVE_INTEGERValue of 10.static intSCHEMA_TYPE_NON_POSITIVE_INTEGERValue of 11.static intSCHEMA_TYPE_NORMALIZED_STRINGValue of 1.static intSCHEMA_TYPE_NOTATIONValue of 41.static intSCHEMA_TYPE_POSITIVE_INTEGERValue of 8.static intSCHEMA_TYPE_QNAMEValue of 32.static intSCHEMA_TYPE_SHORTValue of 16.static intSCHEMA_TYPE_STRINGValue of 0.static intSCHEMA_TYPE_TIMEValue of 22.static intSCHEMA_TYPE_TOKENValue of 2.static intSCHEMA_TYPE_UNDEFINEDValue of -1.static intSCHEMA_TYPE_UNSIGNED_BYTEValue of 4.static intSCHEMA_TYPE_UNSIGNED_INTValue of 13.static intSCHEMA_TYPE_UNSIGNED_LONGValue of 15.static intSCHEMA_TYPE_UNSIGNED_SHORTValue of 17.
-
Constructor Summary
Constructors Constructor and Description VWXMLSchemaSubType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringgetLocalizedString(int schemaSubType)Gets a localized String representation of the action.static booleanisValid(int schemaSubType)Validates a schema sub type.static intstringToType(java.lang.String schemaSubType)Returns a schema sub type for an ascii string representing the schema sub type.
-
-
-
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
-
-
Method Detail
-
getLocalizedString
public static java.lang.String getLocalizedString(int schemaSubType) throws VWExceptionGets 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 VWExceptionReturns 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.
-
-