com.google.gxp.compiler.base
Interface Root
- All Superinterfaces:
- Node
- All Known Implementing Classes:
- AbstractRoot, Interface, NullRoot, Template
public interface Root
- extends Node
A Node that can be the Root of a GXP document.
TODO(harryh): it's prolly somewhat sketchy that this has getImports()
but I think this is OK for now.
getName
TemplateName.FullyQualified getName()
- Returns:
- the fully qualified name of this
Root
getSchema
Schema getSchema()
- Returns:
- the
Schema of this Root's output.
acceptVisitor
<T> T acceptVisitor(RootVisitor<T> visitor)
- Implementation of Visitor Pattern.
getCallable
Callable getCallable()
- Returns:
- the
Callable this Root exposes.
getInstanceCallable
InstanceCallable getInstanceCallable()
- Returns:
- the
InstanceCallable this Root exposes.
getImplementable
Implementable getImplementable()
- Returns:
- the
Implementable this Root exposes.
getImports
List<Import> getImports()