org.mesopotamia.lang.java
Class TypeSpecification

java.lang.Object
  extended by LanguageElement
      extended by org.mesopotamia.lang.java.JavaLanguageElement
          extended by org.mesopotamia.lang.java.TypeArgument
              extended by org.mesopotamia.lang.java.TypeSpecification
All Implemented Interfaces:
TypeSpecInfo

public class TypeSpecification
extends TypeArgument
implements TypeSpecInfo


Field Summary
 
Fields inherited from class org.mesopotamia.lang.java.JavaLanguageElement
fcn, fcnCalculated, JAVA_LANG_OBJECT, providerHandle
 
Fields inherited from interface org.mesopotamia.lang.java.ref.TypeSpecInfo
ARRAY_BRACKETS
 
Constructor Summary
TypeSpecification(NodeData xData, java.lang.Class<?> context, Scan scan, RepositoryLanguage language, java.lang.Object environment)
           
 
Method Summary
protected  void acceptChildren(Visitor visitor)
           
 int getDimensions()
          Array dimensons.
 Type getSpecificationType()
           
 TypeInfo getTypeInfo()
           
 void toDom(org.w3c.dom.Element holder)
           
static java.lang.String toString(TypeSpecInfo typeSpecInfo)
           
static TypeInfo toTypeInfo(TypeSpecInfo tsi, Scope es)
          Returns type info for given type spec info taking dimensions into consideration.
 
Methods inherited from class org.mesopotamia.lang.java.JavaLanguageElement
getComments, getFcn, getProvider, setProviderHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeSpecification

public TypeSpecification(NodeData xData,
                         java.lang.Class<?> context,
                         Scan scan,
                         RepositoryLanguage language,
                         java.lang.Object environment)
                  throws MesopotamiaException
Throws:
MesopotamiaException
Method Detail

getDimensions

public int getDimensions()
Array dimensons.

Specified by:
getDimensions in interface TypeSpecInfo
Returns:

getSpecificationType

public Type getSpecificationType()

toDom

public void toDom(org.w3c.dom.Element holder)

acceptChildren

protected void acceptChildren(Visitor visitor)
Overrides:
acceptChildren in class JavaLanguageElement

getTypeInfo

public TypeInfo getTypeInfo()
Specified by:
getTypeInfo in interface TypeSpecInfo

toString

public static java.lang.String toString(TypeSpecInfo typeSpecInfo)

toTypeInfo

public static TypeInfo toTypeInfo(TypeSpecInfo tsi,
                                  Scope es)
Returns type info for given type spec info taking dimensions into consideration.

Parameters:
tsi -
es -
Returns:


Copyright © 2005 Hammurapi Group. All Rights Reserved.