com.orchestranetworks.schema
Interface SchemaTypeName


public interface SchemaTypeName

Identifies a named type definition. Constants defined by this interface define the simple types currently supported by the product.


Field Summary
static SchemaTypeName OSD_CURRENCY
          EBX.Platform datatype osd:currency.
static SchemaTypeName OSD_EMAIL
          EBX.Platform datatype osd:email.
static SchemaTypeName OSD_LOCALE
          EBX.Platform datatype osd:locale.
static SchemaTypeName OSD_PASSWORD
          EBX.Platform datatype osd:password.
static SchemaTypeName OSD_RESOURCE
          EBX.Platform datatype osd:locale.
static SchemaTypeName OSD_STRING_HTML
          EBX.Platform datatype osd:html.
static SchemaTypeName XS_ANY_URI
          Built-in datatype xs:anyURI.
static SchemaTypeName XS_BOOLEAN
          Built-in datatype xs:boolean.
static SchemaTypeName XS_DATE
          Built-in datatype xs:date.
static SchemaTypeName XS_DATETIME
          Built-in datatype xs:dateTime.
static SchemaTypeName XS_DECIMAL
          Built-in datatype xs:decimal.
static SchemaTypeName XS_INT
          Built-in datatype xs:int.
static SchemaTypeName XS_INTEGER
          Built-in datatype xs:integer.
static SchemaTypeName XS_NAME
          Built-in datatype xs:Name.
static SchemaTypeName XS_NMTOKEN
          Built-in datatype xs:NMTOKEN.
static SchemaTypeName XS_NMTOKENS
          Built-in datatype xs:NMTOKENS.
static SchemaTypeName XS_STRING
          Built-in datatype xs:string.
static SchemaTypeName XS_TIME
          Built-in datatype xs:time.
 
Method Summary
 String getNameWithoutPrefix()
          If this name has a namespace, returns the local name (no prefix).
 boolean isNoNamespaceDatatype()
          Returns true only if the corresponding type is defined in a schema with no target namespace.
 boolean isOSDDatatype()
          Returns true only if this type name refers to one of OSD built-in datatypes.
 boolean isXSDBuiltInDatatype()
          Returns true only if this type name refers to one of built-in datatypes defined by XML Schema recommendation.
 

Field Detail

XS_STRING

public static final SchemaTypeName XS_STRING
Built-in datatype xs:string.


XS_BOOLEAN

public static final SchemaTypeName XS_BOOLEAN
Built-in datatype xs:boolean.


XS_DECIMAL

public static final SchemaTypeName XS_DECIMAL
Built-in datatype xs:decimal.


XS_DATETIME

public static final SchemaTypeName XS_DATETIME
Built-in datatype xs:dateTime.


XS_TIME

public static final SchemaTypeName XS_TIME
Built-in datatype xs:time.


XS_DATE

public static final SchemaTypeName XS_DATE
Built-in datatype xs:date.


XS_ANY_URI

public static final SchemaTypeName XS_ANY_URI
Built-in datatype xs:anyURI.


XS_NAME

public static final SchemaTypeName XS_NAME
Built-in datatype xs:Name.


XS_NMTOKEN

public static final SchemaTypeName XS_NMTOKEN
Built-in datatype xs:NMTOKEN.


XS_NMTOKENS

public static final SchemaTypeName XS_NMTOKENS
Built-in datatype xs:NMTOKENS.


XS_INT

public static final SchemaTypeName XS_INT
Built-in datatype xs:int.


XS_INTEGER

public static final SchemaTypeName XS_INTEGER
Built-in datatype xs:integer.


OSD_STRING_HTML

public static final SchemaTypeName OSD_STRING_HTML
EBX.Platform datatype osd:html.


OSD_RESOURCE

public static final SchemaTypeName OSD_RESOURCE
EBX.Platform datatype osd:locale.


OSD_EMAIL

public static final SchemaTypeName OSD_EMAIL
EBX.Platform datatype osd:email.


OSD_LOCALE

public static final SchemaTypeName OSD_LOCALE
EBX.Platform datatype osd:locale.


OSD_CURRENCY

public static final SchemaTypeName OSD_CURRENCY
EBX.Platform datatype osd:currency.


OSD_PASSWORD

public static final SchemaTypeName OSD_PASSWORD
EBX.Platform datatype osd:password.

Method Detail

getNameWithoutPrefix

public String getNameWithoutPrefix()
If this name has a namespace, returns the local name (no prefix).


isXSDBuiltInDatatype

public boolean isXSDBuiltInDatatype()
Returns true only if this type name refers to one of built-in datatypes defined by XML Schema recommendation.


isNoNamespaceDatatype

public boolean isNoNamespaceDatatype()
Returns true only if the corresponding type is defined in a schema with no target namespace.


isOSDDatatype

public boolean isOSDDatatype()
Returns true only if this type name refers to one of OSD built-in datatypes.



(report a bug)
EBX.Platform 4.5.0 [0598]
Copyright Orchestra Networks 2000-2008. All rights reserved.