DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.test
Class SchemaHelperTester

java.lang.Object
  extended by org.dlese.dpc.schemedit.test.SchemaHelperTester

public class SchemaHelperTester
extends Object

Description of the Class

Author:
ostwald

Field Summary
 SchemaHelper sh
           
 
Constructor Summary
SchemaHelperTester(String xmlFormat)
          Constructor for the SchemaHelperTester object
 
Method Summary
static void charTest()
          Description of the Method
static void charTest(String test)
          Description of the Method
 void displayAttributes()
          Displays specific info about all the SchemaNodeMap schemaNodes that wrap attribute elements from the schema
 void displayCompositors(String filter)
          Gets the compositors attribute of the SchemaHelperTester object
 void dlese_anno_tests()
           
static void main(String[] args)
          The main program for the SchemaHelperTester class
 void reportMissingXSDatatypes()
          Find the dataTypes of elements in the SchemaNodeMap that are not present in the XSDatatypeManager.
 void stuffValue(DocMap docMap, String xpath, String value, SchemaHelper schemaHelper)
           
static void uriTest(String uriStr)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sh

public SchemaHelper sh
Constructor Detail

SchemaHelperTester

public SchemaHelperTester(String xmlFormat)
                   throws Exception
Constructor for the SchemaHelperTester object

Throws:
Exception
Method Detail

main

public static void main(String[] args)
                 throws Exception
The main program for the SchemaHelperTester class

Parameters:
args - The command line arguments
Throws:
Exception

dlese_anno_tests

public void dlese_anno_tests()

stuffValue

public void stuffValue(DocMap docMap,
                       String xpath,
                       String value,
                       SchemaHelper schemaHelper)
                throws Exception
Throws:
Exception

charTest

public static void charTest(String test)
Description of the Method

Parameters:
test - Description of the Parameter

charTest

public static void charTest()
Description of the Method


uriTest

public static void uriTest(String uriStr)
Description of the Method

Parameters:
uriStr - Description of the Parameter

reportMissingXSDatatypes

public void reportMissingXSDatatypes()
Find the dataTypes of elements in the SchemaNodeMap that are not present in the XSDatatypeManager. We are only interested in the SimpleTypes, since complexTypes are not handled by the XSDatatypeManager.


displayAttributes

public void displayAttributes()
Displays specific info about all the SchemaNodeMap schemaNodes that wrap attribute elements from the schema


displayCompositors

public void displayCompositors(String filter)
Gets the compositors attribute of the SchemaHelperTester object

Parameters:
filter - Description of the Parameter

DLESE Tools
v1.6.0