Java Doc for DynaBeanPropertyPointer.java in  » Library » Apache-commons-jxpath-1.2-src » org » apache » commons » jxpath » ri » model » dynabeans » 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 » Library » Apache commons jxpath 1.2 src » org.apache.commons.jxpath.ri.model.dynabeans 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.jxpath.ri.model.NodePointer
      org.apache.commons.jxpath.ri.model.beans.PropertyPointer
         org.apache.commons.jxpath.ri.model.dynabeans.DynaBeanPropertyPointer

DynaBeanPropertyPointer
public class DynaBeanPropertyPointer extends PropertyPointer (Code)
Pointer pointing to a property of a DynaBean.
author:
   Dmitri Plotnikov
version:
   $Revision: 1.12 $ $Date: 2004/04/04 22:06:35 $



Constructor Summary
public  DynaBeanPropertyPointer(NodePointer parent, DynaBean dynaBean)
    

Method Summary
public  ObjectgetBaseValue()
    
public  ObjectgetImmediateNode()
     If index == WHOLE_COLLECTION, the value of the property, otherwise the value of the index'th element of the collection represented by the property.
public  intgetPropertyCount()
     Number of the DP object's properties.
public  intgetPropertyIndex()
     Index of the currently selected property in the list of all properties sorted alphabetically.
public  StringgetPropertyName()
     Returns the name of the currently selected property or "*" if none has been selected.
public  String[]getPropertyNames()
    
protected  booleanisActualProperty()
    
public  booleanisContainer()
     This type of node is auxiliary.
protected  booleanisIndexedProperty()
    
public  voidremove()
    
public  voidsetPropertyIndex(int index)
     Index a property by its index in the list of all properties sorted alphabetically.
public  voidsetPropertyName(String propertyName)
     Select a property by name.
public  voidsetValue(Object value)
     If index == WHOLE_COLLECTION, change the value of the property, otherwise change the value of the index'th element of the collection represented by the property.


Constructor Detail
DynaBeanPropertyPointer
public DynaBeanPropertyPointer(NodePointer parent, DynaBean dynaBean)(Code)




Method Detail
getBaseValue
public Object getBaseValue()(Code)



getImmediateNode
public Object getImmediateNode()(Code)
If index == WHOLE_COLLECTION, the value of the property, otherwise the value of the index'th element of the collection represented by the property. If the property is not a collection, index should be zero and the value will be the property itself.



getPropertyCount
public int getPropertyCount()(Code)
Number of the DP object's properties.



getPropertyIndex
public int getPropertyIndex()(Code)
Index of the currently selected property in the list of all properties sorted alphabetically.



getPropertyName
public String getPropertyName()(Code)
Returns the name of the currently selected property or "*" if none has been selected.



getPropertyNames
public String[] getPropertyNames()(Code)
Names of all properties, sorted alphabetically



isActualProperty
protected boolean isActualProperty()(Code)
Returns true if the bean has the currently selected property



isContainer
public boolean isContainer()(Code)
This type of node is auxiliary.



isIndexedProperty
protected boolean isIndexedProperty()(Code)



remove
public void remove()(Code)



setPropertyIndex
public void setPropertyIndex(int index)(Code)
Index a property by its index in the list of all properties sorted alphabetically.



setPropertyName
public void setPropertyName(String propertyName)(Code)
Select a property by name.



setValue
public void setValue(Object value)(Code)
If index == WHOLE_COLLECTION, change the value of the property, otherwise change the value of the index'th element of the collection represented by the property.



Fields inherited from org.apache.commons.jxpath.ri.model.beans.PropertyPointer
final public static int UNSPECIFIED_PROPERTY(Code)(Java Doc)
protected Object bean(Code)(Java Doc)
protected int propertyIndex(Code)(Java Doc)

