Package org.dlese.dpc.schemedit.test
Class SGTester
java.lang.Object
org.dlese.dpc.schemedit.test.SGTester
Class for testing dom manipulation with help from
SchemaHelper- Version:
- $Id: SGTester.java,v 1.3 2009/03/20 23:33:58 jweather Exp $
- Author:
- ostwald
$Id $
-
Method Summary
Modifier and TypeMethodDescriptiongetSubStitutionGroupMembersOf(String encodedPath) select all substitutionGroup elements by building up complex xpath ORing together the xpaths for the individual membersorg.apache.struts.util.LabelValueBean[]getSubstitutionGroupOptions(String encodedPath) given the path to a schemaNode that hasSubstitutionGroup(), return an array of LabelValueBean objects representing, the substitutionGroup, where both the label and the value are the group memebers qualifiedNamestatic voidThe main program for the SGTester classstatic org.dom4j.DocumentparseWithSAX(File aFile) NOT YET DOCUMENTED
-
Method Details
-
main
The main program for the SGTester class- Parameters:
args- The command line arguments- Throws:
Exception- NOT YET DOCUMENTED
-
getSubStitutionGroupMembersOf
select all substitutionGroup elements by building up complex xpath ORing together the xpaths for the individual members -
getSubstitutionGroupOptions
given the path to a schemaNode that hasSubstitutionGroup(), return an array of LabelValueBean objects representing, the substitutionGroup, where both the label and the value are the group memebers qualifiedName -
parseWithSAX
NOT YET DOCUMENTED- Parameters:
aFile- NOT YET DOCUMENTED- Returns:
- NOT YET DOCUMENTED
- Throws:
org.dom4j.DocumentException- NOT YET DOCUMENTEDException
-