org.eclipse.emf.codegen.merge.java.facade.jdom
Class JDOMJCompilationUnit

java.lang.Object
  extended byorg.eclipse.emf.codegen.merge.java.facade.AbstractJNode
      extended byorg.eclipse.emf.codegen.merge.java.facade.jdom.JDOMJNode
          extended byorg.eclipse.emf.codegen.merge.java.facade.jdom.JDOMJCompilationUnit
All Implemented Interfaces:
JCompilationUnit, JNode

public class JDOMJCompilationUnit
extends JDOMJNode
implements JCompilationUnit

Since:
2.2.0

Field Summary
 
Fields inherited from class org.eclipse.emf.codegen.merge.java.facade.AbstractJNode
EMPTY_STRING_ARRAY, facadeHelper, qualifiedName, wrappedObject
 
Constructor Summary
JDOMJCompilationUnit(org.eclipse.jdt.core.jdom.IDOMCompilationUnit compilationUnit)
           
 
Method Summary
 String getHeader()
          Returns the header comment for this compilation unit.
protected  org.eclipse.jdt.core.jdom.IDOMCompilationUnit getIDOMCompilationUnit()
           
 
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.jdom.JDOMJNode
getChildren, getContents, getFlags, getIDOMNode, getName, getParent, setFlags
 
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.AbstractJNode
computeQualifiedName, computeQualifiedName, computeQualifiedName, dispose, getFacadeHelper, getName, getQualifiedName, getWrappedObject, setFacadeHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.codegen.merge.java.facade.JNode
getChildren, getContents, getFlags, getName, getParent, getQualifiedName, setFlags
 

Constructor Detail

JDOMJCompilationUnit

public JDOMJCompilationUnit(org.eclipse.jdt.core.jdom.IDOMCompilationUnit compilationUnit)
Method Detail

getIDOMCompilationUnit

protected org.eclipse.jdt.core.jdom.IDOMCompilationUnit getIDOMCompilationUnit()

getHeader

public String getHeader()
Description copied from interface: JCompilationUnit
Returns the header comment for this compilation unit. The header comment appears before the first declaration in a compilation unit.

Specified by:
getHeader in interface JCompilationUnit
Returns:
the header comment for this compilation unit, or null if no header comment is present

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.