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

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.XFormsConfiguration
      extended byfi.hut.tml.xsmiles.mlfc.xforms.instance.XercesPSVI.XFormsConfigurationPSVI

public class XFormsConfigurationPSVI
extends XFormsConfiguration

This class holds the current configuration for XForms Full with Xerces: whether or not to use XercesPSVI, which datatype factory to use, etc.

Author:
honkkis

Field Summary
static java.lang.String GRAMMAR_POOL
          Property identifier: grammar pool.
protected  org.w3c.dom.ls.DOMImplementationLS impl
           
static java.lang.String SYMBOL_TABLE
          Property identifier: symbol table.
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.XFormsConfiguration
basic, config, dfact, PROPERTY_XPATH_ENGINE, psvi, XPATH_JAXEN_CLASS, XPATH_XALAN_CLASS
 
Constructor Summary
XFormsConfigurationPSVI()
           
 
Method Summary
 org.w3c.dom.ls.DOMInputSource createDOMInputSource(org.w3c.dom.ls.DOMImplementationLS dimpl)
           
 SchemaPool createSchemaPool()
           
 XsiType createXsiType(java.lang.String typeNamespace, java.lang.String typeLocalName, SchemaPool pool)
           
 java.util.Calendar getCalendarFromSchemaString(java.lang.String str)
           
 java.lang.String getConformanceLevel()
          this is returned to the XPath function for conformance level
 DataFactory getDataFactory()
           
protected  java.lang.String getDefaultXPathEngineClass()
           
 org.apache.xerces.parsers.DOMBuilderImpl getDOMBuilderImpl(boolean plain, SchemaPool pool, java.lang.Object entityResolver, java.lang.Object errorHandler)
           
 org.w3c.dom.ls.DOMImplementationLS getDOMImpl()
           
 java.lang.String getInstanceDocumentClassName()
           
 PSVI getPSVI()
           
 org.w3c.dom.Document loadDocument(java.io.Reader r, java.lang.String baseURL, boolean plain, SchemaPool pool, java.lang.Object entityResolver, java.lang.Object errorHandler)
           
protected  void setSymbolTable(org.apache.xerces.xni.parser.XMLParserConfiguration config, SchemaPool pool)
           
 boolean shouldHandleXsiType()
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.XFormsConfiguration
createXPathEngine, getInstance, setRunBasic, tryToUsePSVI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYMBOL_TABLE

public static final java.lang.String SYMBOL_TABLE
Property identifier: symbol table.

See Also:
Constant Field Values

GRAMMAR_POOL

public static final java.lang.String GRAMMAR_POOL
Property identifier: grammar pool.

See Also:
Constant Field Values

impl

protected org.w3c.dom.ls.DOMImplementationLS impl
Constructor Detail

XFormsConfigurationPSVI

public XFormsConfigurationPSVI()
Method Detail

createSchemaPool

public SchemaPool createSchemaPool()
Overrides:
createSchemaPool in class XFormsConfiguration

getDataFactory

public DataFactory getDataFactory()
Overrides:
getDataFactory in class XFormsConfiguration

getInstanceDocumentClassName

public java.lang.String getInstanceDocumentClassName()
Overrides:
getInstanceDocumentClassName in class XFormsConfiguration

createXsiType

public XsiType createXsiType(java.lang.String typeNamespace,
                             java.lang.String typeLocalName,
                             SchemaPool pool)
Overrides:
createXsiType in class XFormsConfiguration

getDefaultXPathEngineClass

protected java.lang.String getDefaultXPathEngineClass()
Overrides:
getDefaultXPathEngineClass in class XFormsConfiguration

getPSVI

public PSVI getPSVI()
Overrides:
getPSVI in class XFormsConfiguration

setSymbolTable

protected void setSymbolTable(org.apache.xerces.xni.parser.XMLParserConfiguration config,
                              SchemaPool pool)

getCalendarFromSchemaString

public java.util.Calendar getCalendarFromSchemaString(java.lang.String str)
Overrides:
getCalendarFromSchemaString in class XFormsConfiguration

getDOMBuilderImpl

public org.apache.xerces.parsers.DOMBuilderImpl getDOMBuilderImpl(boolean plain,
                                                                  SchemaPool pool,
                                                                  java.lang.Object entityResolver,
                                                                  java.lang.Object errorHandler)

createDOMInputSource

public org.w3c.dom.ls.DOMInputSource createDOMInputSource(org.w3c.dom.ls.DOMImplementationLS dimpl)

getDOMImpl

public org.w3c.dom.ls.DOMImplementationLS getDOMImpl()

loadDocument

public org.w3c.dom.Document loadDocument(java.io.Reader r,
                                         java.lang.String baseURL,
                                         boolean plain,
                                         SchemaPool pool,
                                         java.lang.Object entityResolver,
                                         java.lang.Object errorHandler)
                                  throws java.lang.Exception
Overrides:
loadDocument in class XFormsConfiguration
Throws:
java.lang.Exception

shouldHandleXsiType

public boolean shouldHandleXsiType()
Overrides:
shouldHandleXsiType in class XFormsConfiguration

getConformanceLevel

public java.lang.String getConformanceLevel()
this is returned to the XPath function for conformance level

Overrides:
getConformanceLevel in class XFormsConfiguration


X-Smiles 1.2