org.plasma.text.lang3gl
Interface Lang3GLContext

All Known Implementing Classes:
DefaultLang3GLContext

public interface Lang3GLContext

Represents language preferences


Method Summary
 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.
 

Method Detail

findClass

Class findClass(ClassRef cref)
Returns a Class for the given ClassRef

Parameters:
cref - the ClassRef
Returns:
the Class referenced by the given ClassRef
See Also:
org.plasma.text.lang3gl.Class, org.plasma.text.lang3gl.ClassRef

findClass

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

Parameters:
qualifiedName - the qualified name, for example http://mysite.com/myapp#MyClass
Returns:
the Class referenced by the given qualified name
See Also:
org.plasma.text.lang3gl.Class

findPackage

Package findPackage(ClassRef cref)
Returns a Package for the given ClassRef

Parameters:
cref - the ClassRef
Returns:
the Package referenced by the given ClassRef
See Also:
org.plasma.text.lang3gl.Package, org.plasma.text.lang3gl.ClassRef

findPackage

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

Parameters:
qualifiedName - the qualified name, for example http://mysite.com/myapp#MyClass
Returns:
the Package referenced by the given qualified name
See Also:
org.plasma.text.lang3gl.Package

usePrimitives

boolean usePrimitives()
Whether to use primitives over wrapper type classes.

Returns:
whether to use primitives over wrapper type classes

getIndentationToken

String getIndentationToken()


Copyright © 2014. All rights reserved.