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
-
Warning(CssProperty, String, int)
- Create a new Warning with a property.
-
Warning(CssProperty, String, int, CssProperty)
- Create a new Warning with a property and insert an other property name
inside.
-
Warning(CssProperty, String, int, String, String)
- Create a new Warning with a property and insert two messages inside.
-
Warning(String, int, String, int)
- Create a new Warning.
-
Warning(String, int, String, int, String, String)
- Create a new Warning with message parameters.
-
dump()
- debug trace
-
getContext()
- Get the context.
-
getInternalOrder()
-
-
getLevel()
- Get the warning level.
-
getLine()
- Get the line number.
-
getSourceFile()
- Get the source file
-
getWarningMessage()
- Get the message.
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
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
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
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
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
getSourceFile
public String getSourceFile()
- Get the source file
getLine
public int getLine()
- Get the line number.
getWarningMessage
public String getWarningMessage()
- Get the message.
getLevel
public int getLevel()
- Get the warning level.
getContext
public CssSelectors getContext()
- Get the context.
getInternalOrder
public int getInternalOrder()
dump
public void dump()
- debug trace
All Packages Class Hierarchy This Package Previous Next Index