public class Message5WH extends Object implements DoesRender, HasToStringStyle
| Modifier and Type | Field and Description |
|---|---|
protected int |
whereColumn
Where did it happen: column.
|
protected int |
whereLine
Where did it happen: line.
|
protected Object |
whereLocation
Where did it happen: location.
|
| Modifier and Type | Method and Description |
|---|---|
Message5WH |
changeType(E_MessageType type)
Changes the type of the message.
|
StrBuilder |
getHow()
Returns the How? part of the message.
|
Object |
getReporter()
Returns the reporter of the message
|
E_MessageType |
getType()
Returns the type of the message.
|
StrBuilder |
getWhat()
Returns the What? part of the message.
|
Object |
getWhen()
Returns the When? part of the message.
|
int |
getWhereColumn()
Returns the Where? column part of the message.
|
int |
getWhereLine()
Returns the Where? line part of the message.
|
Object |
getWhereLocation()
Returns the Where? location part of the message.
|
Object |
getWho()
Returns the Who? part of the message.
|
StrBuilder |
getWhy()
Returns the Why? part of the message.
|
String |
render() |
boolean |
setReporter(Object reporter)
Sets the reporter.
|
String |
toString()
Returns a string representation of the message for debugging purpose, but not the rendered output.
|
protected Object whereLocation
protected int whereLine
protected int whereColumn
public String render()
render in interface DoesRenderpublic boolean setReporter(Object reporter)
reporter - new reporterpublic StrBuilder getHow()
public Object getReporter()
public E_MessageType getType()
public StrBuilder getWhat()
public Object getWhen()
public Object getWhereLocation()
public int getWhereLine()
public int getWhereColumn()
public Object getWho()
public StrBuilder getWhy()
public Message5WH changeType(E_MessageType type)
type - new typeCopyright © 2010–2017. All rights reserved.