org.openlaszlo.compiler |
Interface Compiler Package
Defines the Compiler package.
This package defines the Compiler class, which compiles an
application source file to an object file.
Implementation Notes
The implementation of the interface compiler assumes that the
input file has been validated against a schema. Reporting XML
content errors will therefore be centralized at the point where
the document is validated, and element visitors can assume that
mandatory elements are present. Since this isn't yet implemented,
visitors throw runtime exceptions when an element is missing, but
the format for reporting these exceptions doesn't need to be
designed.
|
Java Source File Name | Type | Comment |
AttributeSpec.java | Class | Contains information about an attribute of a laszlo viewsystem class. |
AttributeStream.java | Class | An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing). |
Canvas.java | Class | |
CanvasCompiler.java | Class | Compiler for the canvas element. |
ClassCompiler.java | Class | Compiler for class class elements. |
ClassModel.java | Class | |
CompilationEnvironment.java | Class | Encapsulates all the context that script compilation needs to
refer to. |
CompilationError.java | Class | Represents an error that occurred during the invocation of the
interface compiler. |
CompilationErrorHandler.java | Class | Hold a list of errors generated during compilation of an lzx file. |
Compiler.java | Class | Compiles a Laszlo XML source file, and any files that it
references, into an object file that can be executed on the client. |
CompilerMediaCache.java | Class | A class for maintaining a disk-backed cache of transcoded media
files for the compiler. |
CompilerUtils.java | Class | |
Compiler_Test.java | Class | |
DataCompiler.java | Class | Compiler for local data elements. |
DebugCompiler.java | Class | Compiler for debug element. |
DHTMLWriter.java | Class | Accumulates code, XML, and assets to a DHTML object file. |
ElementCompiler.java | Class | Represents a compiler for a specific type of element. |
ElementWithLocationInfo.java | Class | A subclass of JDOM Element which can store info about the
location in the XML source file that this it parsed from. |
FileResolver.java | Interface | Provides an interface for resolving a pathname to a File. |
FontCompiler.java | Class | Compiler for font elements. |
FontFamily.java | Class | |
FontInfo.java | Class | Font information used for measuring text. |
FontManager.java | Class | |
ImportCompiler.java | Class | Compiler for import elements. |
InterfaceCompiler.java | Class | Compiler for interface elements. |
InvalidFontSpec.java | Class | Represents an exception when an attribute value for font/size/style cannot be understood. |
LibraryCompiler.java | Class | Compiler for library elements. |
LibraryWriter.java | Class | Accumulates code, XML, and assets to a Library object file. |
LineMetrics.java | Class | |
Main.java | Class | |
NodeModel.java | Class | Models a runtime LzNode. |
NullWriter.java | Class | This ObjectWriter is just for gathering compilation warnings from
the tag compiler. |
ObjectWriter.java | Class | Accumulates code, XML, and assets to an object file. |
Parser.java | Class | Parses and validates an XML file. |
ResourceCompiler.java | Class | Compiler for resource and audio elements. |
ScriptElementCompiler.java | Class | Compiler for script elements. |
SecurityCompiler.java | Class | Represents a compiler for a toplevel security element. |
SolutionMessages.java | Class | |
SourceLocator.java | Class | |
SourceLocatorSAXOutputter.java | Class | Generate SAX events from a Laszlo Parser JDOM tree, with filename
and linenumber info updated from the ElementWithLocationInfo
elements.
This does the bare minimum needed to feed the RELAXNG
validator. |
SplashCompiler.java | Class | Compiler for preloader elements. |
StyleSheetCompiler.java | Class | Compiler for stylesheet elements. |
SWFFile.java | Class | Extension of JGenerator FlashFile api used to
constructs the Base SWF Library for an LZX output SWF. |
SWFWriter.java | Class | Accumulates code, XML, and assets to a SWF object file. |
SymbolGenerator.java | Class | A unique name supply. |
TextCompiler.java | Class | Utility functions for measuring HTML content, and translating it into Flash strings. |
TextCompiler_Test.java | Class | |
ToplevelCompiler.java | Class | Compiler for canvas and library elements. |
UnknownAttributeException.java | Class | Represents an exception when an attribute with unknown type is encountered. |
ViewCompiler.java | Class | Responsible for compiling elements that compile into instances of
LzNode. |
ViewSchema.java | Class | A schema that describes a Laszlo XML file. |
ViewSchema_Test.java | Class | |