Java Doc for Record.java in  » Ajax » dwr » jsx3 » xml » 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 » Ajax » dwr » jsx3.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   jsx3.xml.Node
      jsx3.xml.Record

Record
final public class Record extends Node (Code)
The Record class somewhat mirrors a W3C Element, but simplified because we do not need namespaces, and things like Attr and NodeList. It is also vaguely similar to the List interface in that it is a container for attributes, however being also a container for other Records the interface has some name changes and is greatly simplified.
author:
   Joe Walker [joe at getahead dot ltd dot uk]



Constructor Summary
public  Record(String id)
    
public  Record(Object data)
    
public  Record(String id, Object data)
    

Method Summary
public  StringgetAttribute(String name)
     Retrieves an attribute value by name.
Parameters:
  name - The name of the attribute to retrieve.
public  Iterator<String>getAttributeNames()
     Iterate over the names of the attributes (excluding the special JSX attributes) contained in this Record .
public  BooleangetDisabled()
    
public  BooleangetDivider()
    
public  StringgetExecute()
    
public  StringgetGroupName()
    
public  StringgetImage()
    
public  StringgetKeycodeString()
    
public  StringgetNoMask()
    
public  BooleangetSelected()
    
public  StringgetStyle()
    
public  StringgetText()
    
public  StringgetTip()
    
public  BooleangetUnselectable()
    
public  StringremoveAttribute(String name)
     Removes an attribute by name.
If no attribute with this name is found, this method has no effect.
Parameters:
  name - The name of the attribute to remove.
public  RecordsetAttribute(String name, String value)
     Adds a new attribute.
public  RecordsetDisabled(Boolean disabled)
    
public  RecordsetDivider(Boolean divider)
    
public  RecordsetExecute(String execute)
    
public  RecordsetGroupName(String groupName)
    
public  RecordsetImage(String image)
    
public  RecordsetKeycodeString(String keycodeString)
    
public  RecordsetNoMask(String noMask)
    
public  RecordsetSelected(Boolean selected)
    
public  RecordsetStyle(String style)
    
public  RecordsetText(String text)
    
public  RecordsetTip(String tip)
    
public  RecordsetUnselectable(Boolean unselectable)
    
public  StringtoString()
    
protected  StringtoXml(int depth)
    


Constructor Detail
Record
public Record(String id)(Code)
Ensure all Records have unique IDs
Parameters:
  id - the jsxid for this record



Record
public Record(Object data)(Code)



Record
public Record(String id, Object data)(Code)




Method Detail
getAttribute
public String getAttribute(String name)(Code)
Retrieves an attribute value by name.
Parameters:
  name - The name of the attribute to retrieve. The attribute value as a string, or null if thenamed attribute does not exist



getAttributeNames
public Iterator<String> getAttributeNames()(Code)
Iterate over the names of the attributes (excluding the special JSX attributes) contained in this Record . an attribute name Iterator



getDisabled
public Boolean getDisabled()(Code)
the disabled



getDivider
public Boolean getDivider()(Code)
the divider



getExecute
public String getExecute()(Code)
the execute



getGroupName
public String getGroupName()(Code)
the groupName



getImage
public String getImage()(Code)
the image



getKeycodeString
public String getKeycodeString()(Code)
the keycodeString



getNoMask
public String getNoMask()(Code)
the noMask



getSelected
public Boolean getSelected()(Code)
the selected



getStyle
public String getStyle()(Code)
the style



getText
public String getText()(Code)
the text



getTip
public String getTip()(Code)
the tip



getUnselectable
public Boolean getUnselectable()(Code)
the unselectable



removeAttribute
public String removeAttribute(String name)(Code)
Removes an attribute by name.
If no attribute with this name is found, this method has no effect.
Parameters:
  name - The name of the attribute to remove. The old attribute value or null if it did not exist.



setAttribute
public Record setAttribute(String name, String value)(Code)
Adds a new attribute. If an attribute with that name is already present in the element, its value is changed to be that of the value parameter.
Parameters:
  name - The name of the attribute to create or alter.
Parameters:
  value - Value to set in string form.



setDisabled
public Record setDisabled(Boolean disabled)(Code)

Parameters:
  disabled - the disabled to set



setDivider
public Record setDivider(Boolean divider)(Code)

Parameters:
  divider - the divider to set



setExecute
public Record setExecute(String execute)(Code)

Parameters:
  execute - the execute to set



setGroupName
public Record setGroupName(String groupName)(Code)

Parameters:
  groupName - the groupName to set



setImage
public Record setImage(String image)(Code)

Parameters:
  image - the image to set



setKeycodeString
public Record setKeycodeString(String keycodeString)(Code)

Parameters:
  keycodeString - the keycodeString to set



setNoMask
public Record setNoMask(String noMask)(Code)

Parameters:
  noMask - the noMask to set



setSelected
public Record setSelected(Boolean selected)(Code)

Parameters:
  selected - the selected to set



setStyle
public Record setStyle(String style)(Code)

Parameters:
  style - the style to set



setText
public Record setText(String text)(Code)

Parameters:
  text - the text to set



setTip
public Record setTip(String tip)(Code)

Parameters:
  tip - the tip to set



setUnselectable
public Record setUnselectable(Boolean unselectable)(Code)

Parameters:
  unselectable - the unselectable to set



toString
public String toString()(Code)



toXml
protected String toXml(int depth)(Code)

Parameters:
  depth - The string version of this record



Fields inherited from jsx3.xml.Node
protected LinkedList<Record> children(Code)(Java Doc)
protected CdfDocument document(Code)(Java Doc)
protected String id(Code)(Java Doc)
protected Node parentNode(Code)(Java Doc)

Methods inherited from jsx3.xml.Node
public void appendRecord(Record newRecord)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public CdfDocument getOwnerDocument()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final protected static String indent(int depth)(Code)(Java Doc)
public void insertRecord(int position, Record newRecord)(Code)(Java Doc)
public Iterator<Record> iterator()(Code)(Java Doc)
protected void joinDocument(Node parent)(Code)(Java Doc)
protected void leaveDocument()(Code)(Java Doc)
public void removeRecord(Record oldRecord)(Code)(Java Doc)
public void replaceRecord(Record newRecord, Record oldRecord)(Code)(Java Doc)
public void setId(String id)(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.