Methods inherited from org.apache.commons.jxpath.ri.model.beans.PropertyPointer
public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)(Code)(Java Doc)
public NodePointer createChild(JXPathContext context, QName name, int index, Object value)(Code)(Java Doc)
public NodePointer createChild(JXPathContext context, QName name, int index)(Code)(Java Doc)
public NodePointer createPath(JXPathContext context)(Code)(Java Doc)
public NodePointer createPath(JXPathContext context, Object value)(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
public Object getBean()(Code)(Java Doc)
public Object getImmediateNode()(Code)(Java Doc)
public NodePointer getImmediateValuePointer()(Code)(Java Doc)
public int getLength()(Code)(Java Doc)
public QName getName()(Code)(Java Doc)
abstract public int getPropertyCount()(Code)(Java Doc)
public int getPropertyIndex()(Code)(Java Doc)
abstract public String getPropertyName()(Code)(Java Doc)
abstract public String[] getPropertyNames()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isActual()(Code)(Java Doc)
abstract protected boolean isActualProperty()(Code)(Java Doc)
public boolean isCollection()(Code)(Java Doc)
public boolean isLeaf()(Code)(Java Doc)
public void setPropertyIndex(int index)(Code)(Java Doc)
abstract public void setPropertyName(String propertyName)(Code)(Java Doc)

Fields inherited from org.apache.commons.jxpath.ri.model.NodePointer
final public static String UNKNOWN_NAMESPACE(Code)(Java Doc)
final public static int WHOLE_COLLECTION(Code)(Java Doc)
protected int index(Code)(Java Doc)
protected Locale locale(Code)(Java Doc)
protected NodePointer parent(Code)(Java Doc)

Methods inherited from org.apache.commons.jxpath.ri.model.NodePointer
public String asPath()(Code)(Java Doc)
public NodeIterator attributeIterator(QName qname)(Code)(Java Doc)
public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
abstract public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)(Code)(Java Doc)
public int compareTo(Object object)(Code)(Java Doc)
public NodePointer createAttribute(JXPathContext context, QName name)(Code)(Java Doc)
public NodePointer createChild(JXPathContext context, QName name, int index, Object value)(Code)(Java Doc)
public NodePointer createChild(JXPathContext context, QName name, int index)(Code)(Java Doc)
public NodePointer createPath(JXPathContext context, Object value)(Code)(Java Doc)
public NodePointer createPath(JXPathContext context)(Code)(Java Doc)
abstract public Object getBaseValue()(Code)(Java Doc)
protected String getDefaultNamespaceURI()(Code)(Java Doc)
abstract public Object getImmediateNode()(Code)(Java Doc)
public NodePointer getImmediateParentPointer()(Code)(Java Doc)
public NodePointer getImmediateValuePointer()(Code)(Java Doc)
public int getIndex()(Code)(Java Doc)
abstract public int getLength()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
abstract public QName getName()(Code)(Java Doc)
public NamespaceResolver getNamespaceResolver()(Code)(Java Doc)
public String getNamespaceURI(String prefix)(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public Object getNode()(Code)(Java Doc)
public Object getNodeValue()(Code)(Java Doc)
public NodePointer getParent()(Code)(Java Doc)
public Pointer getPointerByID(JXPathContext context, String id)(Code)(Java Doc)
public Pointer getPointerByKey(JXPathContext context, String key, String value)(Code)(Java Doc)
public Object getRootNode()(Code)(Java Doc)
public Object getValue()(Code)(Java Doc)
public NodePointer getValuePointer()(Code)(Java Doc)
public boolean isActual()(Code)(Java Doc)
public boolean isAttribute()(Code)(Java Doc)
abstract public boolean isCollection()(Code)(Java Doc)
public boolean isContainer()(Code)(Java Doc)
protected boolean isDefaultNamespace(String prefix)(Code)(Java Doc)
public boolean isLanguage(String lang)(Code)(Java Doc)
abstract public boolean isLeaf()(Code)(Java Doc)
public boolean isNode()(Code)(Java Doc)
public boolean isRoot()(Code)(Java Doc)
public NodeIterator namespaceIterator()(Code)(Java Doc)
public NodePointer namespacePointer(String namespace)(Code)(Java Doc)
public static NodePointer newChildNodePointer(NodePointer parent, QName name, Object bean)(Code)(Java Doc)
public static NodePointer newNodePointer(QName name, Object bean, Locale locale)(Code)(Java Doc)
public void printPointerChain()(Code)(Java Doc)
public void remove()(Code)(Java Doc)
public void setAttribute(boolean attribute)(Code)(Java Doc)
public void setIndex(int index)(Code)(Java Doc)
public void setNamespaceResolver(NamespaceResolver namespaceResolver)(Code)(Java Doc)
abstract public void setValue(Object value)(Code)(Java Doc)
public boolean testNode(NodeTest test)(Code)(Java Doc)
public String toString()(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)

w__w__w__.___j__a___v_a__2__s__.___c__o___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.