|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.canoo.webtest.steps.HtmlParserMessage.Type
public static final class HtmlParserMessage.Type
Safe enum to represent the type of a message.
| Field Summary | |
|---|---|
static HtmlParserMessage.Type |
ERROR
|
static String |
ERROR_NAME
|
static HtmlParserMessage.Type |
WARNING
|
static String |
WARNING_NAME
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares with following rule: error > warning (no need to override equals(): in this case it is equivalent to ==) |
String |
getName()
Gets the name of the type |
boolean |
isError()
|
boolean |
isWarning()
|
String |
toString()
Gets the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ERROR_NAME
public static final String WARNING_NAME
public static final HtmlParserMessage.Type ERROR
public static final HtmlParserMessage.Type WARNING
| Method Detail |
|---|
public int compareTo(Object o)
compareTo in interface ComparableClassCastException - if the argument is not a HtmlParserMessage.Typepublic String getName()
public boolean isError()
public boolean isWarning()
public String toString()
toString in class Object
|
Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||