org.deegree.tools.feature.gml
Class SchemaAnalyzer

java.lang.Object
  extended by 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)
           
 
Method Summary
 String getElementDeclarationSummary(String namespace)
           
 Set<org.apache.xerces.xs.XSElementDeclaration> getSubstitutions(org.apache.xerces.xs.XSElementDeclaration substitutee)
           
static void main(String[] args)
           
 void printComplexTypesSummary(String namespace)
           
 void printSimpleTypesSummary(String namespace)
           
 String toString(QName elementName)
           
 String toString(org.apache.xerces.xs.XSElementDeclaration elementDecl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schema

protected final org.apache.xerces.xs.XSModel schema
Constructor Detail

SchemaAnalyzer

protected SchemaAnalyzer(org.apache.xerces.xs.XSModel schema)
Method Detail

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)

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


Copyright © 2011. All Rights Reserved.