DLESE Tools
v1.6.0

org.dlese.dpc.xml.schema
Class SchemaUtils

java.lang.Object
  extended by org.dlese.dpc.xml.schema.SchemaUtils

public class SchemaUtils
extends Object

NOT YET DOCUMENTED

Author:
Jonathan Ostwald

Constructor Summary
SchemaUtils()
           
 
Method Summary
static List getChoicePaths(SchemaHelper schemaHelper)
          Gets the choicePaths attribute of the SchemaUtils class
static List getDerivedContentNodes(SchemaHelper schemaHelper)
          Gets the derivedContentNodes attribute of the SchemaUtils class
static List getDerivedTextOnlyNodes(SchemaHelper schemaHelper)
          Gets the derivedTextOnlyNodes attribute of the SchemaUtils class
static List getModelGroups(SchemaHelper schemaHelper)
          Gets the modelGroups attribute of the SchemaUtils class
static List getRecursiveNodes(SchemaHelper schemaHelper)
          Gets the recursiveNodes attribute of the SchemaUtils class
static String nsDefsToString(String uri, SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static String pp(Node node)
          Description of the Method
static void prtln(Node n)
          NOT YET DOCUMENTED
static void prtln(Node n, String prefix)
          NOT YET DOCUMENTED
static void prtln(String s)
          NOT YET DOCUMENTED
static void prtln(String s, String prefix)
          NOT YET DOCUMENTED
static void prtlnBox(Node n, String header)
          NOT YET DOCUMENTED
static void prtlnBox(String s, String header)
          NOT YET DOCUMENTED
static void showChoiceNodes(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showChoiceNodesOLD(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showComboUnionFields(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showDerivedContentModelNodes(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showDerivedDataTypes(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showDerivedTextOnlyModelNodes(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showEnumerationTypes(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showGlobalDefs(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showGlobalElements(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showInstanceDoc(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showMinimalDocument(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showMultiSelectElements(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showNodeDocumentation(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showNodesHavingRepeatingComplexSingletons(SchemaHelper schemaHelper)
          Display schema nodes for which the SchemaHelper.hasRepeatingComplexSingleton predicate returns true.
static void showNSDefs(String uri, SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showOptionalChoicePaths(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showOptionalChoicePathsOLD(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showRepeatingComplexSingletons(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showRepeatingElements(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showRequiredBranches(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showRequiredContentElements(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showSchemaNodeMap(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showSimpleAndComplexContentElements(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showSubstitutionGroups(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showTypeDocumentation(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showUnboundedSchemaNodes(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showXSDStringExtensionFields(SchemaHelper schemaHelper)
          NOT YET DOCUMENTED
static void showXSDStringFields(SchemaHelper schemaHelper)
          show fields of xxx:string dataType, where xxx refers to the namespace prefix for the schemaNamespace.
 void whatKindOfRepeatingElement(SchemaNode schemaNode, GlobalDef typeDef)
          Based on logic of RendererImpl.renderRepeatingElement, prints out the name of the class instantiated to render provided schemaNode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaUtils

public SchemaUtils()
Method Detail

showDerivedDataTypes

public static void showDerivedDataTypes(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showSchemaNodeMap

public static void showSchemaNodeMap(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showNSDefs

public static void showNSDefs(String uri,
                              SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
uri - NOT YET DOCUMENTED
schemaHelper - NOT YET DOCUMENTED

nsDefsToString

public static String nsDefsToString(String uri,
                                    SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
uri - NOT YET DOCUMENTED
schemaHelper - NOT YET DOCUMENTED
Returns:
NOT YET DOCUMENTED

showSubstitutionGroups

public static void showSubstitutionGroups(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showInstanceDoc

public static void showInstanceDoc(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showMinimalDocument

public static void showMinimalDocument(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showGlobalDefs

public static void showGlobalDefs(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showNodeDocumentation

public static void showNodeDocumentation(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showTypeDocumentation

public static void showTypeDocumentation(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showUnboundedSchemaNodes

public static void showUnboundedSchemaNodes(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showNodesHavingRepeatingComplexSingletons

public static void showNodesHavingRepeatingComplexSingletons(SchemaHelper schemaHelper)
Display schema nodes for which the SchemaHelper.hasRepeatingComplexSingleton predicate returns true.

Parameters:
schemaHelper - schemaHelper instance for particular framework.

showRepeatingComplexSingletons

public static void showRepeatingComplexSingletons(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showRepeatingElements

public static void showRepeatingElements(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showRequiredBranches

public static void showRequiredBranches(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showGlobalElements

public static void showGlobalElements(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showRequiredContentElements

public static void showRequiredContentElements(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showMultiSelectElements

public static void showMultiSelectElements(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showEnumerationTypes

public static void showEnumerationTypes(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

getChoicePaths

public static List getChoicePaths(SchemaHelper schemaHelper)
Gets the choicePaths attribute of the SchemaUtils class

Parameters:
schemaHelper - NOT YET DOCUMENTED
Returns:
The choicePaths value

showOptionalChoicePaths

public static void showOptionalChoicePaths(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showOptionalChoicePathsOLD

public static void showOptionalChoicePathsOLD(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showChoiceNodes

public static void showChoiceNodes(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showChoiceNodesOLD

public static void showChoiceNodesOLD(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showSimpleAndComplexContentElements

public static void showSimpleAndComplexContentElements(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

getRecursiveNodes

public static List getRecursiveNodes(SchemaHelper schemaHelper)
Gets the recursiveNodes attribute of the SchemaUtils class

Parameters:
schemaHelper - NOT YET DOCUMENTED
Returns:
The recursiveNodes value

getDerivedContentNodes

public static List getDerivedContentNodes(SchemaHelper schemaHelper)
Gets the derivedContentNodes attribute of the SchemaUtils class

Parameters:
schemaHelper - NOT YET DOCUMENTED
Returns:
The derivedContentNodes value

getModelGroups

public static List getModelGroups(SchemaHelper schemaHelper)
Gets the modelGroups attribute of the SchemaUtils class

Parameters:
schemaHelper - NOT YET DOCUMENTED
Returns:
The modelGroups value

showDerivedContentModelNodes

public static void showDerivedContentModelNodes(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

getDerivedTextOnlyNodes

public static List getDerivedTextOnlyNodes(SchemaHelper schemaHelper)
Gets the derivedTextOnlyNodes attribute of the SchemaUtils class

Parameters:
schemaHelper - NOT YET DOCUMENTED
Returns:
The derivedTextOnlyNodes value

showDerivedTextOnlyModelNodes

public static void showDerivedTextOnlyModelNodes(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showXSDStringExtensionFields

public static void showXSDStringExtensionFields(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

showXSDStringFields

public static void showXSDStringFields(SchemaHelper schemaHelper)
show fields of xxx:string dataType, where xxx refers to the namespace prefix for the schemaNamespace.

Parameters:
schemaHelper - NOT YET DOCUMENTED

showComboUnionFields

public static void showComboUnionFields(SchemaHelper schemaHelper)
NOT YET DOCUMENTED

Parameters:
schemaHelper - NOT YET DOCUMENTED

whatKindOfRepeatingElement

public void whatKindOfRepeatingElement(SchemaNode schemaNode,
                                       GlobalDef typeDef)
Based on logic of RendererImpl.renderRepeatingElement, prints out the name of the class instantiated to render provided schemaNode.

Used to determine which nodes are rendered as which Mde Classes

Parameters:
schemaNode - NOT YET DOCUMENTED
typeDef - NOT YET DOCUMENTED

pp

public static String pp(Node node)
Description of the Method

Parameters:
node - NOT YET DOCUMENTED
Returns:
NOT YET DOCUMENTED

prtln

public static void prtln(Node n)
NOT YET DOCUMENTED

Parameters:
n - NOT YET DOCUMENTED

prtln

public static void prtln(Node n,
                         String prefix)
NOT YET DOCUMENTED

Parameters:
n - NOT YET DOCUMENTED
prefix - NOT YET DOCUMENTED

prtln

public static void prtln(String s,
                         String prefix)
NOT YET DOCUMENTED

Parameters:
s - NOT YET DOCUMENTED
prefix - NOT YET DOCUMENTED

prtln

public static void prtln(String s)
NOT YET DOCUMENTED

Parameters:
s - NOT YET DOCUMENTED

prtlnBox

public static void prtlnBox(String s,
                            String header)
NOT YET DOCUMENTED

Parameters:
s - NOT YET DOCUMENTED
header - NOT YET DOCUMENTED

prtlnBox

public static void prtlnBox(Node n,
                            String header)
NOT YET DOCUMENTED

Parameters:
n - NOT YET DOCUMENTED
header - NOT YET DOCUMENTED

DLESE Tools
v1.6.0