org.deegree.tools.feature.gml
Class SchemaAnalyzer
java.lang.Object
org.deegree.tools.feature.gml.SchemaAnalyzer
@Tool(value="Prints an analysis of the global element declarations in an XML schema and their content models.")
public class SchemaAnalyzer
- extends Object
Prints an analysis of the global element declarations in an XML schema.
- Version:
- $Revision:$, $Date:$
- Author:
- Markus Schneider , last edited by: $Author:$
|
Field Summary |
protected org.apache.xerces.xs.XSModel |
schema
|
|
Constructor Summary |
protected |
SchemaAnalyzer(org.apache.xerces.xs.XSModel schema)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schema
protected final org.apache.xerces.xs.XSModel schema
SchemaAnalyzer
protected SchemaAnalyzer(org.apache.xerces.xs.XSModel schema)
getSubstitutions
public Set<org.apache.xerces.xs.XSElementDeclaration> getSubstitutions(org.apache.xerces.xs.XSElementDeclaration substitutee)
toString
public String toString(QName elementName)
toString
public String toString(org.apache.xerces.xs.XSElementDeclaration elementDecl)
toString
String toString(org.apache.xerces.xs.XSSimpleTypeDefinition simpleType)
toString
String toString(org.apache.xerces.xs.XSComplexTypeDefinition complexType)
generateTypeHierarchy
String generateTypeHierarchy(org.apache.xerces.xs.XSTypeDefinition type,
String indent)
generateParticleHierarchy
String generateParticleHierarchy(org.apache.xerces.xs.XSParticle particle,
String indent)
isParticleRedundant
boolean isParticleRedundant(org.apache.xerces.xs.XSParticle particle)
generateOccurenceInfo
String generateOccurenceInfo(org.apache.xerces.xs.XSParticle particle)
generateSubstitutionHierarchy
String generateSubstitutionHierarchy(org.apache.xerces.xs.XSElementDeclaration elementDecl,
String indent)
getProperties
List<PropertyDeclaration> getProperties(org.apache.xerces.xs.XSElementDeclaration elementDecl)
getElementDeclarationSummary
public String getElementDeclarationSummary(String namespace)
printSimpleTypesSummary
public void printSimpleTypesSummary(String namespace)
printComplexTypesSummary
public void printComplexTypesSummary(String namespace)
main
public static void main(String[] args)
throws ClassCastException,
ClassNotFoundException,
InstantiationException,
IllegalAccessException,
IOException
- Parameters:
args -
- Throws:
IllegalAccessException
InstantiationException
ClassNotFoundException
ClassCastException
IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>