Java Doc for BiAnalyser.java in » IDE-Netbeans » beans » org » netbeans » modules » beans » beaninfo » 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 Netbeans
»
beans
»
org.netbeans.modules.beans.beaninfo
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.netbeans.modules.beans.beaninfo
.BiAnalyser
BiAnalyser
final
public
class BiAnalyser
(Code)
Analyses the ClassElement trying to find source code patterns i.e. properties or event sets;
author:
Petr Hrebejk, Petr Suchomel
Field Summary
BeanInfoSource
bis
List
<
BiFeature.Descriptor
>
descriptor
List
<
BiFeature.EventSet
>
eventSets
List
<
BiFeature.IdxProperty
>
idxProperties
List
<
BiFeature.Method
>
methods
List
<
BiFeature.Property
>
properties
Constructor Summary
BiAnalyser
(
PatternAnalyser
pa, CompilationInfo javac)
Method Summary
static
String
getArgumentParameter
(
String
command)
public
int
getDefaultEventIndex
()
public
int
getDefaultPropertyIndex
()
List
<
BiFeature.Descriptor
>
getDescriptor
()
List
<
BiFeature.EventSet
>
getEventSets
()
public
String
getIconC16
()
public
String
getIconC32
()
public
String
getIconM16
()
public
String
getIconM32
()
List
<
BiFeature.IdxProperty
>
getIdxProperties
()
static
String
getInitializer
(
String
command)
List
<
BiFeature.Method
>
getMethods
()
static
String
[]
getParameters
(
String
command)
List
<
BiFeature.Property
>
getProperties
()
static boolean
hasSuperClass
(
List
<
String
> code)
static boolean
isLazy
(
List
<
String
> code,
String
name)
public
boolean
isLazyDescriptor
()
public
boolean
isLazyEventSets
()
public
boolean
isLazyMethods
()
public
boolean
isLazyProperties
()
public
boolean
isModified
()
boolean
isNullDescriptor
()
boolean
isNullEventSets
()
boolean
isNullMethods
()
boolean
isNullProperties
()
public
boolean
isOlderVersion
()
public
boolean
isSuperclassVersion
()
public
boolean
isUseSuperClass
()
Getter for property useSuperClass.
static
List
<
String
>
normalizeText
(
String
code)
"Normalizes" the JavaCode.
void
openSource
()
void
regenerateSource
()
void
regenerateSourceImpl
(
StyledDocument
doc)
static
String
removeQuotation
(
String
text)
public
void
setDefaultEventIndex
(int defaultEventIndex)
void
setDefaultIdxFromBeanInfo
(
List
<
String
> code)
public
void
setDefaultPropertyIndex
(int defaultPropertyIndex)
public
void
setIconC16
(
String
iconC16)
public
void
setIconC32
(
String
iconC32)
public
void
setIconM16
(
String
iconM16)
public
void
setIconM32
(
String
iconM32)
void
setIconsFromBeanInfo
(
List
<
String
> code)
public
void
setLazyDescriptor
(boolean lazyDescriptor)
public
void
setLazyEventSets
(boolean lazyEventSets)
public
void
setLazyMethods
(boolean lazyMethods)
public
void
setLazyProperties
(boolean lazyProperties)
void
setModified
()
void
setNullDescriptor
(boolean nullDescriptor)
void
setNullEventSets
(boolean nullEventSets)
void
setNullMethods
(boolean nullMethods)
void
setNullProperties
(boolean nullProperties)
boolean
setPropertiesFromBeanInfo
(
List
<? extends
BiFeature
> features,
List
<
String
> code,
String
name)
public
void
setUseSuperClass
(boolean useSuperClass)
Setter for property useSuperClass.
Field Detail
bis
BeanInfoSource
bis
(Code)
Object representing source code of associated BeanInfo
descriptor
List
<
BiFeature.Descriptor
> descriptor
(Code)
Holds Bean descriptor
eventSets
List
<
BiFeature.EventSet
> eventSets
(Code)
Holds all events sets
idxProperties
List
<
BiFeature.IdxProperty
> idxProperties
(Code)
Holds all indexed properties
methods
List
<
BiFeature.Method
> methods
(Code)
Holds all methods
properties
List
<
BiFeature.Property
> properties
(Code)
Holds all properties
Constructor Detail
BiAnalyser
BiAnalyser(
PatternAnalyser
pa, CompilationInfo javac) throws
GenerateBeanException
(Code)
Creates Bean Info analyser which contains all patterns from PatternAnalyser
Method Detail
getArgumentParameter
static
String
getArgumentParameter(
String
command)
(Code)
getDefaultEventIndex
public
int getDefaultEventIndex()
(Code)
getDefaultPropertyIndex
public
int getDefaultPropertyIndex()
(Code)
getDescriptor
List
<
BiFeature.Descriptor
> getDescriptor()
(Code)
getEventSets
List
<
BiFeature.EventSet
> getEventSets()
(Code)
getIconC16
public
String
getIconC16()
(Code)
getIconC32
public
String
getIconC32()
(Code)
getIconM16
public
String
getIconM16()
(Code)
getIconM32
public
String
getIconM32()
(Code)
getIdxProperties
List
<
BiFeature.IdxProperty
> getIdxProperties()
(Code)
getInitializer
static
String
getInitializer(
String
command)
(Code)
Gets the initializer
getMethods
List
<
BiFeature.Method
> getMethods()
(Code)
getParameters
static
String
[] getParameters(
String
command)
(Code)
getProperties
List
<
BiFeature.Property
> getProperties()
(Code)
hasSuperClass
static boolean hasSuperClass(
List
<
String
> code)
(Code)
isLazy
static boolean isLazy(
List
<
String
> code,
String
name)
(Code)
test if initializer is lazy
isLazyDescriptor
public
boolean isLazyDescriptor()
(Code)
isLazyEventSets
public
boolean isLazyEventSets()
(Code)
isLazyMethods
public
boolean isLazyMethods()
(Code)
isLazyProperties
public
boolean isLazyProperties()
(Code)
isModified
public
boolean isModified()
(Code)
isNullDescriptor
boolean isNullDescriptor()
(Code)
isNullEventSets
boolean isNullEventSets()
(Code)
isNullMethods
boolean isNullMethods()
(Code)
isNullProperties
boolean isNullProperties()
(Code)
isOlderVersion
public
boolean isOlderVersion()
(Code)
isSuperclassVersion
public
boolean isSuperclassVersion()
(Code)
isUseSuperClass
public
boolean isUseSuperClass()
(Code)
Getter for property useSuperClass. Value of property useSuperClass.
normalizeText
static
List
<
String
> normalizeText(
String
code)
(Code)
"Normalizes" the JavaCode. Removes all unneeded whitespaces. Makes strings from commands.
Parameters:
code - String containg the java source code Normalized code as collection of string.
openSource
void openSource()
(Code)
regenerateSource
void regenerateSource()
(Code)
regenerateSourceImpl
void regenerateSourceImpl(
StyledDocument
doc)
(Code)
removeQuotation
static
String
removeQuotation(
String
text)
(Code)
Removes Quotation marks
setDefaultEventIndex
public
void setDefaultEventIndex(int defaultEventIndex)
(Code)
setDefaultIdxFromBeanInfo
void setDefaultIdxFromBeanInfo(
List
<
String
> code)
(Code)
Analyze default section
setDefaultPropertyIndex
public
void setDefaultPropertyIndex(int defaultPropertyIndex)
(Code)
setIconC16
public
void setIconC16(
String
iconC16)
(Code)
setIconC32
public
void setIconC32(
String
iconC32)
(Code)
setIconM16
public
void setIconM16(
String
iconM16)
(Code)
setIconM32
public
void setIconM32(
String
iconM32)
(Code)
setIconsFromBeanInfo
void setIconsFromBeanInfo(
List
<
String
> code)
(Code)
Analyze icons properties from bean info
setLazyDescriptor
public
void setLazyDescriptor(boolean lazyDescriptor)
(Code)
setLazyEventSets
public
void setLazyEventSets(boolean lazyEventSets)
(Code)
setLazyMethods
public
void setLazyMethods(boolean lazyMethods)
(Code)
setLazyProperties
public
void setLazyProperties(boolean lazyProperties)
(Code)
setModified
void setModified()
(Code)
setNullDescriptor
void setNullDescriptor(boolean nullDescriptor)
(Code)
setNullEventSets
void setNullEventSets(boolean nullEventSets)
(Code)
setNullMethods
void setNullMethods(boolean nullMethods)
(Code)
setNullProperties
void setNullProperties(boolean nullProperties)
(Code)
setPropertiesFromBeanInfo
boolean setPropertiesFromBeanInfo(
List
<? extends
BiFeature
> features,
List
<
String
> code,
String
name) throws
GenerateBeanException
(Code)
Let's the collection of features check for it's properties in BeanInfo
setUseSuperClass
public
void setUseSuperClass(boolean useSuperClass)
(Code)
Setter for property useSuperClass.
Parameters:
useSuperClass - New value of property useSuperClass.
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.