Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.jet.core.parser.ast
Class JavaElement

java.lang.Object
  extended by 

org.eclipse.jet.core.parser.ast.JETASTElement
      extended by 

org.eclipse.jet.core.parser.ast.BodyElement
          extended by 
org.eclipse.jet.core.parser.ast.JavaElement
Direct Known Subclasses:
JavaDeclaration, JavaExpression, JavaScriptlet

public abstract class JavaElement
extends BodyElement

Abstract representation of JET AST elements that contain Java code

This class is not intended to be subclassed by clients


Method Summary
 java.lang.String getJavaContent ()
          Return the Java content of the element
 int getJavaEnd ()
          The document relative offset of the first character after the Java code.
 int getJavaStart ()
          The document relative offset of the Java code within the element.
 
Methods inherited from class org.eclipse.jet.core.parser.ast. JETASTElement
accept, accept0, getAst, getColumn, getEnd, getLine, getNextElement, getParent, getPrevElement, getStart, removeLineWhenOtherwiseEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJavaStart

public final int getJavaStart()
The document relative offset of the Java code within the element.

Returns:
the start offset

getJavaEnd

public final int getJavaEnd()
The document relative offset of the first character after the Java code.

Returns:
the end offset

getJavaContent

public java.lang.String getJavaContent()
Return the Java content of the element

Returns:
the Java content

Copyright 2006 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire