nu.validator.messages.types
Class MessageType

java.lang.Object
  extended by nu.validator.messages.types.MessageType
Direct Known Subclasses:
Error, Info, NonDocumentError

public abstract class MessageType
extends Object


Field Summary
static MessageType ERROR
           
static MessageType FATAL
           
private  String flatType
           
static MessageType INFO
           
static MessageType INTERNAL
           
static MessageType IO
           
static MessageType NON_DOCUMENT
           
static MessageType SCHEMA
           
static MessageType WARNING
           
 
Constructor Summary
MessageType()
           
 
Method Summary
 String getFlatType()
          Returns the flatType.
abstract  char[] getPresentationName()
           
 String getSubType()
           
abstract  String getSuperType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR

public static final MessageType ERROR

FATAL

public static final MessageType FATAL

INFO

public static final MessageType INFO

INTERNAL

public static final MessageType INTERNAL

IO

public static final MessageType IO

NON_DOCUMENT

public static final MessageType NON_DOCUMENT

SCHEMA

public static final MessageType SCHEMA

WARNING

public static final MessageType WARNING

flatType

private final String flatType
Constructor Detail

MessageType

public MessageType()
Method Detail

getPresentationName

public abstract char[] getPresentationName()

getSuperType

public abstract String getSuperType()

getSubType

public String getSubType()

getFlatType

public String getFlatType()
Returns the flatType.

Returns:
the flatType