All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.css.util.Warning

java.lang.Object
   |
   +----org.w3c.css.util.Warning

public class Warning
extends Object
This class is use to manage all warning every where


Constructor Index

 o Warning(CssProperty, String, int)
Create a new Warning with a property.
 o Warning(CssProperty, String, int, CssProperty)
Create a new Warning with a property and insert an other property name inside.
 o Warning(CssProperty, String, int, String, String)
Create a new Warning with a property and insert two messages inside.
 o Warning(String, int, String, int)
Create a new Warning.
 o Warning(String, int, String, int, String, String)
Create a new Warning with message parameters.

Method Index

 o dump()
debug trace
 o getContext()
Get the context.
 o getInternalOrder()
 o getLevel()
Get the warning level.
 o getLine()
Get the line number.
 o getSourceFile()
Get the source file
 o getWarningMessage()
Get the message.

Constructors

 o Warning
 public Warning(String sourceFile,
                int line,
                String warningMessage,
                int level,
                String message1,
                String message2)
Create a new Warning with message parameters.

Parameters:
sourceFile - the source file
line - the line number in the source file
warningMessage - the warning message to find in the properties file
level - the warning level
message1 - the first message to add
message2 - the second message to add
See Also:
Messages
 o Warning
 public Warning(String sourceFile,
                int line,
                String warningMessage,
                int level)
Create a new Warning.

Parameters:
sourceFile - the source file
line - the line number in the source file
warningMessage - the warning message to find in the properties file
level - the warning level
See Also:
Messages
 o Warning
 public Warning(CssProperty property,
                String warningMessage,
                int level,
                String message1,
                String message2)
Create a new Warning with a property and insert two messages inside.

Parameters:
property - The property where the warning came
warningMessage - The warning message to find in the properties file
level - the warning level
message1 - the first message to add
message2 - the second message to add
See Also:
Messages
 o Warning
 public Warning(CssProperty property,
                String warningMessage,
                int level)
Create a new Warning with a property.

Be careful ! Be sure that all informations in your property is available.

Parameters:
property - The property where the warning came
warningMessage - The warning message to find in the properties file
level - the warning level
See Also:
Messages, setInfo
 o Warning
 public Warning(CssProperty property,
                String warningMessage,
                int level,
                CssProperty property2)
Create a new Warning with a property and insert an other property name inside.

Parameters:
property - The property where the warning came
warningMessage - The warning message to find in the properties file
level - the warning level
property2 - The property in conflicts with the first
See Also:
Messages

Methods

 o getSourceFile
 public String getSourceFile()
Get the source file

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

 o getWarningMessage
 public String getWarningMessage()
Get the message.

 o getLevel
 public int getLevel()
Get the warning level.

 o getContext
 public CssSelectors getContext()
Get the context.

 o getInternalOrder
 public int getInternalOrder()
 o dump
 public void dump()
debug trace


All Packages  Class Hierarchy  This Package  Previous  Next  Index