Java Doc for ASTImportDeclaration.java in  » UML » jrefactory » net » sourceforge » jrefactory » ast » 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 » UML » jrefactory » net.sourceforge.jrefactory.ast 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.jrefactory.ast.SimpleNode
      net.sourceforge.jrefactory.ast.ASTImportDeclaration

ASTImportDeclaration
public class ASTImportDeclaration extends SimpleNode (Code)
Stores an import declaration that appears at the beginning of a java file.
author:
   Mike Atkinson
since:
   jRefactory 2.9.0, created October 16, 2003



Constructor Summary
public  ASTImportDeclaration(int identifier)
     Constructor for the ASTImportDeclaration node.
public  ASTImportDeclaration(JavaParser parser, int identifier)
     Constructor for the ASTImportDeclaration node.

Method Summary
public  ASTNamegetImportedNameNode()
     Gets the importedNameNode attribute of the ASTImportDeclaration node.
public  booleanisImportOnDemand()
     Gets the importOnDemand attribute of the ASTImportDeclaration node.
public  booleanisImportingPackage()
    
public  booleanisStaticImport()
     Return whether we are importing a the static from this package.
public  ObjectjjtAccept(JavaParserVisitor visitor, Object data)
     Accept the visitor.
Parameters:
  visitor - An implementation of JavaParserVisitor that processes the ASTImportDeclaration node.
Parameters:
  data - Some data being passed between the visitor methods.
public  voidsetImportPackage(boolean way)
    
public  voidsetStaticImport(boolean isStatic)
     Set when including everything in a package.


Constructor Detail
ASTImportDeclaration
public ASTImportDeclaration(int identifier)(Code)
Constructor for the ASTImportDeclaration node.
Parameters:
  identifier - The id of this node (JJTIMPORTDECLARATION).



ASTImportDeclaration
public ASTImportDeclaration(JavaParser parser, int identifier)(Code)
Constructor for the ASTImportDeclaration node.
Parameters:
  parser - The JavaParser that created this ASTImportDeclaration node.
Parameters:
  identifier - The id of this node (JJTIMPORTDECLARATION).




Method Detail
getImportedNameNode
public ASTName getImportedNameNode()(Code)
Gets the importedNameNode attribute of the ASTImportDeclaration node. The name of the class or package being imported.



isImportOnDemand
public boolean isImportOnDemand()(Code)
Gets the importOnDemand attribute of the ASTImportDeclaration node. true if the whole package was imported (with ".*;").



isImportingPackage
public boolean isImportingPackage()(Code)
Return whether we are importing a package true if the whole package is being imported (with ".*;").



isStaticImport
public boolean isStaticImport()(Code)
Return whether we are importing a the static from this package. JDK 1.5 true if we are importing statics from the package
since:
   JRefactory 2.7.00



jjtAccept
public Object jjtAccept(JavaParserVisitor visitor, Object data)(Code)
Accept the visitor.
Parameters:
  visitor - An implementation of JavaParserVisitor that processes the ASTImportDeclaration node.
Parameters:
  data - Some data being passed between the visitor methods. Usually the data parameter (possibly modified).



setImportPackage
public void setImportPackage(boolean way)(Code)
Set when including everything in a package
Parameters:
  way - true if we are importing the package.



setStaticImport
public void setStaticImport(boolean isStatic)(Code)
Set when including everything in a package. JDK 1.5 indicate that this is a static import.
Parameters:
  isStatic - true if we are importing statics from the package
since:
   JRefactory 2.7.00



Fields inherited from net.sourceforge.jrefactory.ast.SimpleNode
protected Node[] children(Code)(Java Doc)
protected int id(Code)(Java Doc)
protected Node parent(Code)(Java Doc)
protected JavaParser parser(Code)(Java Doc)
public Vector specials(Code)(Java Doc)

Methods inherited from net.sourceforge.jrefactory.ast.SimpleNode
public void addSpecial(String key, Token value)(Code)(Java Doc)
public Object childrenAccept(JavaParserVisitor visitor, Object data)(Code)(Java Doc)
public void dump(String prefix)(Code)(Java Doc)
public String dumpString(String prefix)(Code)(Java Doc)
public List findChildrenOfType(Class targetType)(Code)(Java Doc)
public void findChildrenOfType(Class targetType, List results)(Code)(Java Doc)
public void findChildrenOfType(Class targetType, List results, boolean descendIntoNestedClasses)(Code)(Java Doc)
public int getBeginColumn()(Code)(Java Doc)
public int getBeginLine()(Code)(Java Doc)
public int getEndColumn()(Code)(Java Doc)
public int getEndLine()(Code)(Java Doc)
public String getImage()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Scope getScope()(Code)(Java Doc)
public Token getSpecial(String key)(Code)(Java Doc)
public boolean hasAnyChildren()(Code)(Java Doc)
protected void init()(Code)(Java Doc)
public boolean isRequired()(Code)(Java Doc)
public Object jjtAccept(JavaParserVisitor visitor, Object data)(Code)(Java Doc)
public void jjtAddChild(Node n, int i)(Code)(Java Doc)
public void jjtAddFirstChild(Node n)(Code)(Java Doc)
public void jjtClose()(Code)(Java Doc)
public void jjtDeleteChild(int i)(Code)(Java Doc)
public Node jjtGetChild(int i)(Code)(Java Doc)
public Node jjtGetFirstChild()(Code)(Java Doc)
public int jjtGetID()(Code)(Java Doc)
public int jjtGetNumChildren()(Code)(Java Doc)
public Node jjtGetParent()(Code)(Java Doc)
public void jjtInsertChild(Node n, int i)(Code)(Java Doc)
public void jjtOpen()(Code)(Java Doc)
public void jjtSetParent(Node n)(Code)(Java Doc)
protected String printModifiers()(Code)(Java Doc)
public void removeSpecial(String key)(Code)(Java Doc)
public void setLineAndColumnInfo(int beginLine, int beginColumn, int endLine, int endColumn)(Code)(Java Doc)
public void setScope(Scope scope)(Code)(Java Doc)
public void testingOnly__setBeginColumn(int i)(Code)(Java Doc)
public void testingOnly__setBeginLine(int i)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toString(String prefix)(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.