Java Doc for NullElementPointer.java in  » Library » Apache-commons-jxpath-1.2-src » org » apache » commons » jxpath » ri » model » beans » 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.beans 
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.CollectionPointer
         org.apache.commons.jxpath.ri.model.beans.NullElementPointer

NullElementPointer
public class NullElementPointer extends CollectionPointer (Code)
Used when there is a need to construct a Pointer for a collection element that does not exist. For example, if the path is "foo[3]", but the collection "foo" only has one element or is empty or is null, the NullElementPointer can be used to capture this situation without putting a regular NodePointer into an invalid state. Just create a NullElementPointer with index 2 (= 3 - 1) and a "foo" pointer as the parent.
author:
   Dmitri Plotnikov
version:
   $Revision: 1.17 $ $Date: 2004/03/25 03:49:50 $



Constructor Summary
public  NullElementPointer(NodePointer parent, int index)
    

Method Summary
public  StringasPath()
    
public  NodePointercreatePath(JXPathContext context)
    
public  NodePointercreatePath(JXPathContext context, Object value)
    
public  booleanequals(Object object)
    
public  ObjectgetBaseValue()
    
public  ObjectgetImmediateNode()
    
public  intgetLength()
    
public  QNamegetName()
    
public  PropertyPointergetPropertyPointer()
    
public  NodePointergetValuePointer()
    
public  inthashCode()
    
public  booleanisActual()
    
public  booleanisCollection()
    
public  booleanisContainer()
    
public  booleanisLeaf()
    
public  voidsetValue(Object value)
    


Constructor Detail
NullElementPointer
public NullElementPointer(NodePointer parent, int index)(Code)




Method Detail
asPath
public String asPath()(Code)



createPath
public NodePointer createPath(JXPathContext context)(Code)



createPath
public NodePointer createPath(JXPathContext context, Object value)(Code)



equals
public boolean equals(Object object)(Code)



getBaseValue
public Object getBaseValue()(Code)



getImmediateNode
public Object getImmediateNode()(Code)



getLength
public int getLength()(Code)



getName
public QName getName()(Code)



getPropertyPointer
public PropertyPointer getPropertyPointer()(Code)



getValuePointer
public NodePointer getValuePointer()(Code)



hashCode
public int hashCode()(Code)



isActual
public boolean isActual()(Code)



isCollection
public boolean isCollection()(Code)



isContainer
public boolean isContainer()(Code)



isLeaf
public boolean isLeaf()(Code)



setValue
public void setValue(Object value)(Code)



Methods inherited from org.apache.commons.jxpath.ri.model.beans.CollectionPointer
public String asPath()(Code)(Java Doc)
public NodeIterator attributeIterator(QName name)(Code)(Java Doc)
public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith)(Code)(Java Doc)
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 getBaseValue()(Code)(Java Doc)
public Object getImmediateNode()(Code)(Java Doc)
public int getLength()(Code)(Java Doc)
public QName getName()(Code)(Java Doc)
public NodePointer getValuePointer()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isCollection()(Code)(Java Doc)
public boolean isContainer()(Code)(Java Doc)
public boolean isLeaf()(Code)(Java Doc)
public NodeIterator namespaceIterator()(Code)(Java Doc)
public NodePointer namespacePointer(String namespace)(Code)(Java Doc)
public void setIndex(int index)(Code)(Java Doc)
public void setValue(Object value)(Code)(Java Doc)
public boolean testNode(NodeTest nodeTest)(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__a2_s_.___c_om_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.