fi.hut.tml.xsmiles.mlfc.xforms.instance.XercesPSVI
Class PSVIImpl

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.instance.XercesPSVI.PSVIImpl
All Implemented Interfaces:
PSVI

public class PSVIImpl
extends java.lang.Object
implements PSVI

This class contains the PSVI related functions. The idea is to separate them as much as possible to a single class. Note that the underlying DOM has to support PSVI


Field Summary
static java.lang.String URI_SCHEMAFORSCHEMA
           
 
Constructor Summary
PSVIImpl()
           
 
Method Summary
 int getPrimitiveTypeId(org.w3c.dom.Node node)
          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"
 int getPrimitiveTypeIdInternal(org.apache.xerces.impl.dv.XSSimpleType simpletype)
           
 org.apache.xerces.impl.dv.XSSimpleType getSimpleType(org.w3c.dom.Node node)
           
 java.lang.Object validateElement(InstanceNode elem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI_SCHEMAFORSCHEMA

public static final java.lang.String URI_SCHEMAFORSCHEMA
See Also:
Constant Field Values
Constructor Detail

PSVIImpl

public PSVIImpl()
Method Detail

getPrimitiveTypeId

public int getPrimitiveTypeId(org.w3c.dom.Node node)
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 PSVI

getPrimitiveTypeIdInternal

public int getPrimitiveTypeIdInternal(org.apache.xerces.impl.dv.XSSimpleType simpletype)

getSimpleType

public org.apache.xerces.impl.dv.XSSimpleType getSimpleType(org.w3c.dom.Node node)

validateElement

public java.lang.Object validateElement(InstanceNode elem)
                                 throws org.apache.xerces.impl.dv.InvalidDatatypeValueException
Specified by:
validateElement in interface PSVI
Throws:
org.apache.xerces.impl.dv.InvalidDatatypeValueException


X-Smiles 1.2