public class SGTester
extends java.lang.Object
SchemaHelper
$Id $
Modifier and Type | Method and Description |
---|---|
java.util.List |
getSubStitutionGroupMembersOf(java.lang.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(java.lang.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(java.lang.String[] args)
The main program for the SGTester class
|
static org.dom4j.Document |
parseWithSAX(java.io.File aFile)
NOT YET DOCUMENTED
|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line argumentsjava.lang.Exception
- NOT YET DOCUMENTEDpublic java.util.List getSubStitutionGroupMembersOf(java.lang.String encodedPath)
public org.apache.struts.util.LabelValueBean[] getSubstitutionGroupOptions(java.lang.String encodedPath)
public static org.dom4j.Document parseWithSAX(java.io.File aFile) throws java.lang.Exception
aFile
- NOT YET DOCUMENTEDorg.dom4j.DocumentException
- NOT YET DOCUMENTEDjava.lang.Exception