dk.brics.xsugar
Class StylesheetBuilder

java.lang.Object
  extended by dk.brics.xsugar.StylesheetBuilder

public class StylesheetBuilder
extends Object

Converter from grammar AST to XSugar stylesheet.


Constructor Summary
StylesheetBuilder()
          Constructs a new converter.
 
Method Summary
 Stylesheet makeStylesheet(AST ast, String xsg, String xsg_file)
          Converts the given stylesheet in AST representation into XSugar representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StylesheetBuilder

public StylesheetBuilder()
Constructs a new converter.

Method Detail

makeStylesheet

public Stylesheet makeStylesheet(AST ast,
                                 String xsg,
                                 String xsg_file)
Converts the given stylesheet in AST representation into XSugar representation.

Parameters:
ast - AST
xsg - XSugar stylesheet
xsg_file - name of XSugar stylesheet
Returns:
XSugar stylesheet


Copyright © 2004-2007 Anders Møller & Claus Brabrand.