Java Doc for Configuration.java in  » XML » activexml » org » xdev » base » core » object » 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 » XML » activexml » org.xdev.base.core.object 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.xdev.base.core.object.Configuration

All known Subclasses:   org.xdev.base.xssl.XSSLComponent,  org.xdev.base.core.compiler.instruction.AbstractInstruction,  org.xdev.base.schema.AbstractComponentSchema,  org.xdev.base.resource.AbstractDataSource,  org.xdev.base.core.AbstractPersistance,  org.xdev.base.descriptor.AbstractMetaDataDescriptor,
Configuration
public class Configuration extends Element implements Cloneable,java.io.Serializable(Code)

author:
   AYegorov
author:
   Company: xDev Group.org
author:
   URL: http://activexml.dev.java.net
author:
   File name: Configuration.java
author:
  

Is bound: false


author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
Description:
author:
   This class is a base for representing a given XML Element node as a set of properties and child elements.
author:
   This class also encapsulated all of the logic for logging, accessing properties via weakly and strong typed methods.
author:
   This class cannot be bound to an XML name.
author:
  

author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  
author:
  

author:
   Properties
author:
  
NameValueDescription
log-level.DEBUGRuntime control for a log4j logging level - set all of the logging output in the component to DEBUG level (default)
log-level.ERRORRuntime control for a log4j logging level - set all of the logging output in the component to ERROR level
log-level.FATALRuntime control for a log4j logging level - set all of the logging output in the component to FATAL level
log-level.WARNRuntime control for a log4j logging level - set all of the logging output in the component to WARN level
log-level.INFORuntime control for a log4j logging level - set all of the logging output in the component to INFO level
log-classany valid regular expressionRuntime control for which log4j statement to execute filtered by a class name
log-regexpany valid regular expressionRuntime control for which log4j statement to execute filtered by content being logged


Field Summary
final public static  LevelDEBUG
    
final public static  StringDROP_CHILDREN
    
final public static  LevelERROR
    
final public static  LevelFATAL
    
final public static  StringID
    
final public static  LevelINFO
    
final public static  StringOWNER
    
final public static  LevelWARN
    
final public static  StringXPATH_CHILDREN
    

Constructor Summary
public  Configuration(String id)
    
public  Configuration(String id, HashMap properties)
    

Method Summary
public  voidaddElement(Configuration element)
    
public  voidaddObserver(Object observer)
    
public  voidaddProperties(HashMap override)
    
public  voidaddProperty(String id, String property)
    
public  voidaddProperty(String id, Object property)
    
public  Objectclone()
    
public  intcountObservers()
    
public  ObjectcreateObject(Configuration source, Object[] inputs, String defaultClass)
    
public  voiddeleteObserver(Object obj)
    
public  booleandocument(StringBuffer buffer)
    
public  ListgetActiveProperties()
    
public  booleangetBooleanProperty(String id)
    
public  Class[]getClassArrayProperty(String id)
    
public  ClassgetClassProperty(String id)
    
public  StringgetCompiledName()
    
public  IPagegetConfig()
    
public  intgetCount()
    
public  intgetCount(String xpathExp)
    
public  ConfigurationgetElement(int index)
    
public  ConfigurationgetElement(String xpathExp)
    
public  ListgetElements(boolean clone)
    
public  ListgetElements()
    
public  ListgetElements(String xpathExp, boolean clone, boolean drop)
    
public  ListgetElements(String xpathExp)
    
public  ObjectgetFieldProperty(String id)
    
public  java.io.FileInputStreamgetFileInputStreamProperty(String string)
    
public  java.io.FileOutputStreamgetFileOutputStreamProperty(String string)
    
public  FilegetFileProperty(String id)
    
public  HashMapgetHashMapProperty(String id)
    
public  StringgetId()
    
public  intgetIntegerProperty(String id)
    
public  CollectiongetKeys()
    
public  StringgetLoggerId()
    
public  longgetLongProperty(String id)
    
public  StringgetNullableProperty(String id)
    
public  Object[]getObjectArrayProperty(String id)
    
public  ObjectgetObjectValue()
    
public  ConfigurationgetOwner()
    
public  StringgetParentLoggerId()
    
public  StringgetPath()
    
public  PatterngetPatternProperty(String id)
    
public  HashMapgetProperties()
    
public  PropertiesgetPropertiesProperty(String string)
    
public  StringgetProperty(Object id)
    
public  ObjectgetPropertyAsObject(Object ids)
    
