|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zuss.impl.in.Parser
public class Parser
The ZUSS parser.
Constructor Summary | |
---|---|
Parser(java.io.Reader in,
Locator loc,
java.lang.String filename)
Parser. |
Method Summary | |
---|---|
java.lang.String |
getFilename()
Returns the name of the file being parsed. |
ZussDefinition |
parse()
Parses the ZUSS style sheet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parser(java.io.Reader in, Locator loc, java.lang.String filename)
loc
- the locator used to locate the resource included by @include.
It can't be null if @include is used.filename
- the ZUSS's filename. It is used only to display the
error message. Ignored if null.Method Detail |
---|
public java.lang.String getFilename()
public ZussDefinition parse() throws java.io.IOException
Notice that this method can be called only once.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |