public class DefaultLang3GLContext extends Object implements Lang3GLContext
| Constructor and Description |
|---|
DefaultLang3GLContext(ProvisioningModel ProvisioningModel) |
| Modifier and Type | Method and Description |
|---|---|
Class |
findClass(ClassRef cref)
Returns a Class for the given ClassRef
|
Class |
findClass(String qualifiedName)
Returns a Class for the given qualified name where qualified names
take the format uri#class-name, for example http://mysite.com/myapp#MyClass
|
Package |
findPackage(ClassRef cref)
Returns a Package for the given ClassRef
|
Package |
findPackage(String qualifiedName)
Returns a Package for the given qualified name where qualified names
take the format uri#class-name, for example http://mysite.com/myapp#MyClass
|
String |
getIndentationToken() |
boolean |
usePrimitives()
Whether to use primitives over wrapper type classes.
|
public DefaultLang3GLContext(ProvisioningModel ProvisioningModel)
public Class findClass(ClassRef cref)
Lang3GLContextfindClass in interface Lang3GLContextcref - the ClassReforg.plasma.text.lang3gl.Class,
org.plasma.text.lang3gl.ClassRefpublic Class findClass(String qualifiedName)
Lang3GLContextfindClass in interface Lang3GLContextqualifiedName - the qualified name, for example http://mysite.com/myapp#MyClassorg.plasma.text.lang3gl.Classpublic Package findPackage(ClassRef cref)
Lang3GLContextfindPackage in interface Lang3GLContextcref - the ClassReforg.plasma.text.lang3gl.Package,
org.plasma.text.lang3gl.ClassRefpublic Package findPackage(String qualifiedName)
Lang3GLContextfindPackage in interface Lang3GLContextqualifiedName - the qualified name, for example http://mysite.com/myapp#MyClassorg.plasma.text.lang3gl.Packagepublic boolean usePrimitives()
Lang3GLContextusePrimitives in interface Lang3GLContextpublic String getIndentationToken()
getIndentationToken in interface Lang3GLContextCopyright © 2017. All rights reserved.