Java Doc for Configuration.java in  » Web-Framework » jpublish » com » anthonyeden » lib » 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 » Web Framework » jpublish » com.anthonyeden.lib.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.anthonyeden.lib.config.Configuration

Configuration
public interface Configuration (Code)
The Configuration interface represents a node in a configuration tree.
author:
   Anthony Eden




Method Summary
public  Configurationcopy()
     Get the copy of the current Configuration.
public  StringgetAttribute(String name)
     Get the named attribute or null.
public  StringgetAttribute(String name, String defaultValue)
     Get the named attribute.
public  ListgetAttributeNames()
     Get a List of attribute names.
public  ConfigurationgetChild(String name)
     Get the child configuration object with the given name.
public  StringgetChildValue(String name)
     Get the value of the first child configuration object with the given name.
public  StringgetChildValue(String name, String defaultValue)
     Get the value of the first child configuration object with the given name.
public  ListgetChildren()
     Get a list of all child nodes.
public  ListgetChildren(String name)
     Get a list of all child nodes with the given name.
public  LocationgetLocation()
    
public  StringgetName()
     Get the node's name.
public  ConfigurationgetParent()
     Get the parent configuration object.
public  StringgetValue()
     Get the node's value or null if the node contains no data.
public  StringgetValue(String defaultValue)
     Get the node's value.
public  voidsetLocation(String id)
    



Method Detail
copy
public Configuration copy()(Code)
Get the copy of the current Configuration. Whether this copy is shallow or deep depends on implementation. copy of this Configuration



getAttribute
public String getAttribute(String name)(Code)
Get the named attribute or null.
Parameters:
  name - The attribute name The attribute value



getAttribute
public String getAttribute(String name, String defaultValue)(Code)
Get the named attribute. If the attribute is not found then return the given default value.
Parameters:
  name - The attribute name
Parameters:
  defaultValue - The default value The attribute value



getAttributeNames
public List getAttributeNames()(Code)
Get a List of attribute names. A List of attribute names



getChild
public Configuration getChild(String name)(Code)
Get the child configuration object with the given name. If the child with the name does not exist then this method returns null. If more than one child with the given name exists then this method returns the first child.
Parameters:
  name - The child name The first named child or null



getChildValue
public String getChildValue(String name)(Code)
Get the value of the first child configuration object with the given name. If the child cannot be found or the child had no data then this method returns null.
Parameters:
  name - The child name The value or null



getChildValue
public String getChildValue(String name, String defaultValue)(Code)
Get the value of the first child configuration object with the given name. If the child cannot be found or the child had no data then this method returns the given default value.
Parameters:
  name - The child name
Parameters:
  defaultValue - The default value The value



getChildren
public List getChildren()(Code)
Get a list of all child nodes. A List of Configuration objects



getChildren
public List getChildren(String name)(Code)
Get a list of all child nodes with the given name.
Parameters:
  name - The child node name A List of Configuration objects



getLocation
public Location getLocation()(Code)



getName
public String getName()(Code)
Get the node's name. The node's name



getParent
public Configuration getParent()(Code)
Get the parent configuration object. This method will return null if this configuration object is the top-most configuration object in the configuration tree. The parent configuration object or null



getValue
public String getValue()(Code)
Get the node's value or null if the node contains no data. The node value or null



getValue
public String getValue(String defaultValue)(Code)
Get the node's value. If the node contains no data then return the given default value.
Parameters:
  defaultValue - The default value The node value



setLocation
public void setLocation(String id)(Code)



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