Translate an XSLT stylesheet to a Kawa Expression tree.
append
public Consumer append(String str)
endAttribute
public void endAttribute()
End of an attribute or end of an actual parameter.
The former use matches a startAttribute; the latter may not,
and can be used to separate parameters in a parameter list.
This double duty suggsts the method should at least be re-named.
- endAttribute in interface Consumer
error
public void error(char kind,
String message)
- error in interface Lexer
ignoring
public boolean ignoring()
True if consumer is ignoring rest of element.
The producer can use this information to skip ahead.
- ignoring in interface Consumer
isXslTag
public static String isXslTag(Object type)
parse
public void parse(Compilation comp)
throws java.io.IOException
popMatchingAttribute
public String popMatchingAttribute(String ns,
String name,
int start)
startAttribute
public void startAttribute(Object attrType)
Write a attribute for the current element.
This is only allowed immediately after a startElement.
- startAttribute in interface Consumer
startDocument
public void startDocument(ModuleExp mexp)
write
public void write(CharSequence str,
int start,
int length)
- write in interface Consumer
write
public void write(char[] buf,
int off,
int len)
- write in interface Consumer