Package org.dlese.dpc.schemedit.test
Class CompositorTester
java.lang.Object
org.dlese.dpc.schemedit.test.CompositorTester
- Direct Known Subclasses:
ChoiceTester,SequenceTester
Provides Helpful methods for creating and testing Compositors and
CompositorGuards
Builds a compositor given:
- schemaURI - specifying a schema
- instanceDocPath - path to xml record on disk, and instance Document for the Schema
- xpath - determines the instanceElement to be controlled by the
Compositor
- Version:
- $Id: CompositorTester.java,v 1.5 2009/03/20 23:33:57 jweather Exp $
- Author:
- Jonathan Ostwald
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe compositor created by CompositorTester for the specified schema, instanceDocument, and xpath; -
Constructor Summary
ConstructorsConstructorDescriptionCompositorTester(String schemaName, String xpath) Constructor for the CompositorTester object -
Method Summary
Modifier and TypeMethodDescriptiongetCompositorGuard(String instanceDocPath) static voidCreate a CompositorTester instance
-
Field Details
-
compositor
The compositor created by CompositorTester for the specified schema, instanceDocument, and xpath;
-
-
Constructor Details
-
CompositorTester
Constructor for the CompositorTester object- Parameters:
xpath- Description of the ParameterschemaLocation- Description of the ParameterinstanceDocPath- Description of the Parameter- Throws:
Exception- Description of the Exception
-
-
Method Details
-
getCompositorGuard
-
main
Create a CompositorTester instance- Parameters:
args- The command line arguments- Throws:
Exception- NOT YET DOCUMENTED
-