|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.framework.xml.schema.XMLSchema
public class XMLSchema
Represents an XML schema document.
Constructor Summary | |
---|---|
XMLSchema(URI targetNamespace,
SimpleTypeDeclaration[] simpleTypes,
ComplexTypeDeclaration[] complexTypes,
ElementDeclaration[] elementDeclarations)
Creates a new XMLSchema instance from the given parameters. |
Method Summary | |
---|---|
ComplexTypeDeclaration |
getComplexTypeDeclaration(QualifiedName qName)
Looks up the ComplexTypeDeclaration for the given QualifiedName . |
ComplexTypeDeclaration |
getComplexTypeDeclaration(String name)
Looks up the ComplexTypeDeclaration for the given local name (without
namespace). |
ComplexTypeDeclaration[] |
getComplexTypeDeclarations()
Returns all ComplexTypeDeclaration s that are defined in the schema. |
ElementDeclaration |
getElementDeclaration(QualifiedName qName)
Looks up the ElementDeclaration for the given QualifiedName . |
ElementDeclaration |
getElementDeclaration(String name)
Looks up the ElementDeclaration for the given local name (without namespace). |
ElementDeclaration[] |
getElementDeclarations()
Returns all ElementDeclaration s that are defined in the schema. |
SimpleTypeDeclaration |
getSimpleTypeDeclaration(QualifiedName qName)
Looks up the SimpleTypeDeclaration for the given QualifiedName . |
SimpleTypeDeclaration |
getSimpleTypeDeclaration(String name)
Looks up the SimpleTypeDeclaration for the given local name (without
namespace). |
SimpleTypeDeclaration[] |
getSimpleTypeDeclarations()
Returns all SimpleTypeDeclaration s that are defined in the schema. |
URI |
getTargetNamespace()
Returns the target namespace of the schema document. |
TypeDeclaration |
getTypeDeclaration(QualifiedName qName)
Looks up the TypeDeclaration for the given QualifiedName . |
TypeDeclaration |
getTypeDeclaration(String name)
Looks up the TypeDeclaration for the given local name (without namespace). |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XMLSchema(URI targetNamespace, SimpleTypeDeclaration[] simpleTypes, ComplexTypeDeclaration[] complexTypes, ElementDeclaration[] elementDeclarations) throws XMLSchemaException
XMLSchema
instance from the given parameters.
targetNamespace
- simpleTypes
- complexTypes
- elementDeclarations
-
XMLSchemaException
Method Detail |
---|
public URI getTargetNamespace()
public ElementDeclaration[] getElementDeclarations()
ElementDeclaration
s that are defined in the schema.
public SimpleTypeDeclaration[] getSimpleTypeDeclarations()
SimpleTypeDeclaration
s that are defined in the schema.
public ComplexTypeDeclaration[] getComplexTypeDeclarations()
ComplexTypeDeclaration
s that are defined in the schema.
public ElementDeclaration getElementDeclaration(QualifiedName qName)
ElementDeclaration
for the given QualifiedName
.
qName
- the QualifiedName to look up
public TypeDeclaration getTypeDeclaration(QualifiedName qName)
TypeDeclaration
for the given QualifiedName
.
qName
- the QualifiedName to look up
public SimpleTypeDeclaration getSimpleTypeDeclaration(QualifiedName qName)
SimpleTypeDeclaration
for the given QualifiedName
.
qName
- the QualifiedName to look up
public ComplexTypeDeclaration getComplexTypeDeclaration(QualifiedName qName)
ComplexTypeDeclaration
for the given QualifiedName
.
qName
- the QualifiedName to look up
public ElementDeclaration getElementDeclaration(String name)
ElementDeclaration
for the given local name (without namespace).
name
- the (unqualified) name to look up
public TypeDeclaration getTypeDeclaration(String name)
TypeDeclaration
for the given local name (without namespace).
name
- the (unqualified) name to look up
public SimpleTypeDeclaration getSimpleTypeDeclaration(String name)
SimpleTypeDeclaration
for the given local name (without
namespace).
name
- the (unqualified) name to look up
public ComplexTypeDeclaration getComplexTypeDeclaration(String name)
ComplexTypeDeclaration
for the given local name (without
namespace).
name
- the (unqualified) name to look up
public String toString()
toString
in class Object
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net