deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.framework.xml.schema
Class TypeReference

java.lang.Object
  extended by org.deegree.framework.xml.schema.TypeReference

public class TypeReference
extends Object

Represents a type reference. The reference may be resolved or not. If it is resolved, the referenced TypeDeclaration is accessible, otherwise only the name of the type is available.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Constructor Summary
TypeReference(QualifiedName typeName)
          Creates an unresolved TypeReference.
TypeReference(TypeDeclaration declaration)
          Creates an anonymous (inline) TypeReference.
 
Method Summary
 QualifiedName getName()
           
 TypeDeclaration getTypeDeclaration()
           
 boolean isAnonymous()
          Returns whether this TypeReference is anynoums (unnamed) or not.
 boolean isResolved()
           
 void resolve()
           
 void resolve(TypeDeclaration declaration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeReference

public TypeReference(QualifiedName typeName)
Creates an unresolved TypeReference.

Parameters:
typeName -

TypeReference

public TypeReference(TypeDeclaration declaration)
Creates an anonymous (inline) TypeReference.

Parameters:
declaration -
Method Detail

getName

public QualifiedName getName()
Returns:
Name

isResolved

public boolean isResolved()
Returns:
true if is resolved

getTypeDeclaration

public TypeDeclaration getTypeDeclaration()
Returns:
declaration

isAnonymous

public boolean isAnonymous()
Returns whether this TypeReference is anynoums (unnamed) or not.

Returns:
true, if this reference is anonymous, false otherwise

resolve

public void resolve(TypeDeclaration declaration)
Parameters:
declaration -

resolve

public void resolve()

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org