public  AbstractComponentSchemagetSchema()
    
public  String[]getStringArrayProperty(String id)
    
public  ListgetTokenListProperty(String id)
    
public  StringgetUniqueIdentifier()
    
public  CollectiongetValues()
    
public  XPathgetXPathProperty(String id)
    
public  DocumentgetXmlDocumentPropertyAsFile(String id)
    
public  DocumentgetXmlDocumentPropertyAsValue(String id)
    
public  booleanhasChildren()
    
public  booleanhasChildren(String xpathExp)
    
public  booleanhasNextElement()
    
public  booleanhasProperOwner()
    
public  inthasProperties(String props)
    
public  booleanhasProperty(String id)
    
public  booleanhasProperty(String id, Object value)
    
public  inthasProperty(String[] props)
    
public  booleanhasValue()
    
public  booleanisOwner(Configuration parent)
    
public  voidlog(Object obj)
    
public  voidlog(Object obj, Level def)
    
public  voidlogCustom(Object obj, Level l)
    
public  voidlogCustom(String id, Object obj)
    
public  voidlogCustom(String id, Object obj, Level l)
    
public  voidlogCustom(Logger logger, Object obj, Level l)
    
public  voidlogDebug(Object obj)
    
public  voidlogError(Object obj)
    
public  voidlogFatal(Object obj)
    
public  voidlogWarn(Object obj)
    
public  voidmerge(Element elm)
    
public  ObjectnewInstance(Object root, Object parent)
    
public  Configurationnext()
    
public  voidnotifyObservers(Object parameter)
    
public  ListparseElements(List source, boolean clone)
    
public  voidremoveElement(Configuration element)
    
public  ConfigurationremoveElement(String id)
    
public  voidreset()
    
protected  ObjectresolveKeyword(Object key)
    
public  voidsetChanged()
    
public  voidsetCompiledName(String name)
    
public  voidsetConfig(IPage cfg)
    
public  voidsetElements(List elements)
    
public  voidsetId(String id)
    
public  voidsetParentLoggerId(String parentLoggerId)
    
public  voidsetProperties(HashMap properties)
    
public  voidsetProperty(String id, Object value)
    
public  voidsetValue(Object value)
    
public  StringtoString()
    

Field Detail
DEBUG
final public static Level DEBUG(Code)



DROP_CHILDREN
final public static String DROP_CHILDREN(Code)



ERROR
final public static Level ERROR(Code)



FATAL
final public static Level FATAL(Code)



ID
final public static String ID(Code)



INFO
final public static Level INFO(Code)



OWNER
final public static String OWNER(Code)



WARN
final public static Level WARN(Code)



XPATH_CHILDREN
final public static String XPATH_CHILDREN(Code)




Constructor Detail
Configuration
public Configuration(String id)(Code)



Configuration
public Configuration(String id, HashMap properties)(Code)




Method Detail
addElement
public void addElement(Configuration element)(Code)



addObserver
public void addObserver(Object observer)(Code)



addProperties
public void addProperties(HashMap override)(Code)



addProperty
public void addProperty(String id, String property)(Code)



addProperty
public void addProperty(String id, Object property)(Code)



clone
public Object clone()(Code)



countObservers
public int countObservers()(Code)



createObject
public Object createObject(Configuration source, Object[] inputs, String defaultClass) throws Exception(Code)



deleteObserver
public void deleteObserver(Object obj)(Code)



document
public boolean document(StringBuffer buffer) throws Exception(Code)



getActiveProperties
public List getActiveProperties()(Code)



getBooleanProperty
public boolean getBooleanProperty(String id)(Code)



getClassArrayProperty
public Class[] getClassArrayProperty(String id) throws Exception(Code)



getClassProperty
public Class getClassProperty(String id)(Code)



getCompiledName
public String getCompiledName()(Code)



getConfig
public IPage getConfig()(Code)



getCount
public int getCount()(Code)



getCount
public int getCount(String xpathExp)(Code)



getElement
public Configuration getElement(int index)(Code)



getElement
public Configuration getElement(String xpathExp)(Code)



getElements
public List getElements(boolean clone)(Code)



getElements
public List getElements()(Code)



getElements
public List getElements(String xpathExp, boolean clone, boolean drop)(Code)



getElements
public List getElements(String xpathExp)(Code)



getFieldProperty
public Object getFieldProperty(String id)(Code)



