|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.parsers.CodeParser
net.sf.latexdraw.parsers.css.AbstractCSSParser
public abstract class AbstractCSSParser
Defines an abstract CSS parser that contains functions to help the CSS parsing.
This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
12/05/08
Field Summary |
---|
Fields inherited from class net.sf.latexdraw.parsers.CodeParser |
---|
codeCore, EOC |
Constructor Summary | |
---|---|
AbstractCSSParser(java.lang.String code)
Creates and initialises the CSS parser. |
Method Summary | |
---|---|
boolean |
isComment()
|
boolean |
isWSP()
|
java.lang.String |
skipComment()
Skips the comment. |
void |
skipWSP()
Skips the useless characters. |
Methods inherited from class net.sf.latexdraw.parsers.CodeParser |
---|
getChar, getCharAt, getCode, getCodeCore, getLinePosition, getPosition, incLinePosition, initialise, isEOC, isEOL, nextChar, setCode, setCodeCore, setLinePosition, setPosition, skipWSPComments |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.latexdraw.parsers.Parser |
---|
parse |
Constructor Detail |
---|
public AbstractCSSParser(java.lang.String code)
code
- The code to parse.
java.lang.IllegalArgumentException
- If the given code is null.Method Detail |
---|
public boolean isComment()
isComment
in class CodeParser
public java.lang.String skipComment()
CodeParser
skipComment
in class CodeParser
public boolean isWSP()
isWSP
in class CodeParser
public void skipWSP()
CodeParser
skipWSP
in class CodeParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |