org.mesopotamia.lang.java
Class TypeSpecification
java.lang.Object
LanguageElement
org.mesopotamia.lang.java.JavaLanguageElement
org.mesopotamia.lang.java.TypeArgument
org.mesopotamia.lang.java.TypeSpecification
- All Implemented Interfaces:
- TypeSpecInfo
public class TypeSpecification
- extends TypeArgument
- implements TypeSpecInfo
Constructor Summary |
TypeSpecification(NodeData xData,
java.lang.Class<?> context,
Scan scan,
RepositoryLanguage language,
java.lang.Object environment)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeSpecification
public TypeSpecification(NodeData xData,
java.lang.Class<?> context,
Scan scan,
RepositoryLanguage language,
java.lang.Object environment)
throws MesopotamiaException
- Throws:
MesopotamiaException
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.