Java Doc for Class.java in  » Code-Analyzer » beautyJ » de » gulden » util » javasource » 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 » Code Analyzer » beautyJ » de.gulden.util.javasource 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.gulden.util.javasource.SourceObject
      de.gulden.util.javasource.SourceObjectDeclared
         de.gulden.util.javasource.SourceObjectDeclaredVisible
            de.gulden.util.javasource.Class

All known Subclasses:   de.gulden.util.javasource.ClassInner,
Class
public class Class extends SourceObjectDeclaredVisible implements PackageMember(Code)
Represents a Java class or interface declaration.
author:
   Jens Gulden
version:
   1.1


Field Summary
public  VectorinstanceInitializers
     Instance initializers.
protected  booleaninterfaceFlag
     Flag to indicate that this object represents an interface declaration.
protected  VectorinterfaceNames
     The interface names.
public  VectormyClassInner
     Inner classes.
public  VectormyImport
     Imported packages and classes.
public  VectormyMember
     Members (fields, constructors, methods).
transient  booleanpass2
     Flag to indicate whether parsing pass 2 has already started (avoid cyclic calls).
public  VectorstaticInitializers
     Static initializers.
protected  StringsuperclassName
     The superclass name.

Constructor Summary
public  Class()
     Creates a new instance of Class.

Method Summary
public  voidaddInstanceInitializer(Code c)
     Adds a instance initializer.
public  voidaddStaticInitializer(Code c)
     Adds a static initializer.
public  voidaddToPackage(Package p)
     Add this class to a package.
public  ElementbuildXML(Document d)
     Output this object as XML.
public  ClassInnerfindInnerClass(String name)
    
public  NamedIteratorgetAllMembers()
     Returns all member elements of this class.
public  NamedIteratorgetImports()
     Returns the imported packages and classes.
public  NamedIteratorgetInnerClasses()
     Returns all iner classes.
public  Code[]getInstanceInitializers()
     Returns the code of a instance class initializers.
public  EnumerationgetInterfaceNames()
     Returns all interface names which are implemented by this class.
public  NamedIteratorgetMembers(Class type, int modifiers)
     Returns all member elements of this class that match the specified type.
public  Code[]getStaticInitializers()
     Returns the code of a static class initializers.
public  StringgetSuperclassName()
     Returns the name of the class that gets extended by this class.
protected  StringgetXMLName()
     Returns the name of the XML tag representing this SourceObject.
 voidinitFromAST(Node rootnode)
     Initialize this object from parsed Java code.
 voidinitFromASTPass2()
     Pass 2.
public  voidinitFromXML(Element element)
     Initialize this object from XML.
public  booleanisInterface()
     Tests whether this Class object represents a Java interface (true), or is an ordinary class (false).
protected  booleanisPrimitive(String type)
     Tests whether a type name denotes a primitive type.
public  Stringqualify(String name)
     Fully qualifies a class identifier, taking into account the current package of this class and the import statements.
protected  StringqualifyInternal(String name)
     Fully qualifies a class identifier, taking into account the current package of this class and the import statements.
protected  voidregisterAtPackage(Package p)
    
public  voidsetInterface(boolean inter)
     Sets whether this Class object represents a Java interface (true), or is an ordinary class (false).
public  voidsetInterfaceNames(String[] names)
     Sets all interface names which are implemented by this class.
public  voidsetPackage(Package p)
     Sets the package for the class represented by this.
public  voidsetSuperclassName(String n)
     Sets the name of the class that gets extended by this class.

Field Detail
instanceInitializers
public Vector instanceInitializers(Code)
Instance initializers.



interfaceFlag
protected boolean interfaceFlag(Code)
Flag to indicate that this object represents an interface declaration.



interfaceNames
protected Vector interfaceNames(Code)
The interface names.



myClassInner
public Vector myClassInner(Code)
Inner classes.



myImport
public Vector myImport(Code)
Imported packages and classes.



myMember
public Vector myMember(Code)
Members (fields, constructors, methods).



pass2
transient boolean pass2(Code)
Flag to indicate whether parsing pass 2 has already started (avoid cyclic calls). Also directly accessed by SourceParser.



staticInitializers
public Vector staticInitializers(Code)
Static initializers.



superclassName
protected String superclassName(Code)
The superclass name.




Constructor Detail
Class
public Class()(Code)
Creates a new instance of Class.




Method Detail
addInstanceInitializer
public void addInstanceInitializer(Code c)(Code)
Adds a instance initializer.



addStaticInitializer
public void addStaticInitializer(Code c)(Code)
Adds a static initializer.



addToPackage
public void addToPackage(Package p)(Code)
Add this class to a package.



buildXML
public Element buildXML(Document d)(Code)
Output this object as XML. The XML tag.
See Also:   Class.initFromXML



findInnerClass
public ClassInner findInnerClass(String name)(Code)



getAllMembers
public NamedIterator getAllMembers()(Code)
Returns all member elements of this class. These are fields, constructors, methods and inner classes.



