Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Location
Provides information on the location of an event. All the information provided by a Location is optional. For example an application may only report line numbers.
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()
Returns the public ID of the XML |
String |
getSystemId()
Returns the system ID of the XML |
Method Detail |
---|
int getLineNumber()
int getColumnNumber()
int getCharacterOffset()
String getPublicId()
String getSystemId()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the