Java Doc for ActionBase.java in  » Testing » DDTUnit » junitx » ddtunit » data » processing » 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 » Testing » DDTUnit » junitx.ddtunit.data.processing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   junitx.ddtunit.data.processing.ActionBase

All known Subclasses:   junitx.ddtunit.data.processing.ContentCreatorAction,  junitx.ddtunit.data.processing.CallCreatorAction,  junitx.ddtunit.data.processing.BeanCreatorAction,  junitx.ddtunit.data.processing.SubelementCreatorAction,  junitx.ddtunit.data.processing.MapCreatorAction,  junitx.ddtunit.data.processing.ArrayCreatorAction,  junitx.ddtunit.data.processing.ConstantCreatorAction,  junitx.ddtunit.data.processing.DateCreatorAction,  junitx.ddtunit.data.processing.AttributeListCreatorAction,  junitx.ddtunit.data.processing.CollectionCreatorAction,
ActionBase
abstract class ActionBase implements IAction(Code)
Base class for representing objects and assert information created from xml
author:
   jg

Inner Class :class ObjectReferenceInfo extends ReferenceInfoBase

Field Summary
final protected static  StringLF
    
protected  Map<String, String>attrMap
    
protected  TypedObjectinjectedObject
    
protected  Loggerlog
    
protected  IActionnext
    
protected  IActionprevious
    
 booleansuccessorProcessed
    

Constructor Summary
public  ActionBase(Map<String, String> attrMap)
    

Method Summary
public  voidadd(IReferenceInfo info)
    
public  TypedObjectcreateObject()
     Create injected object to according type specification on this action.
protected  voiddesintegrate()
    
public  StringextractFieldType(String fieldName)
     Extract field type information from object sitting on the stack.
public  StringgetAttribute(String id)
    
public  StringgetHint()
    
public  StringgetId()
    
public  TypedObjectgetInjectedObject()
    
public  IActiongetNext()
    
public  TypedObjectgetObject()
    
public  IActiongetPrevious()
    
public  StringgetType()
    
public  StringgetTypeFromRoot()
     Extract object type of associated root action on action stack.
public  ObjectgetValue()
    
public  booleanhasReferenceInfo()
    
public  voidinsert(IAction action)
     Insert a new Record entry after this.
public  voidpop()
    
public  voidprocessNoSuccessor()
    
public  voidpromoteLinkChangeListener(IAction action)
    
public  voidregisterLinkChangeListener(ILinkChangeListener listener)
    
public  voidregisterReferenceListener(IReferenceListener listener)
    
public  voidremoveLinkChangeListener(ILinkChangeListener listener)
    
public  voidremoveReferenceListener(IReferenceListener listener)
    
public  voidsetNext(IAction next)
    
public  voidsetObject(TypedObject newObject)
    
public  voidsetPrevious(IAction previous)
    
public  voidsetType(String type)
    
public  voidsetValue(Object obj)
    
public  StringtoString()
    

Field Detail
LF
final protected static String LF(Code)



attrMap
protected Map<String, String> attrMap(Code)



injectedObject
protected TypedObject injectedObject(Code)



log
protected Logger log(Code)



next
protected IAction next(Code)



previous
protected IAction previous(Code)



successorProcessed
boolean successorProcessed(Code)
specifies if a successing tag is allready processed.
can be used to detect empty tags




Constructor Detail
ActionBase
public ActionBase(Map<String, String> attrMap)(Code)
Constructor used as standard constructor to instanciate objects of this this type
Parameters:
  attrMap - provided during scan with all attributes of actual parsingaction




Method Detail
add
public void add(IReferenceInfo info)(Code)



createObject
public TypedObject createObject()(Code)
Create injected object to according type specification on this action. Just do nothing if object allready instanciated. RecordBase
throws:
  ClassNotFoundException -
throws:
  InstantiationException -
throws:
  IllegalAccessException -



desintegrate
protected void desintegrate()(Code)



extractFieldType
public String extractFieldType(String fieldName)(Code)
Extract field type information from object sitting on the stack.
If rootAction is a generated container action used for construction of fields or constructor call of the underlying object then skip the container action and retrieve requested type from underlying object.
Parameters:
  fieldName - to extract type from full type of field



getAttribute
public String getAttribute(String id)(Code)



getHint
public String getHint()(Code)



getId
public String getId()(Code)



getInjectedObject
public TypedObject getInjectedObject()(Code)



getNext
public IAction getNext()(Code)



getObject
public TypedObject getObject()(Code)



getPrevious
public IAction getPrevious()(Code)



getType
public String getType()(Code)



getTypeFromRoot
public String getTypeFromRoot()(Code)
Extract object type of associated root action on action stack.
If no root action exists return null full qualified class name of root object type or null if no rootexists.



getValue
public Object getValue()(Code)



hasReferenceInfo
public boolean hasReferenceInfo()(Code)



insert
public void insert(IAction action)(Code)
Insert a new Record entry after this.
Parameters:
  action - to insert



pop
public void pop()(Code)



processNoSuccessor
public void processNoSuccessor()(Code)



promoteLinkChangeListener
public void promoteLinkChangeListener(IAction action)(Code)



registerLinkChangeListener
public void registerLinkChangeListener(ILinkChangeListener listener)(Code)



registerReferenceListener
public void registerReferenceListener(IReferenceListener listener)(Code)



removeLinkChangeListener
public void removeLinkChangeListener(ILinkChangeListener listener)(Code)



removeReferenceListener
public void removeReferenceListener(IReferenceListener listener)(Code)



setNext
public void setNext(IAction next)(Code)



setObject
public void setObject(TypedObject newObject)(Code)



setPrevious
public void setPrevious(IAction previous)(Code)



setType
public void setType(String type)(Code)



setValue
public void setValue(Object obj)(Code)



toString
public String toString()(Code)



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.