| java.lang.Object org.deegree.framework.xml.schema.SimpleTypeDeclaration
SimpleTypeDeclaration | public class SimpleTypeDeclaration implements TypeDeclaration(Code) | | Represents an XML simple type declaration in an
XMLSchema .
The following limitations apply:
- the type must be defined using 'restriction' (of a basic xsd type)
- the content model (enumeration, ...) is not evaluated
author: Markus Schneider author: last edited by: $Author: apoth $ version: $Revision: 9339 $, $Date: 2007-12-27 04:31:52 -0800 (Thu, 27 Dec 2007) $ |
SimpleTypeDeclaration | public SimpleTypeDeclaration(QualifiedName name, TypeReference restrictionBaseType)(Code) | | Creates a new SimpleTypeDeclaration instance from the given parameters.
Parameters: name - Parameters: restrictionBaseType - |
getName | public QualifiedName getName()(Code) | | Returns the qualified name of the declared XML type.
the qualified name of the declared XML type |
getRestrictionBaseType | public TypeReference getRestrictionBaseType()(Code) | | Returns a
TypeReference to the XML type that this simple type restricts.
a TypeReference to the XML type that this simple type restricts |
toString | public String toString()(Code) | | Returns a string representation of the object.
a string representation of the object |
toString | public String toString(String indent)(Code) | | Returns a string representation of the object (indented for better readablity,
as this is a hierarchical structure).
Parameters: indent - current indentation (as a whitespace string) an indented string representation of the object |
|
|