Java Doc for CoreFactory.java in  » Code-Analyzer » Spoon » spoon » reflect » 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 » Spoon » spoon.reflect 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


spoon.reflect.CoreFactory

All known Subclasses:   spoon.support.DefaultCoreFactory,
CoreFactory
public interface CoreFactory (Code)
This interface defines the core creation methods for the meta-model (to be implemented so that Spoon can manipulate other meta-model implementations).

Important: a required post-condition for all the created elements is that the factory (see spoon.processing.FactoryAccessor.getFactory ) is correctly initialized with the main factory returned by CoreFactory.getMainFactory() , which cannot be null.





Method Summary
 Tclone(T element)
     Recursively clones a given element of the metamodel and all its child elements.
 CtAnnotation<A>createAnnotation()
     Creates an annotation.
 CtAnnotationType<T>createAnnotationType()
     Creates an annotation type.
 CtAnonymousExecutablecreateAnonymousExecutable()
     Creates an anonymous executable.
 CtArrayAccess<T, E>createArrayAccess()
     Creates an array access expression.
 CtArrayTypeReference<T>createArrayTypeReference()
     Creates an array type reference.
 CtAssert<T>createAssert()
     Creates an assert statement.
 CtAssignment<T, A>createAssignment()
     Creates an assignment expression.
 CtBinaryOperator<T>createBinaryOperator()
     Creates a binary operator.
 CtBlock<R>createBlock()
     Creates a block.
 CtBreakcreateBreak()
     Creates a break statement.
 CtCase<S>createCase()
     Creates a case clause.
 CtCatchcreateCatch()
     Creates a catch clause.
 CtClass<T>createClass()
     Creates a class.
 CtCodeSnippetExpression<T>createCodeSnippetExpression()
     Creates a code snippet expression.
 CtCodeSnippetStatementcreateCodeSnippetStatement()
     Creates a code snippet statement.
 CompilationUnitcreateCompilationUnit()
     Creates a compilation unit.
 CtConditional<T>createConditional()
     Creates a conditional expression (boolExpr?ifTrue:ifFalse).
 CtConstructor<T>createConstructor()
     Creates a constructor.
 CtContinuecreateContinue()
     Creates a continue statement.
 CtDocreateDo()
     Creates a do loop.
 CtEnum<T>createEnum()
     Creates an enum.
 CtExecutableReference<T>createExecutableReference()
     Creates an executable reference.
 CtField<T>createField()
     Creates a field.
 CtFieldAccess<T>createFieldAccess()
     Creates a field access expression.
 CtFieldReference<T>createFieldReference()
     Creates a field reference.
 CtForcreateFor()
     Creates a for loop.
 CtForEachcreateForEach()
     Creates a foreach loop.
 CtIfcreateIf()
     Creates an if statement.
 CtInterface<T>createInterface()
     Creates an interface.
 CtInvocation<T>createInvocation()
     Creates an invocation expression.
 CtLiteral<T>createLiteral()
     Creates a literal expression.
 CtLocalVariable<T>createLocalVariable()
     Creates a local variable declaration statement.
 CtLocalVariableReference<T>createLocalVariableReference()
     Creates a local variable reference.
 CtMethod<T>createMethod()
     Creates a method.
 CtNewArray<T>createNewArray()
     Creates a new array expression.
 CtNewClass<T>createNewClass()
     Creates a new anonymous class expression.
 CtOperatorAssignment<T, A>createOperatorAssignment()
     Creates a new operator assignement (like +=).
 CtPackagecreatePackage()
     Creates a package.
 CtPackageReferencecreatePackageReference()
     Creates a package reference.
 CtParameter<T>createParameter()
     Creates a parameter.
 CtParameterReference<T>createParameterReference()
     Creates a parameter reference.
 CtReturn<R>createReturn()
     Creates a return statement.
 SourcePositioncreateSourcePosition(CompilationUnit compilationUnit, int start, int end, int[] lineSeparatorPositions)
     Creates a source position.
 CtStatementList<R>createStatementList()
     Creates a statement list.
 CtSwitch<S>createSwitch()
     Creates a switch statement.
 CtSynchronizedcreateSynchronized()
     Creates a synchronized statement.
 CtThrowcreateThrow()
     Creates a throw statement.
 CtTrycreateTry()
     Creates a try block.
 CtTypeParametercreateTypeParameter()
     Creates a type parameter.
 CtTypeParameterReferencecreateTypeParameterReference()
     Creates a type parameter reference.
 CtTypeReference<T>createTypeReference()
     Creates a type reference.
 CtUnaryOperator<T>createUnaryOperator()
     Creates a unary operator expression.
 CtVariableAccess<T>createVariableAccess()
     Creates a variable access expression.
 CompilationUnitcreateVirtualCompilationUnit()
     Creates a virtual compilation unit.
 CtWhilecreateWhile()
     Creates a while loop.
 FactorygetMainFactory()
     Gets the main factory of that core factory (cannot be null).
 voidsetMainFactory(Factory mainFactory)
     Sets the main factory of that core factory.



Method Detail
clone
T clone(T element)(Code)
Recursively clones a given element of the metamodel and all its child elements. <
Parameters:
  T - >the element's type
Parameters:
  element - the element a clone of element



createAnnotation
CtAnnotation<A> createAnnotation()(Code)
Creates an annotation.



