|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormattingHelper
A FormattingHelper provides string contributions to problem messages endeavouring to be as helpful as possible even when faced with malformed or null objects.
Method Summary | |
---|---|
String |
formatClass(Object object)
Return the Java class name of object. e.g. |
String |
formatEClassName(EObject eObject)
Return the Ecore class name of object. e.g. |
String |
formatName(Object object)
Return the name of object. e.g. |
String |
formatPath(List<String> pathName)
Return a hierarchical path name. e.g. |
String |
formatPath(List<String> pathName,
String name)
Return a hierarchically named name. e.g. |
String |
formatQualifiedName(Object object)
Return the qualified name of an object. e.g. |
String |
formatString(String string)
Return the string. e.g. |
String |
formatType(Object type)
Return the type of object. e.g. |
Method Detail |
---|
String formatClass(Object object)
object
- to be formatted
String formatEClassName(EObject eObject)
object
- to be formatted
String formatName(Object object)
object
- to be formatted
String formatQualifiedName(Object object)
object
- to be formatted
String formatPath(List<String> pathName)
pathName
- to be formatted
String formatPath(List<String> pathName, String name)
pathName
- to be formattedname
- to be suffixed
String formatString(String string)
string
- to be formatted
String formatType(Object type)
object
- to be formatted
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |