public class SchemaUtils
extends java.lang.Object
Constructor and Description |
---|
SchemaUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List |
getChoicePaths(SchemaHelper schemaHelper)
Gets the choicePaths attribute of the SchemaUtils class
|
static java.util.List |
getDerivedContentNodes(SchemaHelper schemaHelper)
Gets the derivedContentNodes attribute of the SchemaUtils class
|
static java.util.List |
getDerivedTextOnlyNodes(SchemaHelper schemaHelper)
Gets the derivedTextOnlyNodes attribute of the SchemaUtils class
|
static java.util.List |
getModelGroups(SchemaHelper schemaHelper)
Gets the modelGroups attribute of the SchemaUtils class
|
static java.util.List |
getRecursiveNodes(SchemaHelper schemaHelper)
Gets the recursiveNodes attribute of the SchemaUtils class
|
static java.lang.String |
nsDefsToString(java.lang.String uri,
SchemaHelper schemaHelper)
NOT YET DOCUMENTED
|
static java.lang.String |
pp(org.dom4j.Node node)
Description of the Method
|
static void |
prtln(org.dom4j.Node n)
NOT YET DOCUMENTED
|
static void |
prtln(org.dom4j.Node n,
java.lang.String prefix)
NOT YET DOCUMENTED
|
static void |
prtln(java.lang.String s)
NOT YET DOCUMENTED
|
static void |
prtln(java.lang.String s,
java.lang.String prefix)
NOT YET DOCUMENTED
|
static void |
prtlnBox(org.dom4j.Node n,
java.lang.String header)
NOT YET DOCUMENTED
|
static void |
prtlnBox(java.lang.String s,
java.lang.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(java.lang.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.
|
public static void showDerivedDataTypes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showSchemaNodeMap(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showNSDefs(java.lang.String uri, SchemaHelper schemaHelper)
uri
- NOT YET DOCUMENTEDschemaHelper
- NOT YET DOCUMENTEDpublic static java.lang.String nsDefsToString(java.lang.String uri, SchemaHelper schemaHelper)
uri
- NOT YET DOCUMENTEDschemaHelper
- NOT YET DOCUMENTEDpublic static void showSubstitutionGroups(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showInstanceDoc(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showMinimalDocument(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showGlobalDefs(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showNodeDocumentation(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showTypeDocumentation(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showUnboundedSchemaNodes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showNodesHavingRepeatingComplexSingletons(SchemaHelper schemaHelper)
schemaHelper
- schemaHelper instance for particular framework.public static void showRepeatingComplexSingletons(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showRepeatingElements(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showRequiredBranches(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showGlobalElements(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showRequiredContentElements(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showMultiSelectElements(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showEnumerationTypes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static java.util.List getChoicePaths(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showOptionalChoicePaths(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showOptionalChoicePathsOLD(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showChoiceNodes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showChoiceNodesOLD(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showSimpleAndComplexContentElements(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static java.util.List getRecursiveNodes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static java.util.List getDerivedContentNodes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static java.util.List getModelGroups(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showDerivedContentModelNodes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static java.util.List getDerivedTextOnlyNodes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showDerivedTextOnlyModelNodes(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showXSDStringExtensionFields(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showXSDStringFields(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic static void showComboUnionFields(SchemaHelper schemaHelper)
schemaHelper
- NOT YET DOCUMENTEDpublic void whatKindOfRepeatingElement(SchemaNode schemaNode, GlobalDef typeDef)
Used to determine which nodes are rendered as which Mde Classes
schemaNode
- NOT YET DOCUMENTEDtypeDef
- NOT YET DOCUMENTEDpublic static java.lang.String pp(org.dom4j.Node node)
node
- NOT YET DOCUMENTEDpublic static void prtln(org.dom4j.Node n)
n
- NOT YET DOCUMENTEDpublic static void prtln(org.dom4j.Node n, java.lang.String prefix)
n
- NOT YET DOCUMENTEDprefix
- NOT YET DOCUMENTEDpublic static void prtln(java.lang.String s, java.lang.String prefix)
s
- NOT YET DOCUMENTEDprefix
- NOT YET DOCUMENTEDpublic static void prtln(java.lang.String s)
s
- NOT YET DOCUMENTEDpublic static void prtlnBox(java.lang.String s, java.lang.String header)
s
- NOT YET DOCUMENTEDheader
- NOT YET DOCUMENTEDpublic static void prtlnBox(org.dom4j.Node n, java.lang.String header)
n
- NOT YET DOCUMENTEDheader
- NOT YET DOCUMENTED