org.deegree.io.datastore.schema
Class MappedElementDeclaration
java.lang.Object
org.deegree.framework.xml.schema.ElementDeclaration
org.deegree.io.datastore.schema.MappedElementDeclaration
public class MappedElementDeclaration
- extends ElementDeclaration
Represents an annotated XML element declaration in an MappedGMLSchema
.
- Version:
- $Revision: 9342 $, $Date: 2007-12-27 13:32:57 +0100 (Do, 27 Dez 2007) $
- Author:
- Markus Schneider , last edited by: $Author: apoth $
Method Summary |
Element |
getAnnotation()
Returns the "xs:annotation" element (which contains the mapping information). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedElementDeclaration
public MappedElementDeclaration(QualifiedName name,
boolean isAbstract,
TypeReference type,
int minOccurs,
int maxOccurs,
QualifiedName substitutionGroup,
Element annotationElement)
- Creates a new
ElementDeclaration
instance from the given parameters.
- Parameters:
name
- isAbstract
- type
- minOccurs
- maxOccurs
- substitutionGroup
- annotationElement
-
getAnnotation
public Element getAnnotation()
- Returns the "xs:annotation" element (which contains the mapping information).
- Returns:
- the "xs:annotation" element
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net