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

Constructor Index

 o Frame(CssFouffa, String)
Create a new Frame.
 o Frame(CssFouffa, String, int)
Create a new Frame with a line number.

Method Index

 o addError(CssError)
Adds an error to this frame.
 o addWarning(String)
Adds a warning to this frame.
 o addWarning(String, String)
Adds a warning to this frame with a message.
 o getBeginLine()
Get the begin line.
 o getErrors()
Returns all errors.
 o getLine()
Get the current line.
 o getSourceFile()
Get the name of the source file.
 o getWarnings()
Get all warnings.
 o join(Frame)
Merge two frames.

Constructors

 o Frame
 public Frame(CssFouffa cssFouffa,
              String sourceFile)
Create a new Frame.

Parameters:
cssFouffa - The current parser.
sourceFile - The name of the source file.
 o 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

Methods

 o addError
 public void addError(CssError error)
Adds an error to this frame.

Parameters:
error - The new error.
 o getErrors
 public Errors getErrors()
Returns all errors.

 o 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
 o 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
 o getWarnings
 public Warnings getWarnings()
Get all warnings.

 o getSourceFile
 public String getSourceFile()
Get the name of the source file.

 o getBeginLine
 public int getBeginLine()
Get the begin line.

 o getLine
 public int getLine()
Get the current line.

 o 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