Java Doc for DOMCompilationUnit.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » internal » core » jdom » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdt.internal.core.jdom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdt.internal.core.jdom.DOMNode
      org.eclipse.jdt.internal.core.jdom.DOMCompilationUnit

DOMCompilationUnit
class DOMCompilationUnit extends DOMNode implements IDOMCompilationUnit,SuffixConstants(Code)
DOMCompilation unit provides an implementation of IDOMCompilationUnit.
See Also:   IDOMCompilationUnit
See Also:   DOMNode


Field Summary
protected  StringfHeader
     The comment and/or whitespace preceding the first document fragment in this compilation unit.

Constructor Summary
 DOMCompilationUnit()
     Creates a new empty COMPILATION_UNIT document fragment.
 DOMCompilationUnit(char[] document, int[] sourceRange)
     Creates a new COMPILATION_UNIT on the given range of the document.

Method Summary
protected  voidappendFragmentedContents(CharArrayBuffer buffer)
    
public  booleancanHaveChildren()
    
public  StringgetHeader()
    
public  IJavaElementgetJavaElement(IJavaElement parent)
    
public  StringgetName()
    
public  intgetNodeType()
    
protected  voidinitalizeHeader()
    
public  booleanisAllowableChild(IDOMNode node)
    
protected  DOMNodenewDOMNode()
    
 voidnormalize(ILineStartFinder finder)
    
public  voidsetHeader(String comment)
    
public  voidsetName(String name)
    
protected  voidshareContents(DOMNode node)
    
public  StringtoString()
    

Field Detail
fHeader
protected String fHeader(Code)
The comment and/or whitespace preceding the first document fragment in this compilation unit.




Constructor Detail
DOMCompilationUnit
DOMCompilationUnit()(Code)
Creates a new empty COMPILATION_UNIT document fragment.



DOMCompilationUnit
DOMCompilationUnit(char[] document, int[] sourceRange)(Code)
Creates a new COMPILATION_UNIT on the given range of the document.
Parameters:
  document - - the document containing this node's original contents
Parameters:
  sourceRange - - a two element array of integers describing theentire inclusive source range of this node within its document.A compilation unit's source range is the entire document - the first integer is zero, and the second integer is the positionof the last character in the document.




Method Detail
appendFragmentedContents
protected void appendFragmentedContents(CharArrayBuffer buffer)(Code)

See Also:   DOMNode.appendContents(CharArrayBuffer)



canHaveChildren
public boolean canHaveChildren()(Code)

See Also:   IDOMNode.canHaveChildren



getHeader
public String getHeader()(Code)

See Also:   IDOMCompilationUnit.getHeader



getJavaElement
public IJavaElement getJavaElement(IJavaElement parent) throws IllegalArgumentException(Code)

See Also:   IDOMNode.getJavaElement



getName
public String getName()(Code)

See Also:   IDOMCompilationUnit.getName



getNodeType
public int getNodeType()(Code)

See Also:   IDOMNode.getNodeType



initalizeHeader
protected void initalizeHeader()(Code)
Sets the header



isAllowableChild
public boolean isAllowableChild(IDOMNode node)(Code)

See Also:   IDOMNode.isAllowableChild(IDOMNode)



newDOMNode
protected DOMNode newDOMNode()(Code)

See Also:   DOMNode



normalize
void normalize(ILineStartFinder finder)(Code)
Normalizes this DOMNode's source positions to include whitespace preceeding the node on the line on which the node starts, and all whitespace after the node up to the next node's start



setHeader
public void setHeader(String comment)(Code)

See Also:   IDOMCompilationUnit.setHeader(String)



setName
public void setName(String name)(Code)

See Also:   IDOMCompilationUnit.setName(String)



shareContents
protected void shareContents(DOMNode node)(Code)

See Also:   DOMNode.shareContents(DOMNode)



toString
public String toString()(Code)

See Also:   IDOMNode.toString



Fields inherited from org.eclipse.jdt.internal.core.jdom.DOMNode
final protected static int MASK_DETAILED_SOURCE_INDEXES(Code)(Java Doc)
final protected static int MASK_FIELD_HAS_INITIALIZER(Code)(Java Doc)
final protected static int MASK_FIELD_IS_VARIABLE_DECLARATOR(Code)(Java Doc)
final protected static int MASK_FIELD_TYPE_ALTERED(Code)(Java Doc)
final protected static int MASK_HAS_BODY(Code)(Java Doc)
final protected static int MASK_HAS_COMMENT(Code)(Java Doc)
final protected static int MASK_IS_CONSTRUCTOR(Code)(Java Doc)
final protected static int MASK_NAME_ALTERED(Code)(Java Doc)
final protected static int MASK_RETURN_TYPE_ALTERED(Code)(Java Doc)
final protected static int MASK_TYPE_HAS_INTERFACES(Code)(Java Doc)
final protected static int MASK_TYPE_HAS_SUPERCLASS(Code)(Java Doc)
final protected static int MASK_TYPE_IS_CLASS(Code)(Java Doc)
protected char[] fDocument(Code)(Java Doc)
protected DOMNode fFirstChild(Code)(Java Doc)
protected int fInsertionPosition(Code)(Java Doc)
protected boolean fIsFragmented(Code)(Java Doc)
protected DOMNode fLastChild(Code)(Java Doc)
protected String fName(Code)(Java Doc)
protected int[] fNameRange(Code)(Java Doc)
protected DOMNode fNextNode(Code)(Java Doc)
protected DOMNode fParent(Code)(Java Doc)
protected DOMNode fPreviousNode(Code)(Java Doc)
protected int[] fSourceRange(Code)(Java Doc)
protected int fStateMask(Code)(Java Doc)

Methods inherited from org.eclipse.jdt.internal.core.jdom.DOMNode
public void addChild(IDOMNode child) throws IllegalArgumentException, DOMException(Code)(Java Doc)
protected void appendContents(CharArrayBuffer buffer)(Code)(Java Doc)
protected void appendContentsOfChildren(CharArrayBuffer buffer)(Code)(Java Doc)
abstract protected void appendFragmentedContents(CharArrayBuffer buffer)(Code)(Java Doc)
void basicAddChild(IDOMNode child) throws IllegalArgumentException, DOMException(Code)(Java Doc)
protected void becomeDetailed() throws DOMException(Code)(Java Doc)
public boolean canHaveChildren()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
protected void fragment()(Code)(Java Doc)
public char[] getCharacters()(Code)(Java Doc)
public IDOMNode getChild(String name)(Code)(Java Doc)
public Enumeration getChildren()(Code)(Java Doc)
public String getContents()(Code)(Java Doc)
protected DOMNode getDetailedNode()(Code)(Java Doc)
protected char[] getDocument()(Code)(Java Doc)
public int getEndPosition()(Code)(Java Doc)
protected IDOMFactory getFactory()(Code)(Java Doc)
public IDOMNode getFirstChild()(Code)(Java Doc)
public int getInsertionPosition()(Code)(Java Doc)
protected boolean getMask(int mask)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
protected char[] getNameContents()(Code)(Java Doc)
public IDOMNode getNextNode()(Code)(Java Doc)
public IDOMNode getParent()(Code)(Java Doc)
protected int getParentEndDeclaration()(Code)(Java Doc)
public IDOMNode getPreviousNode()(Code)(Java Doc)
protected IDOMNode getRoot()(Code)(Java Doc)
public int getStartPosition()(Code)(Java Doc)
public void insertSibling(IDOMNode sibling) throws IllegalArgumentException, DOMException(Code)(Java Doc)
public boolean isAllowableChild(IDOMNode node)(Code)(Java Doc)
protected boolean isContentMergableWith(DOMNode node)(Code)(Java Doc)
protected boolean isDetailed()(Code)(Java Doc)
protected boolean isFragmented()(Code)(Java Doc)
protected boolean isNameAltered()(Code)(Java Doc)
public boolean isSignatureEqual(IDOMNode node)(Code)(Java Doc)
protected void localizeContents()(Code)(Java Doc)
abstract protected DOMNode newDOMNode()(Code)(Java Doc)
void normalize(ILineStartFinder finder)(Code)(Java Doc)
void normalizeEndPosition(ILineStartFinder finder, DOMNode next)(Code)(Java Doc)
void normalizeStartPosition(int previousEnd, ILineStartFinder finder)(Code)(Java Doc)
protected void offset(int offset)(Code)(Java Doc)
protected void offsetRange(int[] range, int offset)(Code)(Java Doc)
protected int[] rangeCopy(int[] range)(Code)(Java Doc)
public void remove()(Code)(Java Doc)
protected void setMask(int mask, boolean on)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
protected void setNameAltered(boolean altered)(Code)(Java Doc)
protected void setSourceRangeEnd(int end)(Code)(Java Doc)
protected void setStartPosition(int start)(Code)(Java Doc)
protected void shareContents(DOMNode node)(Code)(Java Doc)
abstract public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.