getFileInputStreamProperty
public java.io.FileInputStream getFileInputStreamProperty(String string) throws java.io.FileNotFoundException(Code)



getFileOutputStreamProperty
public java.io.FileOutputStream getFileOutputStreamProperty(String string) throws java.io.FileNotFoundException(Code)



getFileProperty
public File getFileProperty(String id)(Code)



getHashMapProperty
public HashMap getHashMapProperty(String id)(Code)



getId
public String getId()(Code)



getIntegerProperty
public int getIntegerProperty(String id)(Code)



getKeys
public Collection getKeys()(Code)



getLoggerId
public String getLoggerId()(Code)



getLongProperty
public long getLongProperty(String id)(Code)



getNullableProperty
public String getNullableProperty(String id)(Code)



getObjectArrayProperty
public Object[] getObjectArrayProperty(String id)(Code)



getObjectValue
public Object getObjectValue()(Code)



getOwner
public Configuration getOwner()(Code)



getParentLoggerId
public String getParentLoggerId()(Code)
Returns the parentLoggerId.



getPath
public String getPath()(Code)



getPatternProperty
public Pattern getPatternProperty(String id)(Code)



getProperties
public HashMap getProperties()(Code)



getPropertiesProperty
public Properties getPropertiesProperty(String string) throws java.io.FileNotFoundException, java.io.IOException(Code)

Parameters:
  string -



getProperty
public String getProperty(Object id)(Code)



getPropertyAsObject
public Object getPropertyAsObject(Object ids)(Code)



getSchema
public AbstractComponentSchema getSchema()(Code)



getStringArrayProperty
public String[] getStringArrayProperty(String id)(Code)



getTokenListProperty
public List getTokenListProperty(String id)(Code)



getUniqueIdentifier
public String getUniqueIdentifier()(Code)



getValues
public Collection getValues()(Code)



getXPathProperty
public XPath getXPathProperty(String id)(Code)



getXmlDocumentPropertyAsFile
public Document getXmlDocumentPropertyAsFile(String id)(Code)



getXmlDocumentPropertyAsValue
public Document getXmlDocumentPropertyAsValue(String id)(Code)



hasChildren
public boolean hasChildren()(Code)



hasChildren
public boolean hasChildren(String xpathExp)(Code)



hasNextElement
public boolean hasNextElement()(Code)



hasProperOwner
public boolean hasProperOwner()(Code)



hasProperties
public int hasProperties(String props)(Code)



hasProperty
public boolean hasProperty(String id)(Code)



hasProperty
public boolean hasProperty(String id, Object value)(Code)



hasProperty
public int hasProperty(String[] props)(Code)



hasValue
public boolean hasValue()(Code)



isOwner
public boolean isOwner(Configuration parent)(Code)



log
public void log(Object obj)(Code)



log
public void log(Object obj, Level def)(Code)



logCustom
public void logCustom(Object obj, Level l)(Code)



logCustom
public void logCustom(String id, Object obj)(Code)



logCustom
public void logCustom(String id, Object obj, Level l)(Code)



logCustom
public void logCustom(Logger logger, Object obj, Level l)(Code)



logDebug
public void logDebug(Object obj)(Code)



logError
public void logError(Object obj)(Code)



logFatal
public void logFatal(Object obj)(Code)



logWarn
public void logWarn(Object obj)(Code)



merge
public void merge(Element elm) throws Exception(Code)



newInstance
public Object newInstance(Object root, Object parent)(Code)



next
public Configuration next()(Code)



notifyObservers
public void notifyObservers(Object parameter) throws Exception(Code)



parseElements
public List parseElements(List source, boolean clone)(Code)



removeElement
public void removeElement(Configuration element)(Code)



removeElement
public Configuration removeElement(String id)(Code)



reset
public void reset()(Code)



resolveKeyword
protected Object resolveKeyword(Object key)(Code)



setChanged
public void setChanged()(Code)



setCompiledName
public void setCompiledName(String name)(Code)



setConfig
public void setConfig(IPage cfg) throws Exception(Code)



setElements
public void setElements(List elements)(Code)



setId
public void setId(String id)(Code)



setParentLoggerId
public void setParentLoggerId(String parentLoggerId)(Code)

Parameters:
  parentLoggerId - The parentLoggerId to set.



setProperties
public void setProperties(HashMap properties)(Code)



setProperty
public void setProperty(String id, Object value)(Code)



setValue
public void setValue(Object value)(Code)



toString
public String toString()(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.