Java Doc for XServiceModelNode.java in  » XML-UI » XUI » net » xoetrope » optional » service » 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 » XML UI » XUI » net.xoetrope.optional.service 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.xoetrope.xui.data.XModel
      net.xoetrope.optional.service.XServiceModelNode

XServiceModelNode
public class XServiceModelNode extends XModel (Code)
Models a service as a model node. Getting the node value causes the service to be invoked. The node attributes are used as the arguments for the service call.

Copyright: Copyright (c) Xoetrope Ltd. 2002-2003

$Revision: 1.1 $


Field Summary
protected  ServiceProxycallProxy
    
protected  booleandirty
    
protected  longexpires
    
protected  StringfieldNames
    
protected  ObjectfieldValues
    
protected  StringserviceId
    

Constructor Summary
public  XServiceModelNode()
    

Method Summary
public  Objectappend(String id)
    
public  voidappend(XModel newObject)
    
public  Objectget()
    
public  XModelget(int i)
    
public  StringgetAttribName(int i)
    
public  ObjectgetAttribValue(int i)
    
public  doublegetAttribValueAsDouble(int i)
    
public  intgetAttribValueAsInt(int i)
    
public  StringgetAttribValueAsString(int i)
    
public  intgetAttribute(String argName)
    
public  StringgetId()
    
public  ServiceProxygetServiceProxy()
    
public  ServiceProxygetServiceProxy(String reqdClass)
    
public  doublegetValueAsDouble(String elementName)
    
public  intgetValueAsInt(String elementName)
    
public  StringgetValueAsString(String elementName)
     Gets the value attribute of the specified node as a string.
 booleanhasExpired()
    
public  inthashCode()
    
public  voidremove(XModel child)
    
public  voidset(Object s)
    
public  voidset(String attribName, Object newObject)
    
public  voidsetAttribValue(int i, Object value)
    
public  voidsetAttribValue(int i, String attribName, Object value)
    
public  voidsetNumAttributes(int num)
    
public  voidsetupService(String methodName, ServiceProxy routeService, String[] argNames)
    
protected  voidsync()
     Syncs the model with the service response is the request has been changed or if the node has timed out.

Field Detail
callProxy
protected ServiceProxy callProxy(Code)



dirty
protected boolean dirty(Code)



expires
protected long expires(Code)



fieldNames
protected String fieldNames(Code)



fieldValues
protected Object fieldValues(Code)



serviceId
protected String serviceId(Code)




Constructor Detail
XServiceModelNode
public XServiceModelNode()(Code)




Method Detail
append
public Object append(String id)(Code)



append
public void append(XModel newObject)(Code)



get
public Object get()(Code)



get
public XModel get(int i)(Code)



getAttribName
public String getAttribName(int i)(Code)
Get the name of an argument
Parameters:
  i - the argument name



getAttribValue
public Object getAttribValue(int i)(Code)



getAttribValueAsDouble
public double getAttribValueAsDouble(int i)(Code)



getAttribValueAsInt
public int getAttribValueAsInt(int i)(Code)



getAttribValueAsString
public String getAttribValueAsString(int i)(Code)



getAttribute
public int getAttribute(String argName)(Code)
Look up an argument name
Parameters:
  argName - the argument name the argument index or -1 if not found



getId
public String getId()(Code)



getServiceProxy
public ServiceProxy getServiceProxy()(Code)
Get the service proxy that implements this service call the service proxy



getServiceProxy
public ServiceProxy getServiceProxy(String reqdClass)(Code)
Get the service proxy that implements this service call the service proxy



getValueAsDouble
public double getValueAsDouble(String elementName)(Code)



getValueAsInt
public int getValueAsInt(String elementName)(Code)



getValueAsString
public String getValueAsString(String elementName)(Code)
Gets the value attribute of the specified node as a string.
Parameters:
  elementName - the value as a string



hasExpired
boolean hasExpired()(Code)
Checks to see if the response has timed out or expired true if the response is out-of-date



hashCode
public int hashCode()(Code)



remove
public void remove(XModel child)(Code)



set
public void set(Object s)(Code)



set
public void set(String attribName, Object newObject)(Code)



setAttribValue
public void setAttribValue(int i, Object value)(Code)
Set the value of an argument
Parameters:
  i - the argument index
Parameters:
  value - the new argument value



setAttribValue
public void setAttribValue(int i, String attribName, Object value)(Code)
Set the value of an argument
Parameters:
  i - the argument index
Parameters:
  attribName - the name of teh attribute
Parameters:
  value - the new argument value



setNumAttributes
public void setNumAttributes(int num)(Code)



setupService
public void setupService(String methodName, ServiceProxy routeService, String[] argNames)(Code)



sync
protected void sync()(Code)
Syncs the model with the service response is the request has been changed or if the node has timed out.



Fields inherited from net.xoetrope.xui.data.XModel
protected String tagName(Code)(Java Doc)

Methods inherited from net.xoetrope.xui.data.XModel
public void addModelListener(XModelListener listener, String name)(Code)(Java Doc)
abstract public void append(XModel childNode)(Code)(Java Doc)
abstract public Object append(String elementName)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public void fireModelUpdated()(Code)(Java Doc)
public Object get(String element)(Code)(Java Doc)
abstract public XModel get(int i)(Code)(Java Doc)
abstract public Object get()(Code)(Java Doc)
abstract public String getAttribName(int i)(Code)(Java Doc)
abstract public Object getAttribValue(int i)(Code)(Java Doc)
abstract public double getAttribValueAsDouble(int i)(Code)(Java Doc)
abstract public int getAttribValueAsInt(int i)(Code)(Java Doc)
abstract public String getAttribValueAsString(int i)(Code)(Java Doc)
abstract public int getAttribute(String attribName)(Code)(Java Doc)
abstract public String getId()(Code)(Java Doc)
public static XModel getInstance()(Code)(Java Doc)
public int getNumAttributes()(Code)(Java Doc)
public int getNumChildren()(Code)(Java Doc)
public String getTagName()(Code)(Java Doc)
abstract public double getValueAsDouble(String elementName)(Code)(Java Doc)
abstract public int getValueAsInt(String elementName)(Code)(Java Doc)
abstract public String getValueAsString(String elementName)(Code)(Java Doc)
public boolean hasAutoId()(Code)(Java Doc)
public void hasAutoId(boolean b)(Code)(Java Doc)
abstract public int hashCode()(Code)(Java Doc)
public static String prefixOutputPath(String path)(Code)(Java Doc)
public void removeChildren()(Code)(Java Doc)
public XModel reset()(Code)(Java Doc)
public void resetAttributes()(Code)(Java Doc)
abstract public void set(String attribName, Object newObject)(Code)(Java Doc)
abstract public void set(Object s)(Code)(Java Doc)
abstract public void setAttribValue(int i, Object value)(Code)(Java Doc)
abstract public void setAttribValue(int i, String attribName, Object value)(Code)(Java Doc)
public void setId(String newId)(Code)(Java Doc)
public void setNumAttributes(int num)(Code)(Java Doc)
public void setNumChildren(int num)(Code)(Java Doc)
public void setTagName(String name)(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.