Java Doc for SlideConfigurationAdapter.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » components » slide » impl » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.components.slide.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.cocoon.components.slide.impl.SlideConfigurationAdapter

SlideConfigurationAdapter
public class SlideConfigurationAdapter implements Configuration(Code)
The class represent an adapter for the configuration class from jakarta slide
version:
   CVS $Id: SlideConfigurationAdapter.java 433543 2006-08-22 06:22:54Z crossley $



Constructor Summary
public  SlideConfigurationAdapter(org.apache.avalon.framework.configuration.Configuration configuration)
    

Method Summary
public  StringgetAttribute(String paramName)
     Return the value of specified attribute.
Parameters:
  paramName - The name of the parameter you ask the value of.
public  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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired.
public  booleangetAttributeAsBoolean(String paramName)
     Return the boolean value of the specified parameter contained in this node.

Parameters:
  paramName - The name of the parameter you ask the value of.
public  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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired.
public  floatgetAttributeAsFloat(String paramName)
     Return the float value of the specified parameter contained in this node.
Parameters:
  paramName - The name of the parameter you ask the value of.
public  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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired.
public  intgetAttributeAsInt(String paramName)
     Return the int value of the specified attribute contained in this node.
Parameters:
  paramName - The name of the parameter you ask the value of.
public  intgetAttributeAsInt(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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired.
public  longgetAttributeAsLong(String name)
     Returns the value of the attribute specified by its name as a long.
public  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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired.
public  ConfigurationgetConfiguration(String child)
     Return a new Configuration instance encapsulating the specified child node.
Parameters:
  child - The name of the child node.
public  EnumerationgetConfigurations(String name)
     Return an Enumeration of Configuration elements containing all node children with the specified name.
Parameters:
  name - The name of the children to get.
public  StringgetLocation()
     Return a String indicating the position of this configuration element in a source file or URI. String if a source file or URI is specified.
public  StringgetName()
     Return the name of the node.
public  StringgetValue()
     Return the String value of the node.
public  StringgetValue(String defaultValue)
     Returns the value of the configuration element as a String. If the configuration value is not set, the default value will be used.
Parameters:
  defaultValue - The default value desired.
public  booleangetValueAsBoolean()
     Return the boolean value of the node.
public  booleangetValueAsBoolean(boolean defaultValue)
     Returns the value of the configuration element as a boolean. If the configuration value is not set, the default value will be used.
Parameters:
  defaultValue - The default value desired.
public  floatgetValueAsFloat()
     Return the float value of the node.
public  floatgetValueAsFloat(float defaultValue)
     Returns the value of the configuration element as a float. If the configuration value is not set, the default value will be used.
Parameters:
  defaultValue - The default value desired.
public  intgetValueAsInt()
     Return the int value of the node.
public  intgetValueAsInt(int defaultValue)
     Returns the value of the configuration element as an int. If the configuration value is not set, the default value will be used.
Parameters:
  defaultValue - The default value desired.
public  longgetValueAsLong()
    
public  longgetValueAsLong(long defaultValue)
     Returns the value of the configuration element as a long. If the configuration value is not set, the default value will be used.
Parameters:
  defaultValue - The default value desired.


Constructor Detail
SlideConfigurationAdapter
public SlideConfigurationAdapter(org.apache.avalon.framework.configuration.Configuration configuration)(Code)
Create a new adapter to map a Avalon configuration to a Slide configuration
Parameters:
  configuration - Avalon configuration




Method Detail
getAttribute
public String getAttribute(String paramName) throws ConfigurationException(Code)
Return the value of specified attribute.
Parameters:
  paramName - The name of the parameter you ask the value of. String value of attribute.
throws:
  ConfigurationException - If no attribute with that name exists.



getAttribute
public 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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired. String value of attribute. It will return the defaultvalue if the named attribute does not exist, or ifthe value is not set.



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

Parameters:
  paramName - The name of the parameter you ask the value of. boolean value of attribute
throws:
  ConfigurationException - If no parameter with that name exists.or if conversion to boolean fails.



getAttributeAsBoolean
public 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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired. boolean value of attribute. It will return the defaultvalue if the named attribute does not exist, or ifthe value is not set.



getAttributeAsFloat
public float getAttributeAsFloat(String paramName) throws ConfigurationException(Code)
Return the float value of the specified parameter contained in this node.
Parameters:
  paramName - The name of the parameter you ask the value of. float value of attribute
throws:
  ConfigurationException - If no parameter with that name exists.or if conversion to float fails.



getAttributeAsFloat
public 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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired. float value of attribute. It will return the defaultvalue if the named attribute does not exist, or ifthe value is not set.



getAttributeAsInt
public int getAttributeAsInt(String paramName) throws ConfigurationException(Code)
Return the int value of the specified attribute contained in this node.
Parameters:
  paramName - The name of the parameter you ask the value of. int value of attribute
throws:
  ConfigurationException - If no parameter with that name exists.or if conversion to int fails.



getAttributeAsInt
public int getAttributeAsInt(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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired. int value of attribute. It will return the defaultvalue if the named attribute does not exist, or ifthe value is not set.



getAttributeAsLong
public long getAttributeAsLong(String name) throws ConfigurationException(Code)
Returns the value of the attribute specified by its name as a long.
Parameters:
  name - long value of attribute
throws:
  ConfigurationException - If no parameter with that name exists.or if conversion to long fails.



getAttributeAsLong
public 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.
Parameters:
  name - The name of the attribute you ask the value of.
Parameters:
  defaultValue - The default value desired. long value of attribute. It will return the defaultvalue if the named attribute does not exist, or ifthe value is not set.



getConfiguration
public Configuration getConfiguration(String child) throws ConfigurationException(Code)
Return a new Configuration instance encapsulating the specified child node.
Parameters:
  child - The name of the child node. Configuration
throws:
  ConfigurationException - If no child with that name exists.



getConfigurations
public Enumeration getConfigurations(String name)(Code)
Return an Enumeration of Configuration elements containing all node children with the specified name.
Parameters:
  name - The name of the children to get. Enumeration. The Enumeration will beempty if there are no nodes by the specified name.



getLocation
public String getLocation()(Code)
Return a String indicating the position of this configuration element in a source file or URI. String if a source file or URI is specified. Otherwiseit returns null



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



getValue
public String getValue()(Code)
Return the String value of the node. the value of the node.



getValue
public 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.
Parameters:
  defaultValue - The default value desired. String value of the Configuration, or defaultif none specified.



getValueAsBoolean
public boolean getValueAsBoolean() throws ConfigurationException(Code)
Return the boolean value of the node. the value of the node.
throws:
  ConfigurationException - If conversion to boolean fails.



getValueAsBoolean
public 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.
Parameters:
  defaultValue - The default value desired. boolean value of the Configuration, or defaultif none specified.



getValueAsFloat
public float getValueAsFloat() throws ConfigurationException(Code)
Return the float value of the node. the value of the node.
throws:
  ConfigurationException - If conversion to float fails.



getValueAsFloat
public 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.
Parameters:
  defaultValue - The default value desired. float value of the Configuration, or defaultif none specified.



getValueAsInt
public int getValueAsInt() throws ConfigurationException(Code)
Return the int value of the node. the value of the node.
throws:
  ConfigurationException - If conversion to int fails.



getValueAsInt
public int getValueAsInt(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.
Parameters:
  defaultValue - The default value desired. int value of the Configuration, or defaultif none specified.



getValueAsLong
public long getValueAsLong() throws ConfigurationException(Code)
Return the long value of the node.
the value of the node.
throws:
  ConfigurationException - If conversion to long fails.



getValueAsLong
public 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.
Parameters:
  defaultValue - The default value desired. long value of the Configuration, or defaultif none specified.



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)

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