| java.lang.Object org.openlaszlo.compiler.ElementCompiler
All known Subclasses: org.openlaszlo.compiler.DataCompiler, org.openlaszlo.compiler.ResourceCompiler, org.openlaszlo.compiler.ViewCompiler, org.openlaszlo.compiler.SplashCompiler, org.openlaszlo.compiler.FontCompiler, org.openlaszlo.compiler.ToplevelCompiler, org.openlaszlo.compiler.SecurityCompiler, org.openlaszlo.compiler.ScriptElementCompiler,
ElementCompiler | abstract class ElementCompiler (Code) | | Represents a compiler for a specific type of element.
author: Oliver Steele |
VIEW_INSTANTIATION_FNAME | final protected static String VIEW_INSTANTIATION_FNAME(Code) | | The name of the ActionScript function that is called to queue
instantiation of a view template. The name of this function
must match the name of the function in the runtime support
library.
|
compile | abstract void compile(Element element) throws CompilationError(Code) | | Compiles this element within the compilation environment.
Parameters: element - |
requireIdentifierAttributeValue | public static String requireIdentifierAttributeValue(Element e, String aname)(Code) | | Returns an element's attribute value, as a String. Same as
Element.getAttributeValue, except guarantees not to return
null and guarantees not to return a non-identifier.
Parameters: e - an Element Parameters: aname - the attribute name a String |
resolveSrcReference | File resolveSrcReference(Element elt)(Code) | | Resolve the src attribute of elt to a file reference.
Relative pathnames are resolved relative to the source location
for elt.
|
|
|