Uses of Interface
erland.util.StorageInterface

Uses of StorageInterface in erland.util
 

Classes in erland.util that implement StorageInterface
 class CookieStorage
          An implementation of StorageInterface that uses a cookie to store inforamtion
 class FileStorage
          Save a string to a file
 class JarFileStorage
          An implementation of StorageInterface that reads data from a file inside a jar file
 class StreamStorage
          Load and Save a string to a InputStream and OutputStream
 class StringStorage
          Implements a storage that stores the data in a String in memory
 class XMLStorage
          A storage object that stores its data as XML in memory
 

Methods in erland.util that return StorageInterface
 StorageInterface StorageFactoryInterface.create(String storageReference)
          Create a new storage with the specified storage refernce
 StorageInterface JarFileStorageFactory.create(String storageReference)
           
protected  StorageInterface ParameterStorageStringEx.getNodeAsStorage(XMLNode node, String name)
          Overridden so it returns the node itself
protected  StorageInterface ParameterStorageString.getNodeAsStorage(XMLNode node, String name)
          Return the specified node as a storage.
 StorageInterface ParameterValueStorageExInterface.getParameterAsStorage(String name)
          Retreives the parameter as a StorageInterface object instead of a value Observe that this is a new StorageInterface object and will not be related to any of your other StorageInterface objects
 StorageInterface ParameterStorageTree.getParameterAsStorage(String name)
           
 StorageInterface ParameterStorageString.getParameterAsStorage(String name)
           
 StorageInterface ParameterStorageParameterString.getParameterAsStorage(String name)
           
 StorageInterface ParameterStorageChild.getParameterAsStorage(String name)
           
protected  StorageInterface ParameterStorageParameterString.getSpecialParameterAsStorageInData(StringBuffer data, String name)
          Gets a storage object for a parameter from the StringBuffer specified, this method is only called if ParameterStorageParameterString.isSpecialHandled(String) returns true
protected  StorageInterface ParameterStorageString.getSpecialParameterAsStorageInData(XMLNode data, String name)
          Gets a storage object for a parameter from the XMLNode tree specified, this method is only called if ParameterStorageString.isSpecialHandled(String) returns true
protected  StorageInterface ParameterStorageGroupWithId.getSpecialParameterAsStorageInData(XMLNode data, String name)
           
protected  StorageInterface ParameterStorageGroup.getSpecialParameterAsStorageInData(XMLNode data, String name)
           
 

Methods in erland.util with parameters of type StorageInterface
protected  XMLNode ParameterStorageString.addChildAsStorage(XMLNode parent, String name, StorageInterface value)
          Add a child XMLNode object to the specified parent, the value of the child object is a StorageInterface object and will be parsed to a child tree if it contains XML
protected  void ParameterStorageParameterString.init(StorageInterface primaryStorage, StorageInterface secondaryStorage, char parameterDelimiter, String primaryStorageParameters, String secondaryStorageParameters)
          Initialize this object
protected  void ParameterStorageString.init(StorageInterface primaryStorage, StorageInterface secondaryStorage, String documentName)
          Initialize this object
protected  void ParameterStorageStringEx.setNodeAsStorage(XMLNode node, String name, StorageInterface value)
          Overridden so it sets the node itself
protected  void ParameterStorageString.setNodeAsStorage(XMLNode node, String name, StorageInterface value)
          Set the specified node as a storage.
 void ParameterValueStorageExInterface.setParameterAsStorage(String name, StorageInterface value)
          Sets the parameter as a StorageInterface object instead of a value Observe that this is a new StorageInterface object must have been retreived with the ParameterValueStorageExInterface.getParameterAsStorage(String) method
 void ParameterStorageTree.setParameterAsStorage(String name, StorageInterface value)
           
 void ParameterStorageString.setParameterAsStorage(String name, StorageInterface value)
           
 void ParameterStorageParameterString.setParameterAsStorage(String name, StorageInterface value)
           
 void ParameterStorageChild.setParameterAsStorage(String name, StorageInterface value)
           
protected  void ParameterStorageParameterString.setSpecialParameterAsStorageInData(StringBuffer data, String name, StorageInterface value)
          Sets the parameter value for a parameter in the StringBuffer specified, this method is only called if ParameterStorageParameterString.isSpecialHandled(String) returns true The value is specified as a StorageInterface object
protected  void ParameterStorageString.setSpecialParameterAsStorageInData(XMLNode data, String name, StorageInterface value)
          Sets the parameter value for a parameter in the XMLNode tree specified, this method is only called if ParameterStorageString.isSpecialHandled(String) returns true The value is specified as a StorageInterface object
protected  void ParameterStorageGroupWithId.setSpecialParameterAsStorageInData(XMLNode data, String name, StorageInterface value)
           
protected  void ParameterStorageGroup.setSpecialParameterAsStorageInData(XMLNode data, String name, StorageInterface value)
           
 

Constructors in erland.util with parameters of type StorageInterface
ParameterStorageGroup(StorageInterface primaryStorage, StorageInterface secondaryStorage, String documentName, String groupPrefix)
          Creates a new object
ParameterStorageGroupWithId(StorageInterface primaryStorage, StorageInterface secondaryStorage, String documentName, String groupPrefix)
          Creates a new object
ParameterStorageParameterString(StorageInterface primaryStorage, StorageInterface secondaryStorage, char parameterDelimiter)
          Createa a storage object
ParameterStorageParameterString(StorageInterface primaryStorage, StorageInterface secondaryStorage, char parameterDelimiter, String primaryStorageParameters, String secondaryStorageParameters)
          Createa a storage object
ParameterStorageString(StorageInterface primaryStorage, StorageInterface secondaryStorage)
          Createa a storage object
ParameterStorageString(StorageInterface primaryStorage, StorageInterface secondaryStorage, String documentName)
          Creates a storage object
ParameterStorageStringEx(StorageInterface primaryStorage, StorageInterface secondaryStorage)
          Createa a storage object
ParameterStorageStringEx(StorageInterface primaryStorage, StorageInterface secondaryStorage, String documentName)
          Creates a storage object
ParameterStorageTree(StorageInterface storage, StorageFactoryInterface subStorageFactory)
          Create an instance which accesses data in the specified storage
 



Copyright © 2003-2005 Erland Isaksson. All Rights Reserved.