Package relaxngcc.codedom
Class CDType
- java.lang.Object
-
- relaxngcc.codedom.CDType
-
- Direct Known Subclasses:
CDClass
public class CDType extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CDType(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CDObjectCreateExpression_new()Creates a new instance of this type.CDTypearray()Gets the array type of this type.java.lang.StringgetName()Gets the display name of the type.booleanisArray()Returns true if this is an array type.voidwriteType(CDFormatter f)Prints the type name.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the display name of the type.
-
_new
public CDObjectCreateExpression _new()
Creates a new instance of this type.
-
array
public CDType array()
Gets the array type of this type.
-
writeType
public void writeType(CDFormatter f) throws java.io.IOException
Prints the type name.- Throws:
java.io.IOException
-
isArray
public boolean isArray()
Returns true if this is an array type.
-
-