createAnnotationType
CtAnnotationType<T> createAnnotationType()(Code)
Creates an annotation type.



createAnonymousExecutable
CtAnonymousExecutable createAnonymousExecutable()(Code)
Creates an anonymous executable.



createArrayAccess
CtArrayAccess<T, E> createArrayAccess()(Code)
Creates an array access expression.



createArrayTypeReference
CtArrayTypeReference<T> createArrayTypeReference()(Code)
Creates an array type reference.



createAssert
CtAssert<T> createAssert()(Code)
Creates an assert statement.



createAssignment
CtAssignment<T, A> createAssignment()(Code)
Creates an assignment expression.



createBinaryOperator
CtBinaryOperator<T> createBinaryOperator()(Code)
Creates a binary operator.



createBlock
CtBlock<R> createBlock()(Code)
Creates a block.



createBreak
CtBreak createBreak()(Code)
Creates a break statement.



createCase
CtCase<S> createCase()(Code)
Creates a case clause.



createCatch
CtCatch createCatch()(Code)
Creates a catch clause.



createClass
CtClass<T> createClass()(Code)
Creates a class.



createCodeSnippetExpression
CtCodeSnippetExpression<T> createCodeSnippetExpression()(Code)
Creates a code snippet expression.



createCodeSnippetStatement
CtCodeSnippetStatement createCodeSnippetStatement()(Code)
Creates a code snippet statement.



createCompilationUnit
CompilationUnit createCompilationUnit()(Code)
Creates a compilation unit.



createConditional
CtConditional<T> createConditional()(Code)
Creates a conditional expression (boolExpr?ifTrue:ifFalse).



createConstructor
CtConstructor<T> createConstructor()(Code)
Creates a constructor.



createContinue
CtContinue createContinue()(Code)
Creates a continue statement.



createDo
CtDo createDo()(Code)
Creates a do loop.



createEnum
CtEnum<T> createEnum()(Code)
Creates an enum.



createExecutableReference
CtExecutableReference<T> createExecutableReference()(Code)
Creates an executable reference.



createField
CtField<T> createField()(Code)
Creates a field.



createFieldAccess
CtFieldAccess<T> createFieldAccess()(Code)
Creates a field access expression.



createFieldReference
CtFieldReference<T> createFieldReference()(Code)
Creates a field reference.



createFor
CtFor createFor()(Code)
Creates a for loop.



createForEach
CtForEach createForEach()(Code)
Creates a foreach loop.



createIf
CtIf createIf()(Code)
Creates an if statement.



createInterface
CtInterface<T> createInterface()(Code)
Creates an interface.



createInvocation
CtInvocation<T> createInvocation()(Code)
Creates an invocation expression.



createLiteral
CtLiteral<T> createLiteral()(Code)
Creates a literal expression.



createLocalVariable
CtLocalVariable<T> createLocalVariable()(Code)
Creates a local variable declaration statement.



createLocalVariableReference
CtLocalVariableReference<T> createLocalVariableReference()(Code)
Creates a local variable reference.



createMethod
CtMethod<T> createMethod()(Code)
Creates a method.



createNewArray
CtNewArray<T> createNewArray()(Code)
Creates a new array expression.



createNewClass
CtNewClass<T> createNewClass()(Code)
Creates a new anonymous class expression.



createOperatorAssignment
CtOperatorAssignment<T, A> createOperatorAssignment()(Code)
Creates a new operator assignement (like +=).



createPackage
CtPackage createPackage()(Code)
Creates a package.



createPackageReference
CtPackageReference createPackageReference()(Code)
Creates a package reference.



createParameter
CtParameter<T> createParameter()(Code)
Creates a parameter.



createParameterReference
CtParameterReference<T> createParameterReference()(Code)
Creates a parameter reference.



createReturn
CtReturn<R> createReturn()(Code)
Creates a return statement.



createSourcePosition
SourcePosition createSourcePosition(CompilationUnit compilationUnit, int start, int end, int[] lineSeparatorPositions)(Code)
Creates a source position.



createStatementList
CtStatementList<R> createStatementList()(Code)
Creates a statement list.



createSwitch
CtSwitch<S> createSwitch()(Code)
Creates a switch statement.



createSynchronized
CtSynchronized createSynchronized()(Code)
Creates a synchronized statement.



createThrow
CtThrow createThrow()(Code)
Creates a throw statement.



createTry
CtTry createTry()(Code)
Creates a try block.



createTypeParameter
CtTypeParameter createTypeParameter()(Code)
Creates a type parameter.



createTypeParameterReference
CtTypeParameterReference createTypeParameterReference()(Code)
Creates a type parameter reference.



createTypeReference
CtTypeReference<T> createTypeReference()(Code)
Creates a type reference.



createUnaryOperator
CtUnaryOperator<T> createUnaryOperator()(Code)
Creates a unary operator expression.



createVariableAccess
CtVariableAccess<T> createVariableAccess()(Code)
Creates a variable access expression.



createVirtualCompilationUnit
CompilationUnit createVirtualCompilationUnit()(Code)
Creates a virtual compilation unit.



createWhile
CtWhile createWhile()(Code)
Creates a while loop.



getMainFactory
Factory getMainFactory()(Code)
Gets the main factory of that core factory (cannot be null).



setMainFactory
void setMainFactory(Factory mainFactory)(Code)
Sets the main factory of that core factory.



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