All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.parser.Frame
java.lang.Object
|
+----org.w3c.css.parser.Frame
- public class Frame
- extends Object
-
Frame(CssFouffa, String)
- Create a new Frame.
-
Frame(CssFouffa, String, int)
- Create a new Frame with a line number.
-
addError(CssError)
- Adds an error to this frame.
-
addWarning(String)
- Adds a warning to this frame.
-
addWarning(String, String)
- Adds a warning to this frame with a message.
-
getBeginLine()
- Get the begin line.
-
getErrors()
- Returns all errors.
-
getLine()
- Get the current line.
-
getSourceFile()
- Get the name of the source file.
-
getWarnings()
- Get all warnings.
-
join(Frame)
- Merge two frames.
Frame
public Frame(CssFouffa cssFouffa,
String sourceFile)
- Create a new Frame.
- Parameters:
- cssFouffa - The current parser.
- sourceFile - The name of the source file.
Frame
public Frame(CssFouffa cssFouffa,
String sourceFile,
int beginLine)
- Create a new Frame with a line number.
- Parameters:
- cssFouffa - The current parser.
- sourceFile - The name of the source file.
- beginLine - The begin line
addError
public void addError(CssError error)
- Adds an error to this frame.
- Parameters:
- error - The new error.
getErrors
public Errors getErrors()
- Returns all errors.
addWarning
public void addWarning(String warningMessage)
- Adds a warning to this frame.
- Parameters:
- warningMessage - the warning message
(see org.w3c.css.util.Messages.properties).
- See Also:
- Warning
addWarning
public void addWarning(String warningMessage,
String message)
- Adds a warning to this frame with a message.
- Parameters:
- warningMessage - the warning message
(see org.w3c.css.util.Messages.properties).
- message - An add-on message.
- See Also:
- Warning
getWarnings
public Warnings getWarnings()
- Get all warnings.
getSourceFile
public String getSourceFile()
- Get the name of the source file.
getBeginLine
public int getBeginLine()
- Get the begin line.
getLine
public int getLine()
- Get the current line.
join
public void join(Frame frame)
- Merge two frames.
- Parameters:
- frame - The other frame for merging.
All Packages Class Hierarchy This Package Previous Next Index