getImports
public NamedIterator getImports()(Code)
Returns the imported packages and classes.



getInnerClasses
public NamedIterator getInnerClasses()(Code)
Returns all iner classes.



getInstanceInitializers
public Code[] getInstanceInitializers()(Code)
Returns the code of a instance class initializers.



getInterfaceNames
public Enumeration getInterfaceNames()(Code)
Returns all interface names which are implemented by this class.



getMembers
public NamedIterator getMembers(Class type, int modifiers)(Code)
Returns all member elements of this class that match the specified type.



getStaticInitializers
public Code[] getStaticInitializers()(Code)
Returns the code of a static class initializers.



getSuperclassName
public String getSuperclassName()(Code)
Returns the name of the class that gets extended by this class. If the parsed class declaration did not contain an explicit 'extends'-clause, "java.lang.Object" is returned.



getXMLName
protected String getXMLName()(Code)
Returns the name of the XML tag representing this SourceObject.



initFromAST
void initFromAST(Node rootnode)(Code)
Initialize this object from parsed Java code.
Parameters:
  rootnode - The corresponding node in the abstract syntax tree (AST).



initFromASTPass2
void initFromASTPass2()(Code)
Pass 2.



initFromXML
public void initFromXML(Element element) throws IOException(Code)
Initialize this object from XML.
Parameters:
  element - The XML tag.
throws:
  IOException - if an i/o error occurs



isInterface
public boolean isInterface()(Code)
Tests whether this Class object represents a Java interface (true), or is an ordinary class (false).



isPrimitive
protected boolean isPrimitive(String type)(Code)
Tests whether a type name denotes a primitive type.



qualify
public String qualify(String name)(Code)
Fully qualifies a class identifier, taking into account the current package of this class and the import statements. The fully qualified class identifier.



qualifyInternal
protected String qualifyInternal(String name)(Code)
Fully qualifies a class identifier, taking into account the current package of this class and the import statements. The fully qualified class identifier.



registerAtPackage
protected void registerAtPackage(Package p)(Code)



setInterface
public void setInterface(boolean inter)(Code)
Sets whether this Class object represents a Java interface (true), or is an ordinary class (false).



setInterfaceNames
public void setInterfaceNames(String[] names)(Code)
Sets all interface names which are implemented by this class.



setPackage
public void setPackage(Package p)(Code)
Sets the package for the class represented by this.



setSuperclassName
public void setSuperclassName(String n)(Code)
Sets the name of the class that gets extended by this class.



Methods inherited from de.gulden.util.javasource.SourceObjectDeclaredVisible
public Element buildXML(Document d)(Code)(Java Doc)
void initFromAST(Node rootnode)(Code)(Java Doc)
public void initFromXML(Element element) throws IOException(Code)(Java Doc)

Fields inherited from de.gulden.util.javasource.SourceObjectDeclared
public Class declaringClass(Code)(Java Doc)
protected int modifier(Code)(Java Doc)
public Documentation myDocumentation(Code)(Java Doc)
protected String source(Code)(Java Doc)
protected int[] sourcePosition(Code)(Java Doc)

Methods inherited from de.gulden.util.javasource.SourceObjectDeclared
public Element buildXML(Document d)(Code)(Java Doc)
public Class getDeclaringClass()(Code)(Java Doc)
public Documentation getDocumentation()(Code)(Java Doc)
public int getModifier()(Code)(Java Doc)
public String getModifierString()(Code)(Java Doc)
public String getSignature()(Code)(Java Doc)
public String getSource()(Code)(Java Doc)
public int[] getSourcePosition()(Code)(Java Doc)
public String getSourcePositionString()(Code)(Java Doc)
void initFromAST(Node rootnode)(Code)(Java Doc)
public void initFromXML(Element element) throws IOException(Code)(Java Doc)
public void setDeclaringClass(Class c)(Code)(Java Doc)
public void setDocumentation(Documentation d)(Code)(Java Doc)
public void setModifier(int m)(Code)(Java Doc)
public void setSource(String source)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from de.gulden.util.javasource.SourceObject
public Package myPackage(Code)(Java Doc)
protected String name(Code)(Java Doc)
public static String nl(Code)(Java Doc)

Methods inherited from de.gulden.util.javasource.SourceObject
public Element buildXML(Document d)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Package getPackage()(Code)(Java Doc)
public String getSignature()(Code)(Java Doc)
public String getUnqualifiedName()(Code)(Java Doc)
protected String getXMLName()(Code)(Java Doc)
void initFromAST(Node rootnode)(Code)(Java Doc)
public void initFromXML(Element element) throws IOException(Code)(Java Doc)
public void setName(String n)(Code)(Java Doc)
static void stringsIntoVector(Object[] s, Vector v)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
static String unqualify(String n)(Code)(Java Doc)
static String unqualify(String n, int withParents)(Code)(Java Doc)
static void write(OutputStream out, String s) throws IOException(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.