Java Doc for ConfigurationNodePointer.java in  » Library » Apache-commons-configuration-1.4-src » org » apache » commons » configuration » tree » xpath » 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 configuration 1.4 src » org.apache.commons.configuration.tree.xpath 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.configuration.tree.xpath.ConfigurationNodePointer

ConfigurationNodePointer
class ConfigurationNodePointer extends NodePointer (Code)

A specific NodePointer implementation for configuration nodes.

This is needed for queries using JXPath.


since:
   1.3
author:
   Oliver Heger
version:
   $Id: ConfigurationNodePointer.java 439648 2006-09-02 20:42:10Z oheger $



Constructor Summary
public  ConfigurationNodePointer(ConfigurationNode node, Locale locale)
     Creates a new instance of ConfigurationNodePointer.
public  ConfigurationNodePointer(NodePointer parent, ConfigurationNode node)
     Creates a new instance of ConfigurationNodePointer and initializes it with its parent pointer.

Method Summary
public  NodeIteratorattributeIterator(QName name)
     Returns an iterator for the attributes that match the given name.
public  NodeIteratorchildIterator(NodeTest test, boolean reverse, NodePointer startWith)
     Returns an iterator for the children of this pointer that match the given test object.
public  intcompareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
     Compares two child node pointers.
public  ObjectgetBaseValue()
     Returns this node's base value.
public  ObjectgetImmediateNode()
     Returns the immediate node.
public  intgetLength()
     Returns this node's length.
public  QNamegetName()
     Returns this node's name.
public  ObjectgetValue()
     Returns the value of this node.
public  booleanisAttribute()
     Checks whether this node pointer refers to an attribute node.
public  booleanisCollection()
     Returns a flag if this node is a collection.
public  booleanisLeaf()
     Returns a flag whether this node is a leaf.
public  voidsetValue(Object value)
     Sets the value of this node.
public  booleantestNode(NodeTest test)
     Tests if this node matches the given test.


Constructor Detail
ConfigurationNodePointer
public ConfigurationNodePointer(ConfigurationNode node, Locale locale)(Code)
Creates a new instance of ConfigurationNodePointer.
Parameters:
  node - the node
Parameters:
  locale - the locale



ConfigurationNodePointer
public ConfigurationNodePointer(NodePointer parent, ConfigurationNode node)(Code)
Creates a new instance of ConfigurationNodePointer and initializes it with its parent pointer.
Parameters:
  parent - the parent pointer
Parameters:
  node - the associated node




Method Detail
attributeIterator
public NodeIterator attributeIterator(QName name)(Code)
Returns an iterator for the attributes that match the given name.
Parameters:
  name - the attribute name the iterator for the attributes



childIterator
public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith)(Code)
Returns an iterator for the children of this pointer that match the given test object.
Parameters:
  test - the test object
Parameters:
  reverse - the reverse flag
Parameters:
  startWith - the start value of the iteration



compareChildNodePointers
public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)(Code)
Compares two child node pointers.
Parameters:
  pointer1 - one pointer
Parameters:
  pointer2 - another pointer a flag, which pointer should be sorted first



getBaseValue
public Object getBaseValue()(Code)
Returns this node's base value. This is the associated configuration node. the base value



getImmediateNode
public Object getImmediateNode()(Code)
Returns the immediate node. This is the associated configuration node. the immediate node



getLength
public int getLength()(Code)
Returns this node's length. This is always 1. the node's length



getName
public QName getName()(Code)
Returns this node's name. the name



getValue
public Object getValue()(Code)
Returns the value of this node. the represented node's value



isAttribute
public boolean isAttribute()(Code)
Checks whether this node pointer refers to an attribute node. This method checks the attribute flag of the associated configuration node. the attribute flag



isCollection
public boolean isCollection()(Code)
Returns a flag if this node is a collection. This is not the case. the collection flag



isLeaf
public boolean isLeaf()(Code)
Returns a flag whether this node is a leaf. This is the case if there are no child nodes. a flag if this node is a leaf



setValue
public void setValue(Object value)(Code)
Sets the value of this node.
Parameters:
  value - the new value



testNode
public boolean testNode(NodeTest test)(Code)
Tests if this node matches the given test. Configuration nodes are text nodes, too because they can contain a value.
Parameters:
  test - the test object a flag if this node corresponds to the test



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.