Qizx/open API

net.axyana.qizxopen.xquery
Class XQSrcPoint

java.lang.Object
  extended bynet.axyana.qizxopen.xquery.XQSrcPoint
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
XQEvalException.StackFrame, XQMessage

public abstract class XQSrcPoint
extends java.lang.Object
implements java.io.Serializable

Location in a source module or query.

See Also:
Serialized Form

Constructor Summary
XQSrcPoint()
           
 
Method Summary
 int getColumnNumber()
          Returns the pertaining column number in source line (starts from 0).
 int getLineNumber()
          Returns the pertaining line number (starts from 1).
 java.lang.String getModuleURI()
          Returns the resolved URI of the module (null for a main query).
 int getOffset()
          Returns the pertaining character offset (starts from 0).
 java.lang.String getSourceLine()
          Returns the pertaining XQuery source line.
 void setLocation(net.axyana.qizxopen.xquery.impl.Module module, int offset)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XQSrcPoint

public XQSrcPoint()
Method Detail

getModuleURI

public java.lang.String getModuleURI()
Returns the resolved URI of the module (null for a main query).


getOffset

public int getOffset()
Returns the pertaining character offset (starts from 0).


getLineNumber

public int getLineNumber()
Returns the pertaining line number (starts from 1).


getColumnNumber

public int getColumnNumber()
Returns the pertaining column number in source line (starts from 0).


getSourceLine

public java.lang.String getSourceLine()
Returns the pertaining XQuery source line.


setLocation

public void setLocation(net.axyana.qizxopen.xquery.impl.Module module,
                        int offset)

toString

public java.lang.String toString()

© 2005 Axyana Software