|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xsugar.stylesheet.Unit dk.brics.xsugar.stylesheet.Stylesheet
public class Stylesheet
Representation of XSugar stylesheet.
Constructor Summary | |
---|---|
Stylesheet(String xsg,
String xsg_file,
List<String> includes,
Map<String,String> xmlnss,
Map<String,dk.brics.automaton.Automaton> automata,
Set<String> max,
Map<String,List<UnifyingProduction>> unifying_productions,
String start)
Constructs a new stylesheet. |
Method Summary | |
---|---|
Map<String,dk.brics.automaton.Automaton> |
getAutomata()
Returns the automaton map from this stylesheet. |
List<String> |
getIncludes()
Returns the list of file inclusions. |
Set<String> |
getMax()
Returns the set of regexp names with max flag set. |
Map<String,String> |
getNamespaces()
Returns the namespace map of this stylesheet. |
String |
getSource()
Returns the source contents of this stylesheet. |
String |
getSourceName()
Returns the source name of this stylesheet. |
String |
getStart()
Returns the start nonterminal name of this stylesheet. |
Map<String,List<UnifyingProduction>> |
getUnifyingProductions()
Returns the productions of this stylesheet. |
void |
visit(Visitor visitor)
Visits this node. |
Methods inherited from class dk.brics.xsugar.stylesheet.Unit |
---|
getLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Stylesheet(String xsg, String xsg_file, List<String> includes, Map<String,String> xmlnss, Map<String,dk.brics.automaton.Automaton> automata, Set<String> max, Map<String,List<UnifyingProduction>> unifying_productions, String start)
xsg
- XSugar stylesheetxsg_file
- name of XSugar stylesheetincludes
- file inclusionsxmlnss
- map from namespace prefixes to URIsautomata
- map from regexp names to automatamax
- regexps with max flag setunifying_productions
- map from nonterminals to lists of productionsstart
- start nonterminal nameMethod Detail |
---|
public Map<String,dk.brics.automaton.Automaton> getAutomata()
public List<String> getIncludes()
public Set<String> getMax()
public Map<String,String> getNamespaces()
public String getSource()
public String getSourceName()
public String getStart()
public Map<String,List<UnifyingProduction>> getUnifyingProductions()
public void visit(Visitor visitor)
visitor
- visitor
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |