Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


com.bea.util.jam
Interface JSourcePosition


public interface JSourcePosition

Describes a specific point in a source file.


Method Summary
abstract  int getColumn()
          Returns the text column number for this source position, or -1 if it is not known.
abstract  int getLine()
          Returns the text line number for this source position, or -1 if it is not known.
abstract  int getOffset()
          Returns the character offset for this source position relative to the start of the file, or -1 if it is not known.
abstract  URI getSourceURI()
          Returns the URI of the source file, or null if it is not known.

 

Method Detail

getColumn

int getColumn()
Returns the text column number for this source position, or -1 if it is not known.

getLine

int getLine()
Returns the text line number for this source position, or -1 if it is not known.

getOffset

int getOffset()
Returns the character offset for this source position relative to the start of the file, or -1 if it is not known.

getSourceURI

URI getSourceURI()
Returns the URI of the source file, or null if it is not known.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09