Class SGTester

java.lang.Object
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 Details

    • 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 org.dom4j.Document parseWithSAX(File aFile) throws Exception
      NOT YET DOCUMENTED
      Parameters:
      aFile - NOT YET DOCUMENTED
      Returns:
      NOT YET DOCUMENTED
      Throws:
      org.dom4j.DocumentException - NOT YET DOCUMENTED
      Exception