|
Sun Message Library for SWIFT API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.swift.runtime.SwiftOtdLocation
public class SwiftOtdLocation
The OtdLocation information provides a cookie interface for location information about data inside an OTD. This may refer to a combination of input data location (e.g. byte offset or line/column indication), node instance location in its tree (symbolic or numeric path expression), original metadata references, and OTD context information (e.g. the OTD instance name). This interface is currently [2003-09-05] under development.
Constructor Summary | |
---|---|
SwiftOtdLocation(java.lang.String info)
|
Method Summary | |
---|---|
com.stc.otd.runtime.OtdLocation |
from()
Gives the enclosing location context, if any. |
java.lang.Object |
getProperty(java.lang.String name)
Gets a property by name. |
java.lang.String |
text()
Converts the information to a printable string, suitable for inclusion in a basic textual error message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwiftOtdLocation(java.lang.String info)
Method Detail |
---|
public java.lang.String text()
text
in interface com.stc.otd.runtime.OtdLocation
public com.stc.otd.runtime.OtdLocation from()
from
in interface com.stc.otd.runtime.OtdLocation
public java.lang.Object getProperty(java.lang.String name)
name
- the property name
|
Sun Message Library for SWIFT API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |