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

Part Number E41849-02

com.bea.util.jam
Interface JSourcePosition


public interface JSourcePosition

Describes a specific point in a source file.


Method Summary
 int getColumn()
          Returns the text column number for this source position, or -1 if it is not known.
 int getLine()
          Returns the text line number for this source position, or -1 if it is not known.
 int getOffset()
          Returns the character offset for this source position relative to the start of the file, or -1 if it is not known.
 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.


Copyright 1996, 2014, 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.1.3)

Part Number E41849-02