|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeldriven.fuml.xmi.stream.StreamLocation
public class StreamLocation
Stream location data necessary only because Sun's StAX implementation "loses" location data immediately after it is allocated. This class us used to copy location data and associate it with the concerned start-element.
| Constructor Summary | |
|---|---|
StreamLocation(Location location)
|
|
| Method Summary | |
|---|---|
int |
getCharacterOffset()
Return the byte or character offset into the input source this location is pointing to. |
int |
getColumnNumber()
Return the column number where the current event ends, returns -1 if none is available. |
int |
getLineNumber()
Return the line number where the current event ends, returns -1 if none is available. |
String |
getPublicId()
|
String |
getSystemId()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamLocation(Location location)
| Method Detail |
|---|
public int getCharacterOffset()
getCharacterOffset in interface Locationpublic int getColumnNumber()
getColumnNumber in interface Locationpublic int getLineNumber()
getLineNumber in interface Locationpublic String getPublicId()
getPublicId in interface Locationpublic String getSystemId()
getSystemId in interface Location
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||