DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.test
Class SGTester

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

public class SGTester
extends Object

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
 List getSubStitutionGroupMembersOf(String encodedPath)
          select all substitutionGroup elements by building up complex xpath ORing together the xpaths for the individual members
 org.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 qualifiedName
static void main(String[] args)
          The main program for the SGTester class
static Document parseWithSAX(File aFile)
          NOT YET DOCUMENTED
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

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

Parameters:
args - The command line arguments
Throws:
Exception - NOT YET DOCUMENTED

getSubStitutionGroupMembersOf

public List getSubStitutionGroupMembersOf(String encodedPath)
select all substitutionGroup elements by building up complex xpath ORing together the xpaths for the individual members


getSubstitutionGroupOptions

public org.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 qualifiedName


parseWithSAX

public static Document parseWithSAX(File aFile)
                             throws Exception
NOT YET DOCUMENTED

Parameters:
aFile - NOT YET DOCUMENTED
Returns:
NOT YET DOCUMENTED
Throws:
DocumentException - NOT YET DOCUMENTED
Exception

DLESE Tools
v1.6.0