|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.framework.xml.schema.XMLSchema
public class XMLSchema
Represents an XML schema document.
Constructor Summary | |
---|---|
XMLSchema(java.net.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(java.lang.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(java.lang.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(java.lang.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. |
java.net.URI |
getTargetNamespace()
Returns the target namespace of the schema document. |
TypeDeclaration |
getTypeDeclaration(QualifiedName qName)
Looks up the TypeDeclaration for the given QualifiedName . |
TypeDeclaration |
getTypeDeclaration(java.lang.String name)
Looks up the TypeDeclaration for the given local name (without namespace). |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XMLSchema(java.net.URI targetNamespace, SimpleTypeDeclaration[] simpleTypes, ComplexTypeDeclaration[] complexTypes, ElementDeclaration[] elementDeclarations) throws XMLSchemaException
XMLSchema
instance from the given parameters.
targetNamespace
- simpleTypes
- complexTypes
- elementDeclarations
-
XMLSchemaException
Method Detail |
---|
public java.net.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(java.lang.String name)
ElementDeclaration
for the given local name (without namespace).
name
- the (unqualified) name to look up
public TypeDeclaration getTypeDeclaration(java.lang.String name)
TypeDeclaration
for the given local name (without namespace).
name
- the (unqualified) name to look up
public SimpleTypeDeclaration getSimpleTypeDeclaration(java.lang.String name)
SimpleTypeDeclaration
for the given local name (without
namespace).
name
- the (unqualified) name to look up
public ComplexTypeDeclaration getComplexTypeDeclaration(java.lang.String name)
ComplexTypeDeclaration
for the given local name (without
namespace).
name
- the (unqualified) name to look up
public java.lang.String toString()
toString
in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org