|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.util.AbstractBean org.obe.xpdl.model.data.XMLFragment org.obe.xpdl.model.data.SchemaType
A schema type refers to a data type that is defined by an inline XML schema.
Field Summary |
Fields inherited from class org.obe.xpdl.model.data.XMLFragment |
MAX_TOSTRING_TEXT_LEN |
Fields inherited from interface org.obe.xpdl.model.data.Type |
ARRAY_TYPE, BOOLEAN_TYPE, DATETIME_TYPE, DECLARED_TYPE, DEFAULT_TYPE, ENUMERATION_TYPE, EXTERNAL_REFERENCE_TYPE, FLOAT_TYPE, INTEGER_TYPE, LIST_TYPE, PERFORMER_TYPE, RECORD_TYPE, REFERENCE_TYPE, SCHEMA_TYPE, STRING_TYPE, UNDEFINED_TYPE, UNION_TYPE |
Constructor Summary | |
SchemaType()
Constructs a new SchemaType object. |
|
SchemaType(org.w3c.dom.Document document)
|
|
SchemaType(java.lang.String text)
|
Method Summary | |
protected java.lang.String |
getDocumentElementName()
Returns the unqualified name of the required document element. |
protected java.lang.String |
getDocumentElementNamespaceURI()
Returns the required document element namespace URI. |
Type |
getImpliedType()
Returns the actual type implied by this type. |
boolean |
isAssignableFrom(Type fromType)
Checks type compatibility in an assignment. |
int |
value()
The data type's ordinal value. |
Methods inherited from class org.obe.xpdl.model.data.XMLFragment |
equals, getDocument, getText, hashCode, setDocument, setText, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SchemaType()
public SchemaType(java.lang.String text) throws XMLException
public SchemaType(org.w3c.dom.Document document) throws XMLException
Method Detail |
protected java.lang.String getDocumentElementName()
XMLFragment
getDocumentElementName
in class XMLFragment
protected java.lang.String getDocumentElementNamespaceURI()
XMLFragment
getDocumentElementNamespaceURI
in class XMLFragment
public int value()
Type
value
in interface Type
Type.STRING_TYPE
, Type.FLOAT_TYPE
,
Type.INTEGER_TYPE
, Type.REFERENCE_TYPE
, Type.DATETIME_TYPE
,
Type.BOOLEAN_TYPE
, Type.PERFORMER_TYPE
, Type.DECLARED_TYPE
,
Type.SCHEMA_TYPE
, Type.EXTERNAL_REFERENCE_TYPE
,
Type.RECORD_TYPE
, Type.UNION_TYPE
, Type.ENUMERATION_TYPE
,
Type.ARRAY_TYPE
, Type.LIST_TYPE
public Type getImpliedType()
Type
getImpliedType
in interface Type
public boolean isAssignableFrom(Type fromType)
Type
isAssignableFrom
in interface Type
fromType
- The type of the 'rvalue'.
true
if a value of type fromType
can
be assigned or converted to a value of type toType
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |