Package org.dlese.dpc.schemedit.test
Class SchemaHelperTester
java.lang.Object
org.dlese.dpc.schemedit.test.SchemaHelperTester
Description of the Class
- Author:
- ostwald
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSchemaHelperTester(String xmlFormat) Constructor for the SchemaHelperTester object -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcharTest()Description of the Methodstatic voidDescription of the MethodvoidDisplays specific info about all the SchemaNodeMap schemaNodes that wrap attribute elements from the schemavoiddisplayCompositors(String filter) Gets the compositors attribute of the SchemaHelperTester objectvoidstatic voidThe main program for the SchemaHelperTester classvoidFind the dataTypes of elements in the SchemaNodeMap that are not present in the XSDatatypeManager.voidstuffValue(DocMap docMap, String xpath, String value, SchemaHelper schemaHelper) static voidDescription of the Method
-
Field Details
-
sh
-
-
Constructor Details
-
SchemaHelperTester
Constructor for the SchemaHelperTester object- Throws:
Exception
-
-
Method Details
-
main
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
Description of the Method- Parameters:
test- Description of the Parameter
-
charTest
public static void charTest()Description of the Method -
uriTest
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
Gets the compositors attribute of the SchemaHelperTester object- Parameters:
filter- Description of the Parameter
-