tomp.ext.system
Class PropertiesSource

java.lang.Object
  |
  +--tomp.ext.Base
        |
        +--tomp.ext.TreeSource
              |
              +--tomp.ext.BuiltTreeSource
                    |
                    +--tomp.ext.system.PropertiesSource
All Implemented Interfaces:
Source
Direct Known Subclasses:
FilePropertiesSource, SystemSource

public class PropertiesSource
extends BuiltTreeSource

Class PropertiesSource is an implementation of the Source interface, providing access to java.util.Properties.


Field Summary
 
Fields inherited from class tomp.ext.BuiltTreeSource
hasRoot, rootName, srcNsPrefix, srcNsURI, toplevel
 
Fields inherited from class tomp.ext.TreeSource
builder
 
Fields inherited from class tomp.ext.Base
action, application, status, STATUS, STATUS_ABORTED, STATUS_IN_PROCESSING, STATUS_NOT_PROCESSED, STATUS_READY, STATUS_READY_INVALID, STATUS_READY_VALID, validator
 
Constructor Summary
PropertiesSource(Action a, java.lang.String id, Validator v, BuiltTreeSource[] subsources, boolean toplevel, boolean hasRoot, java.util.Properties props, java.lang.String pattern)
           
PropertiesSource(Action a, java.lang.String id, Validator v, BuiltTreeSource[] subsources, boolean toplevel, boolean hasRoot, java.lang.String srcNsURI, java.lang.String srcNsPrefix, java.lang.String rootName, java.util.Properties props, java.lang.String pattern)
           
 
Method Summary
 void body(TreeSourceBuilder tsb)
           
 java.util.Properties getProperties()
           
 void setProperties(java.util.Properties p)
           
 
Methods inherited from class tomp.ext.BuiltTreeSource
getAsRawSource, update, update
 
Methods inherited from class tomp.ext.Base
abortProcessing, commitProcessing, getAsSource, id, isReady, isValid, startProcessing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tomp.ext.Source
getAsSource, id, isReady, isValid
 

Constructor Detail

PropertiesSource

public PropertiesSource(Action a,
                        java.lang.String id,
                        Validator v,
                        BuiltTreeSource[] subsources,
                        boolean toplevel,
                        boolean hasRoot,
                        java.lang.String srcNsURI,
                        java.lang.String srcNsPrefix,
                        java.lang.String rootName,
                        java.util.Properties props,
                        java.lang.String pattern)
                 throws EXTException

PropertiesSource

public PropertiesSource(Action a,
                        java.lang.String id,
                        Validator v,
                        BuiltTreeSource[] subsources,
                        boolean toplevel,
                        boolean hasRoot,
                        java.util.Properties props,
                        java.lang.String pattern)
                 throws EXTException
Method Detail

body

public void body(TreeSourceBuilder tsb)
          throws EXTException,
                 javax.xml.transform.TransformerException
Overrides:
body in class BuiltTreeSource
EXTException
javax.xml.transform.TransformerException

getProperties

public java.util.Properties getProperties()

setProperties

public void setProperties(java.util.Properties p)