Java Doc for ConfigurationHelper.java in  » Search-Engine » compass-2.0 » org » compass » core » util » config » 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 » Search Engine » compass 2.0 » org.compass.core.util.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.compass.core.util.config.ConfigurationHelper

All known Subclasses:   org.compass.core.util.config.AbstractConfigurationHelper,  org.compass.core.util.config.XmlConfigurationHelper,
ConfigurationHelper
public interface ConfigurationHelper (Code)




Method Summary
public  voidaddAllChildrenBefore(ConfigurationHelper other)
     Add all child Configuration objects from specified configuration element to current configuration element.
 StringgetAttribute(String paramName)
     Return the value of specified attribute.
 StringgetAttribute(String name, String defaultValue)
     Returns the value of the attribute specified by its name as a String, or the default value if no attribute by that name exists or is empty.
 booleangetAttributeAsBoolean(String paramName)
     Return the boolean value of the specified parameter contained in this node.
 booleangetAttributeAsBoolean(String name, boolean defaultValue)
     Returns the value of the attribute specified by its name as a boolean, or the default value if no attribute by that name exists or is empty.
 floatgetAttributeAsFloat(String paramName)
     Return the float value of the specified parameter contained in this node.
 floatgetAttributeAsFloat(String name, float defaultValue)
     Returns the value of the attribute specified by its name as a float, or the default value if no attribute by that name exists or is empty.
 intgetAttributeAsInteger(String paramName)
     Return the int value of the specified attribute contained in this node.
 intgetAttributeAsInteger(String name, int defaultValue)
     Returns the value of the attribute specified by its name as a int, or the default value if no attribute by that name exists or is empty.
 longgetAttributeAsLong(String name)
     Returns the value of the attribute specified by its name as a long.
 longgetAttributeAsLong(String name, long defaultValue)
     Returns the value of the attribute specified by its name as a long, or the default value if no attribute by that name exists or is empty.
 String[]getAttributeNames()
     Return an array of all attribute names.
 ConfigurationHelpergetChild(String child)
     Return a new Configuration instance encapsulating the specified child node.
 ConfigurationHelpergetChild(String child, boolean createNew)
     Return a Configuration instance encapsulating the specified child node.
 ConfigurationHelper[]getChildren()
     Return an Array of Configuration elements containing all node children.
 ConfigurationHelper[]getChildren(String name)
     Return an Array of Configuration elements containing all node children with the specified name.
 StringgetLocation()
     Return a string describing location of Configuration.
 StringgetName()
     Return the name of the node.
 StringgetNamespace()
     Returns a string indicating which namespace this Configuration node belongs to.
 StringgetValue()
     Return the String value of the node.
 StringgetValue(String defaultValue)
     Returns the value of the configuration element as a String.
 booleangetValueAsBoolean()
     Return the boolean value of the node.
 booleangetValueAsBoolean(boolean defaultValue)
     Returns the value of the configuration element as a boolean.
 floatgetValueAsFloat()
     Return the float value of the node.
 floatgetValueAsFloat(float defaultValue)
     Returns the value of the configuration element as a float.
 intgetValueAsInteger()
     Return the int value of the node.
 intgetValueAsInteger(int defaultValue)
     Returns the value of the configuration element as an int.
 longgetValueAsLong()
     Return the long value of the node.
 longgetValueAsLong(long defaultValue)
     Returns the value of the configuration element as a long.



Method Detail
addAllChildrenBefore
public void addAllChildrenBefore(ConfigurationHelper other)(Code)
Add all child Configuration objects from specified configuration element to current configuration element.



getAttribute
String getAttribute(String paramName) throws ConfigurationException(Code)
Return the value of specified attribute.



getAttribute
String getAttribute(String name, String defaultValue)(Code)
Returns the value of the attribute specified by its name as a String, or the default value if no attribute by that name exists or is empty.



getAttributeAsBoolean
boolean getAttributeAsBoolean(String paramName) throws ConfigurationException(Code)
Return the boolean value of the specified parameter contained in this node.



getAttributeAsBoolean
boolean getAttributeAsBoolean(String name, boolean defaultValue)(Code)
Returns the value of the attribute specified by its name as a boolean, or the default value if no attribute by that name exists or is empty.



getAttributeAsFloat
float getAttributeAsFloat(String paramName) throws ConfigurationException(Code)
Return the float value of the specified parameter contained in this node.



getAttributeAsFloat
float getAttributeAsFloat(String name, float defaultValue)(Code)
Returns the value of the attribute specified by its name as a float, or the default value if no attribute by that name exists or is empty.



getAttributeAsInteger
int getAttributeAsInteger(String paramName) throws ConfigurationException(Code)
Return the int value of the specified attribute contained in this node.



getAttributeAsInteger
int getAttributeAsInteger(String name, int defaultValue)(Code)
Returns the value of the attribute specified by its name as a int, or the default value if no attribute by that name exists or is empty.



getAttributeAsLong
long getAttributeAsLong(String name) throws ConfigurationException(Code)
Returns the value of the attribute specified by its name as a long.



getAttributeAsLong
long getAttributeAsLong(String name, long defaultValue)(Code)
Returns the value of the attribute specified by its name as a long, or the default value if no attribute by that name exists or is empty.



getAttributeNames
String[] getAttributeNames()(Code)
Return an array of all attribute names.



getChild
ConfigurationHelper getChild(String child)(Code)
Return a new Configuration instance encapsulating the specified child node.



getChild
ConfigurationHelper getChild(String child, boolean createNew)(Code)
Return a Configuration instance encapsulating the specified child node.



getChildren
ConfigurationHelper[] getChildren()(Code)
Return an Array of Configuration elements containing all node children. The array order will reflect the order in the source config file.



getChildren
ConfigurationHelper[] getChildren(String name)(Code)
Return an Array of Configuration elements containing all node children with the specified name. The array order will reflect the order in the source config file.



getLocation
String getLocation()(Code)
Return a string describing location of Configuration. Location can be different for different mediums (ie "file:line" for normal XML files or "table:primary-key" for DB based configurations);



getName
String getName()(Code)
Return the name of the node.



getNamespace
String getNamespace() throws ConfigurationException(Code)
Returns a string indicating which namespace this Configuration node belongs to.



getValue
String getValue() throws ConfigurationException(Code)
Return the String value of the node.



getValue
String getValue(String defaultValue)(Code)
Returns the value of the configuration element as a String. If the configuration value is not set, the default value will be used.



getValueAsBoolean
boolean getValueAsBoolean() throws ConfigurationException(Code)
Return the boolean value of the node.



getValueAsBoolean
boolean getValueAsBoolean(boolean defaultValue)(Code)
Returns the value of the configuration element as a boolean. If the configuration value is not set, the default value will be used.



getValueAsFloat
float getValueAsFloat() throws ConfigurationException(Code)
Return the float value of the node.



getValueAsFloat
float getValueAsFloat(float defaultValue)(Code)
Returns the value of the configuration element as a float. If the configuration value is not set, the default value will be used.



getValueAsInteger
int getValueAsInteger() throws ConfigurationException(Code)
Return the int value of the node.



getValueAsInteger
int getValueAsInteger(int defaultValue)(Code)
Returns the value of the configuration element as an int. If the configuration value is not set, the default value will be used.



getValueAsLong
long getValueAsLong() throws ConfigurationException(Code)
Return the long value of the node.



getValueAsLong
long getValueAsLong(long defaultValue)(Code)
Returns the value of the configuration element as a long. If the configuration value is not set, the default value will be used.



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