public class NamespaceAlias extends Declaration
| Constructor and Description |
|---|
NamespaceAlias(IDExpression name,
IDExpression original)
Create a namespace alias.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
defaultPrint(NamespaceAlias a,
java.io.PrintWriter o)
Prints an alias to a stream.
|
java.util.List<IDExpression> |
getDeclaredIDs()
Returns a list of name ID introduced by this declaration.
|
static void |
setClassPrintMethod(java.lang.reflect.Method m)
Overrides the class print method, so that all subsequently
created objects will use the supplied method.
|
annotate, annotateAfter, annotateBefore, clone, containsAnnotation, detach, equals, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getChildren, getParent, hashCode, print, removeAnnotations, removeAnnotations, removeChild, setChild, setParent, setPrintMethod, setSemiColon, toString, verifypublic NamespaceAlias(IDExpression name, IDExpression original)
name - The name for this alias.original - The name of the original namespace.public static void defaultPrint(NamespaceAlias a, java.io.PrintWriter o)
a - The alias to print.o - The writer on which to print the alias.public java.util.List<IDExpression> getDeclaredIDs()
DeclarationgetDeclaredIDs in class Declarationpublic static void setClassPrintMethod(java.lang.reflect.Method m)
m - The new print method.