fi.hut.tml.xsmiles.mlfc.xforms.instance
Class BasicXsiTypeImpl

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.instance.BasicXsiTypeImpl
All Implemented Interfaces:
XsiType

public class BasicXsiTypeImpl
extends java.lang.Object
implements XsiType

Xsi type implementation For XForms Basic

Author:
honkkis

Field Summary
protected  org.apache.xerces.impl.dv.XSSimpleType simpleType
           
 
Constructor Summary
BasicXsiTypeImpl(java.lang.String namespace, java.lang.String type, SchemaPool schemaPool)
           
 
Method Summary
protected  java.lang.String getLocalname(java.lang.String tagname)
           
 int getPrimitiveTypeId()
          This method digs the underlying primitive type, no matter if the type is defined as a restriction to a complex type or just as type="xs:xxx"
 java.lang.Object validateString(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleType

protected org.apache.xerces.impl.dv.XSSimpleType simpleType
Constructor Detail

BasicXsiTypeImpl

public BasicXsiTypeImpl(java.lang.String namespace,
                        java.lang.String type,
                        SchemaPool schemaPool)
Method Detail

getLocalname

protected java.lang.String getLocalname(java.lang.String tagname)

getPrimitiveTypeId

public int getPrimitiveTypeId()
This method digs the underlying primitive type, no matter if the type is defined as a restriction to a complex type or just as type="xs:xxx"

Specified by:
getPrimitiveTypeId in interface XsiType

validateString

public java.lang.Object validateString(java.lang.String s)
                                throws org.apache.xerces.impl.dv.InvalidDatatypeValueException
Specified by:
validateString in interface XsiType
Throws:
org.apache.xerces.impl.dv.InvalidDatatypeValueException


X-Smiles 1.2