More information

A C D E F G H I J K L M N O P R S T U V W X

A

accept(ConfigNode) - Method in interface de.spieleck.config.ConfigVerify.Acceptor
 
accept(ConfigNode) - Method in class de.spieleck.pcs.http.XmlControllerConfig
indicates wheter a given ConfigNode is accepted by this object
Action - interface de.spieleck.pcs.action.Action.
This interface defines methods for an Action.
ACTION_RESULT_XSL_FILE - Static variable in interface de.spieleck.pcs.Constants
 
ActionException - exception de.spieleck.pcs.action.ActionException.
This exception is used when Exception or Error occurs during performing an action.
ActionException() - Constructor for class de.spieleck.pcs.action.ActionException
Creates a new instance of ActionException without detail message.
ActionException(String) - Constructor for class de.spieleck.pcs.action.ActionException
Constructs an instance of ActionException with the specified detail message.
ActionFactory - class de.spieleck.pcs.action.ActionFactory.
This object acts as a factory for Actions.
ActionFactory() - Constructor for class de.spieleck.pcs.action.ActionFactory
default constructor for ActionFactory
ActionResult - class de.spieleck.pcs.action.ActionResult.
This class represents the result of a performed Action.
ActionResult() - Constructor for class de.spieleck.pcs.action.ActionResult
Creates a new instance of ActionResult
ActionResult(Source, Hashtable) - Constructor for class de.spieleck.pcs.action.ActionResult
creates an ActionResult with the given values
ActionResult(Source, Hashtable, String) - Constructor for class de.spieleck.pcs.action.ActionResult
creates an ActionResult with the given values
ActionResult(String, Hashtable) - Constructor for class de.spieleck.pcs.action.ActionResult
Creates an instance of ActionResult with the given properties
ActionResult(String, Hashtable, String) - Constructor for class de.spieleck.pcs.action.ActionResult
creates an ActionResult with the given values
addChild(ConfigNodeImpl) - Method in class de.spieleck.config.ConfigNodeImpl
 
addChild(String, String) - Method in class de.spieleck.config.ConfigNodeImpl
 
addConfigUser(ConfigUser) - Method in class de.spieleck.pcs.conf.ConfigAdmin
registers a ConfigUser to the ConfigAdmin
addListener(ConfigListener) - Static method in class de.spieleck.config.Config
We supply a preliminary api to inform listeners about a change in configuration.
addSubReader(ConfigNode) - Method in class de.spieleck.config.ConfigFileNode
 
append(SpeedHashtable) - Method in class de.spieleck.util.SpeedHashtable
Append contents from another SpeedHashtable.

C

capacity - Variable in class de.spieleck.util.SpeedHashtable
The current capacity of the array (half of table.length).
capacity1 - Variable in class de.spieleck.util.SpeedHashtable
capacity - 1.
characters(char[], int, int) - Method in class de.spieleck.config.Config.ConfigSaxHandler
 
checkAuthorization(HttpServletRequest) - Method in class de.spieleck.pcs.http.ControllerServlet
by this method the Controller Servlet checks, if a given request is authorized or not.
children - Variable in class de.spieleck.config.ConfigNodeImpl
And cound your children!
children() - Method in class de.spieleck.config.ConfigSafeNode
 
children() - Method in class de.spieleck.config.EmptyConfigNode
 
children() - Method in class de.spieleck.config.ConfigNodeImpl
 
children() - Method in interface de.spieleck.config.ConfigNode
Enumerate my children.
childrenNamed(String) - Method in class de.spieleck.config.ConfigSafeNode
 
childrenNamed(String) - Method in class de.spieleck.config.EmptyConfigNode
 
childrenNamed(String) - Method in class de.spieleck.config.ConfigNodeImpl
 
childrenNamed(String) - Method in interface de.spieleck.config.ConfigNode
Enumerate children of me, having a certain name.
classCache - Static variable in class de.spieleck.util.FastClassForName
Keep track of all classes aquired for faster second access.
cleanUp() - Method in class de.spieleck.pcs.view.View
used to remove this object from the ConfigAdmins list of ConfigUsers This must be done, since otherwise no old Views would be get by GC since ConfigAdmin helds forever an reference to each View object
clear() - Method in class de.spieleck.util.SpeedHashtable
Removes all objects from the hash table, so that the hash table becomes empty.
cn - Variable in class de.spieleck.config.ConfigSafeNode
 
Config - class de.spieleck.config.Config.
Parser and builder for the "easy" XML based configuration classes.
Config.ConfigSaxHandler - class de.spieleck.config.Config.ConfigSaxHandler.
Subclass to handle parser events
ConfigAdmin - class de.spieleck.pcs.conf.ConfigAdmin.
This class manages ConfigUsers and acts as a Observer to ConfigUsers.
ConfigAdmin() - Constructor for class de.spieleck.pcs.conf.ConfigAdmin
Creates a new instance of ConfigAdmin
configFile - Variable in class de.spieleck.pcs.action.ActionFactory
 
configFile - Variable in class de.spieleck.pcs.factory.DefaultFactory
 
configFile - Variable in class de.spieleck.pcs.xml.XmlProducerFactory
 
ConfigFileNode - class de.spieleck.config.ConfigFileNode.
A ConfigNode that is responsible for actually holding nodes from a file.
ConfigListener - interface de.spieleck.config.ConfigListener.
 
ConfigNode - interface de.spieleck.config.ConfigNode.
Basic interface to programm against when using the Config tool.
ConfigNodeImpl - class de.spieleck.config.ConfigNodeImpl.
Basic Data container in a Config environment.
ConfigNodeImpl.ConfigIterator - class de.spieleck.config.ConfigNodeImpl.ConfigIterator.
 
ConfigNodeImpl.ConfigIterator(ConfigNodeImpl, String) - Constructor for class de.spieleck.config.ConfigNodeImpl.ConfigIterator
 
ConfigNodeImpl(String, String, ConfigParamMap) - Constructor for class de.spieleck.config.ConfigNodeImpl
 
ConfigParamMap - interface de.spieleck.config.ConfigParamMap.
Modell a container to take parameter values and expand parameter references.
ConfigSafeNode - class de.spieleck.config.ConfigSafeNode.
An implementation of config node, that does not allow the client to proceed upwards in the configuration tree.
ConfigSafeNode.SafeIterator - class de.spieleck.config.ConfigSafeNode.SafeIterator.
Wrapper class to return only safe ConfigNodes
ConfigSafeNode.SafeIterator(Iterator, ConfigNode) - Constructor for class de.spieleck.config.ConfigSafeNode.SafeIterator
 
ConfigSafeNode(ConfigNode) - Constructor for class de.spieleck.config.ConfigSafeNode
Wrap this node in a safe one.
ConfigSafeNode(ConfigNode, ConfigNode) - Constructor for class de.spieleck.config.ConfigSafeNode
Wrap a node into a safe one and prescibe a root.
ConfigUser - interface de.spieleck.pcs.conf.ConfigUser.
This interface defines methods for a ConfigUser used with a ConfigAdmin object.
ConfigVerify - class de.spieleck.config.ConfigVerify.
Class to unify at least some detection of unwanted children.
ConfigVerify.Acceptor - interface de.spieleck.config.ConfigVerify.Acceptor.
Interface to be provided by a node to be verified.
ConfigVerify() - Constructor for class de.spieleck.config.ConfigVerify
 
Constants - interface de.spieleck.pcs.Constants.
Interface for holding constants
containsKey(Object) - Method in class de.spieleck.util.SpeedHashtable
This API is obviously useless :-)
CONTEXT_REAL_PATH - Static variable in interface de.spieleck.pcs.Constants
 
contextClassForName(String, Class) - Static method in class de.spieleck.util.FastClassForName
Try to load a class from the right contextual classloader.
CONTOLLER_XML_CONFIG_PARAM - Static variable in interface de.spieleck.pcs.Constants
 
CONTROLLER_SESSION_EXCEPTION_PARAM_NAME - Static variable in interface de.spieleck.pcs.Constants
 
controllerConfig - Variable in class de.spieleck.pcs.http.ControllerServlet
 
ControllerConfig - interface de.spieleck.pcs.http.ControllerConfig.
This interface provides methods for configuration of the ControllerServlet XXX Should it be generic or not?
ControllerException - exception de.spieleck.pcs.http.ControllerException.
Exception class used by Controller
ControllerException() - Constructor for class de.spieleck.pcs.http.ControllerException
Creates a new instance of ControllerException without detail message.
ControllerException(String) - Constructor for class de.spieleck.pcs.http.ControllerException
Constructs an instance of ControllerException with the specified detail message.
ControllerServlet - class de.spieleck.pcs.http.ControllerServlet.
This servlet acts as a Controller defined by the Front Controller Pattern.
ControllerServlet() - Constructor for class de.spieleck.pcs.http.ControllerServlet
 
ConvertHelp - class de.spieleck.config.ConvertHelp.
Helperclass for type conversions.
copyChildren(ConfigNode) - Method in class de.spieleck.config.ConfigNodeImpl
 
countChildren() - Method in class de.spieleck.config.ConfigSafeNode
 
countChildren() - Method in class de.spieleck.config.EmptyConfigNode
 
countChildren() - Method in class de.spieleck.config.ConfigNodeImpl
 
countChildren() - Method in interface de.spieleck.config.ConfigNode
Count the number of children we have.
countChildrenNamed(String) - Method in class de.spieleck.config.ConfigSafeNode
 
countChildrenNamed(String) - Method in class de.spieleck.config.EmptyConfigNode
 
countChildrenNamed(String) - Method in class de.spieleck.config.ConfigNodeImpl
 
countChildrenNamed(String) - Method in interface de.spieleck.config.ConfigNode
Count the number of children we have.

D

data - Variable in class de.spieleck.config.SimpleParamMap
 
de.spieleck.config - package de.spieleck.config
Provide simple access to xml based configuration files.
de.spieleck.net - package de.spieleck.net
 
de.spieleck.pcs - package de.spieleck.pcs
 
de.spieleck.pcs.action - package de.spieleck.pcs.action
 
de.spieleck.pcs.action.base - package de.spieleck.pcs.action.base
 
de.spieleck.pcs.conf - package de.spieleck.pcs.conf
This package deals with reinitialization of configurable classes like
de.spieleck.pcs.factory - package de.spieleck.pcs.factory
This package contains classes for using the Factory Design Pattern.
de.spieleck.pcs.http - package de.spieleck.pcs.http
This package contains the classes dealing with the HTTP communication and servlet container issues.
de.spieleck.pcs.util - package de.spieleck.pcs.util
 
de.spieleck.pcs.view - package de.spieleck.pcs.view
 
de.spieleck.pcs.xml - package de.spieleck.pcs.xml
 
de.spieleck.util - package de.spieleck.util
 
decode(String) - Static method in class de.spieleck.net.URLTools
Decode String from application/x-www-form-urlencoded to regular Java encoding.
decode(String, String) - Static method in class de.spieleck.net.URLTools
Decodes a application/x-www-form-urlencoded to regular Java encoding with specified URL encoding.
DefaultAction - class de.spieleck.pcs.action.base.DefaultAction.
This is the DefaultAction
DefaultAction() - Constructor for class de.spieleck.pcs.action.base.DefaultAction
 
defaultConfig - Static variable in class de.spieleck.config.Config
 
defaultEncoding - Static variable in class de.spieleck.net.URLTools
Default assumption for urlDecode (XXX should be use UTF-8?)
DefaultFactory - class de.spieleck.pcs.factory.DefaultFactory.
The DefaultFactory implements the Factory Interface.
DefaultFactory() - Constructor for class de.spieleck.pcs.factory.DefaultFactory
Creates a new instance of DefaultFactory
DefaultFactory(String) - Constructor for class de.spieleck.pcs.factory.DefaultFactory
creates a new instance of DefaultFactory using the given file for configuration
description - Static variable in class de.spieleck.pcs.http.ControllerServlet
 
destroy() - Method in class de.spieleck.pcs.http.ControllerServlet
Destroys the servlet.
display(HttpServletRequest, HttpServletResponse, ActionResult, ServiceInfo) - Method in class de.spieleck.pcs.http.ControllerServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class de.spieleck.pcs.http.ControllerServlet
Handles the HTTP GET method by calling processRequest
dontNeedEncoding - Static variable in class de.spieleck.net.URLTools
 
doParam(AttributeList) - Method in class de.spieleck.config.Config.ConfigSaxHandler
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class de.spieleck.pcs.http.ControllerServlet
Handles the HTTP POST method by calling processRequest

E

elements() - Method in class de.spieleck.util.SpeedHashtable
 
EmptyConfigNode - class de.spieleck.config.EmptyConfigNode.
An ConfigNode, that contains nothing.
EmptyIterator - class de.spieleck.util.EmptyIterator.
Convenicence class to provide an empty implementation of the Iterator Interface.
encode(String) - Static method in class de.spieleck.net.URLTools
 
encodeQueryString(String) - Static method in class de.spieleck.net.URLTools
Currently a quick hack to encode certain special characters in a URL's querystring part.
endElement(String) - Method in class de.spieleck.config.Config.ConfigSaxHandler
 
equals(Object) - Method in class de.spieleck.util.Strings
 
error(SAXParseException) - Method in class de.spieleck.config.Config.ConfigSaxHandler
 
ErrorAction - class de.spieleck.pcs.action.base.ErrorAction.
This action is used by the controller servlet for error handling
ErrorAction() - Constructor for class de.spieleck.pcs.action.base.ErrorAction
Creates a new instance of ErrorAction
EXCEPTION_SERVICE_NAME - Static variable in interface de.spieleck.pcs.Constants
 
EXP - Static variable in class de.spieleck.util.StringKeyHashtable
 
expand(String) - Method in class de.spieleck.config.SimpleParamMap
 
expand(String) - Method in interface de.spieleck.config.ConfigParamMap
Expand a string (i.e. expand parameter references)
expand(String) - Method in class de.spieleck.config.NullParamMap
 
expand(String, SimpleParamGetter) - Static method in class de.spieleck.config.SimpleParamMap
static implementation of an expand method, that resembles Ant ${param} behaviour.
extractXmlValue(String, String) - Static method in class de.spieleck.pcs.util.XmlUtility
returns the text within the first given occurrance of an XML element named tag in the string named xmlSource.

F

Factory - interface de.spieleck.pcs.factory.Factory.
This interface describes the methods of a Factory which is configurable via a config file
FactoryException - exception de.spieleck.pcs.factory.FactoryException.
This exception is used to wrap an exception occuring during factoring an Object via a Factory
FactoryException() - Constructor for class de.spieleck.pcs.factory.FactoryException
Creates a new instance of FactoryException without detail message.
FactoryException(String) - Constructor for class de.spieleck.pcs.factory.FactoryException
Constructs an instance of FactoryException with the specified detail message.
FastClassForName - class de.spieleck.util.FastClassForName.
This is a replacement for Class.forName(...).newInstance().
fatalError(SAXParseException) - Method in class de.spieleck.config.Config.ConfigSaxHandler
 
FILEPROTO - Static variable in class de.spieleck.net.URLTools
 
fName - Variable in class de.spieleck.config.ConfigFileNode
 

G

get(Object) - Method in class de.spieleck.util.SpeedHashtable
 
getAction() - Method in class de.spieleck.pcs.http.ServiceInfo
returns an instance of the Action connected to this Service
getActionName() - Method in class de.spieleck.pcs.http.ServiceInfo
returns the class name of the Action connected to this Service
getAuthChecker() - Method in class de.spieleck.pcs.http.ServiceInfo
Getter for property authChecker.
getBoolean() - Method in class de.spieleck.config.ConfigSafeNode
 
getBoolean() - Method in class de.spieleck.config.EmptyConfigNode
 
getBoolean() - Method in class de.spieleck.config.ConfigNodeImpl
 
getBoolean() - Method in interface de.spieleck.config.ConfigNode
Get value as a boolean.
getBoolean(ConfigNode, boolean) - Static method in class de.spieleck.config.ConvertHelp
 
getBoolean(String) - Static method in class de.spieleck.config.ConvertHelp
 
getBoolean(String, boolean) - Method in class de.spieleck.config.ConfigSafeNode
 
getBoolean(String, boolean) - Method in class de.spieleck.config.EmptyConfigNode
 
getBoolean(String, boolean) - Method in class de.spieleck.config.ConfigNodeImpl
 
getBoolean(String, boolean) - Method in interface de.spieleck.config.ConfigNode
Get value of subnode as boolean, using default if necessary.
getBranchNode() - Method in class de.spieleck.config.ConfigSafeNode
 
getBranchNode() - Method in class de.spieleck.config.EmptyConfigNode
 
getBranchNode() - Method in class de.spieleck.config.ConfigNodeImpl
Getting the node responsible for reading the file.
getBranchNode() - Method in class de.spieleck.config.ConfigFileNode
 
getBranchNode() - Method in interface de.spieleck.config.ConfigNode
Find the node responsible for reading this node from file.
getConfig() - Static method in class de.spieleck.config.Config
 
getConfigFile() - Method in class de.spieleck.pcs.factory.DefaultFactory
Getter for property configFile.
getConfigFile() - Method in interface de.spieleck.pcs.factory.Factory
Getter for property configFile.
getConfigUserNames() - Method in class de.spieleck.pcs.conf.ConfigAdmin
 
getDouble() - Method in class de.spieleck.config.ConfigSafeNode
 
getDouble() - Method in class de.spieleck.config.EmptyConfigNode
 
getDouble() - Method in class de.spieleck.config.ConfigNodeImpl
 
getDouble() - Method in interface de.spieleck.config.ConfigNode
Get value as a double.
getDouble(ConfigNode, double) - Static method in class de.spieleck.config.ConvertHelp
 
getDouble(String) - Static method in class de.spieleck.config.ConvertHelp
 
getDouble(String, double) - Method in class de.spieleck.config.ConfigSafeNode
 
getDouble(String, double) - Method in class de.spieleck.config.EmptyConfigNode
 
getDouble(String, double) - Method in class de.spieleck.config.ConfigNodeImpl
 
getDouble(String, double) - Method in interface de.spieleck.config.ConfigNode
Get value of subnode as double, using default when necessary.
getElementSnap() - Method in class de.spieleck.util.SpeedHashtable
Snapshot hashtable elements.
getFileString(String) - Static method in class de.spieleck.net.URLTools
Alternative call with String Argument
getFileString(URL) - Static method in class de.spieleck.net.URLTools
XXX method to obtain the absolut path of a file-url. this method is necessary due to a missing constructor File(URL url) in java.io.File (JDK1.3.1)
getIn() - Method in class de.spieleck.pcs.view.JTidyThread
Getter for property in.
getInhBoolean(String, boolean) - Method in class de.spieleck.config.ConfigSafeNode
 
getInhBoolean(String, boolean) - Method in class de.spieleck.config.EmptyConfigNode
 
getInhBoolean(String, boolean) - Method in class de.spieleck.config.ConfigNodeImpl
 
getInhBoolean(String, boolean) - Method in interface de.spieleck.config.ConfigNode
Get value of subnode as boolean searching parent nodes before using default.
getInhDouble(String, double) - Method in class de.spieleck.config.ConfigSafeNode
 
getInhDouble(String, double) - Method in class de.spieleck.config.EmptyConfigNode
 
getInhDouble(String, double) - Method in class de.spieleck.config.ConfigNodeImpl
 
getInhDouble(String, double) - Method in interface de.spieleck.config.ConfigNode
Get value of subnode as double searching parent nodes before using default.
getInhInt(String, int) - Method in class de.spieleck.config.ConfigSafeNode
 
getInhInt(String, int) - Method in class de.spieleck.config.EmptyConfigNode
 
getInhInt(String, int) - Method in class de.spieleck.config.ConfigNodeImpl
 
getInhInt(String, int) - Method in interface de.spieleck.config.ConfigNode
Get value of subnode as int searching parent nodes before using default.
getInhString(String, String) - Method in class de.spieleck.config.ConfigSafeNode
 
getInhString(String, String) - Method in class de.spieleck.config.EmptyConfigNode
 
getInhString(String, String) - Method in class de.spieleck.config.ConfigNodeImpl
 
getInhString(String, String) - Method in interface de.spieleck.config.ConfigNode
Get value of subnode as String searching parent nodes before using default.
getInstance() - Static method in class de.spieleck.config.EmptyConfigNode
 
getInstance() - Static method in class de.spieleck.config.NullParamMap
 
getInstance() - Static method in class de.spieleck.pcs.conf.ConfigAdmin
returns an instance of ConfigAdmin, used for implementing the Singleton pattern
getInstance() - Static method in class de.spieleck.util.EmptyIterator
 
getInt() - Method in class de.spieleck.config.ConfigSafeNode
 
getInt() - Method in class de.spieleck.config.EmptyConfigNode
 
getInt() - Method in class de.spieleck.config.ConfigNodeImpl
 
getInt() - Method in interface de.spieleck.config.ConfigNode
Get value as an integer.
getInt(ConfigNode, int) - Static method in class de.spieleck.config.ConvertHelp
 
getInt(String) - Static method in class de.spieleck.config.ConvertHelp
 
getInt(String, int) - Method in class de.spieleck.config.ConfigSafeNode
 
getInt(String, int) - Method in class de.spieleck.config.EmptyConfigNode
 
getInt(String, int) - Method in class de.spieleck.config.ConfigNodeImpl
 
getInt(String, int) - Method in interface de.spieleck.config.ConfigNode
Get value of subnode as integer, using default when necessary.
getKeySnap() - Method in class de.spieleck.util.SpeedHashtable
Snapshot hashtable keys.
getLength() - Method in class de.spieleck.util.Strings
 
getName() - Method in class de.spieleck.config.ConfigSafeNode
 
getName() - Method in class de.spieleck.config.EmptyConfigNode
 
getName() - Method in class de.spieleck.config.ConfigNodeImpl
 
getName() - Method in interface de.spieleck.config.ConfigNode
Get the name of the node.
getName() - Method in class de.spieleck.pcs.http.ServiceInfo
gets the name of this Service
getNewObject(String) - Method in class de.spieleck.pcs.action.ActionFactory
factory method for creating objects.
getNewObject(String) - Method in class de.spieleck.pcs.factory.DefaultFactory
factory method for creating objects.
getNewObject(String) - Method in interface de.spieleck.pcs.factory.Factory
factory method for creating objects.
getNewObject(String) - Method in class de.spieleck.pcs.xml.XmlProducerFactory
factory method for creating objects.
getOut() - Method in class de.spieleck.pcs.view.JTidyThread
Getter for property out.
getOutputStream() - Method in class de.spieleck.pcs.view.View
returns the OutputStream of this View
getParam(String) - Method in class de.spieleck.config.SimpleParamMap
 
getParam(String) - Method in interface de.spieleck.config.SimpleParamGetter
 
getParameters() - Method in class de.spieleck.pcs.action.ActionResult
returns the parameters of this ActionResult as a Hashtable
getParameters(HttpServletRequest) - Static method in class de.spieleck.pcs.http.HttpUtil
extracts the parameters of the given request and returns them in a Hashtable param request the HttpServletRequest to extract parameters from
getParent() - Method in class de.spieleck.config.ConfigSafeNode
 
getParent() - Method in class de.spieleck.config.EmptyConfigNode
 
getParent() - Method in class de.spieleck.config.ConfigNodeImpl
 
getParent() - Method in interface de.spieleck.config.ConfigNode
Get the node above.
getPath() - Method in class de.spieleck.config.ConfigSafeNode
 
getPath() - Method in class de.spieleck.config.EmptyConfigNode
 
getPath() - Method in class de.spieleck.config.ConfigNodeImpl
 
getPath() - Method in interface de.spieleck.config.ConfigNode
Get the complete path of the node.
getProperties() - Method in class de.spieleck.pcs.factory.DefaultFactory
Getter for property properties.
getProperties() - Method in interface de.spieleck.pcs.factory.Factory
Getter for property properties.
getService(HttpServletRequest) - Method in class de.spieleck.pcs.http.ControllerServlet
returns an Action matching the given request.
getServiceInfo(String) - Method in class de.spieleck.pcs.http.XmlControllerConfig
returns the ServiceInfo object related to a Service with the given name
getServiceInfo(String) - Method in interface de.spieleck.pcs.http.ControllerConfig
returns the ServiceInfo object related to a Service with the given name
getServletInfo() - Method in class de.spieleck.pcs.http.ControllerServlet
Returns a short description of the servlet.
getSource() - Method in class de.spieleck.pcs.action.ActionResult
Getter for property source.
getSourceFileName() - Method in class de.spieleck.config.ConfigNodeImpl
 
getSourceFileName() - Method in class de.spieleck.config.ConfigFileNode
 
getString() - Method in class de.spieleck.config.ConfigSafeNode
 
getString() - Method in class de.spieleck.config.EmptyConfigNode
 
getString() - Method in class de.spieleck.config.ConfigNodeImpl
 
getString() - Method in interface de.spieleck.config.ConfigNode
Get value as String.
getString(ConfigNode, String) - Static method in class de.spieleck.config.ConvertHelp
 
getString(int) - Method in class de.spieleck.util.Strings
 
getString(String, String) - Method in class de.spieleck.config.ConfigSafeNode
 
getString(String, String) - Method in class de.spieleck.config.EmptyConfigNode
 
getString(String, String) - Method in class de.spieleck.config.ConfigNodeImpl
 
getString(String, String) - Method in interface de.spieleck.config.ConfigNode
Get value of subnode as String, using default when necessary.
getStylesheet() - Method in class de.spieleck.pcs.http.ServiceInfo
Getter for property stylesheet.
getStyleSheet() - Method in class de.spieleck.pcs.action.ActionResult
returns the name of the stylesheet to be used with this ActionResult, can be used for variable stylesheets (e.g. display the Results in a table overview or in detail) and to overwrite the stylesheet setting of the service
getStyleSheetAbsoluteFileName(String) - Method in class de.spieleck.pcs.http.XmlControllerConfig
convenience method for getting the absolute path of the given file relativ to the configured stylesheet directories. the named service
getStyleSheetAbsoluteFileName(String) - Method in interface de.spieleck.pcs.http.ControllerConfig
returns the absolute path of the stylesheet file connected to the named service
getStyleSheetDirs() - Method in class de.spieleck.pcs.http.XmlControllerConfig
returns the names of the directories, where stylesheets can be found
getStyleSheetDirs() - Method in interface de.spieleck.pcs.http.ControllerConfig
returns the names of the directories, where stylesheets can be found
getValue() - Method in class de.spieleck.config.ConfigNodeImpl
 
getVersion() - Method in interface de.spieleck.pcs.xml.XmlProducer
returns the version of the created Xml as a String
getVersion() - Method in class de.spieleck.pcs.xml.XmlProducerBase
returns the version of the created Xml as a String
getXml() - Method in class de.spieleck.pcs.action.ActionResult
Deprecated. use getSource() instead

H

handleChange(ConfigNode) - Static method in class de.spieleck.config.Config
 
handleConfigChange(ConfigNode) - Method in interface de.spieleck.config.ConfigListener
 
handleException(HttpServletRequest, HttpServletResponse, Exception) - Method in class de.spieleck.pcs.http.ControllerServlet
This method handles exceptions by addind the exception to the session and call processRequest.
hashCode() - Method in class de.spieleck.util.Strings
 
hashCode(Object) - Method in class de.spieleck.util.SpeedHashtable
This is a customization API to replace hashCode() by more efficient methods.
hashCode(Object) - Method in class de.spieleck.util.StringKeyHashtable
Replace the usual java hashCode for Strings by something faster.
hasNext() - Method in class de.spieleck.config.ConfigSafeNode.SafeIterator
 
hasNext() - Method in class de.spieleck.config.ConfigNodeImpl.ConfigIterator
 
hasNext() - Method in class de.spieleck.util.EmptyIterator
 
HttpUtil - class de.spieleck.pcs.http.HttpUtil.
Utility class for programming servlets
HttpUtil() - Constructor for class de.spieleck.pcs.http.HttpUtil
 

I

INC_DIR - Static variable in class de.spieleck.config.Config
 
INC_EXCL - Static variable in class de.spieleck.config.Config
 
INC_HREF - Static variable in class de.spieleck.config.Config
 
INC_LIST - Static variable in class de.spieleck.config.Config
 
INC_PATH - Static variable in class de.spieleck.config.Config
 
INC_SEP - Static variable in class de.spieleck.config.Config
 
INCLUDEELEM - Static variable in class de.spieleck.config.Config
 
inFile - Variable in class de.spieleck.config.ConfigFileNode
 
InfoAction - class de.spieleck.pcs.action.base.InfoAction.
This action is used for testing if pcs is up and running correctly.
InfoAction() - Constructor for class de.spieleck.pcs.action.base.InfoAction
Creates a new instance of DefaultAuthorization
init(ServletConfig) - Method in class de.spieleck.pcs.http.ControllerServlet
Initializes the servlet.
isDynamicView() - Method in class de.spieleck.pcs.http.ServiceInfo
Getter for property dynamicView.
isEmpty() - Method in class de.spieleck.util.SpeedHashtable
 
isUseJTidy() - Static method in class de.spieleck.pcs.view.View
Getter for property useJTidy.

J

JTidyThread - class de.spieleck.pcs.view.JTidyThread.
This class encapsulates the tidying of the transformed HTML in an own Thread
JTidyThread(InputStream, OutputStream) - Constructor for class de.spieleck.pcs.view.JTidyThread
Creates a new instance of JTidyThread

K

keys() - Method in class de.spieleck.util.SpeedHashtable
 

L

lastGetIndex - Variable in class de.spieleck.util.SpeedHashtable
This data allows nice threadunsafe optimizations.
lastKey - Variable in class de.spieleck.util.SpeedHashtable
This data allows nice threadunsafe optimizations.
lastModified - Variable in class de.spieleck.config.ConfigFileNode
 
LENGTH - Static variable in class de.spieleck.util.StringKeyHashtable
 
listeners - Static variable in class de.spieleck.config.Config
 

M

main(String[]) - Static method in class de.spieleck.util.StringKeyHashtable
 
MAXBYTESPERCHAR - Static variable in class de.spieleck.net.URLTools
 
mySelf - Static variable in class de.spieleck.util.EmptyIterator
This is a Singleton.

N

name - Variable in class de.spieleck.config.ConfigNodeImpl
Node name
NAME_ATTR - Static variable in class de.spieleck.config.Config
 
newInstance(String, Class) - Static method in class de.spieleck.util.FastClassForName
 
newInstance(String, String, Class) - Static method in class de.spieleck.util.FastClassForName
 
newInstance(String, String, Class, Class) - Static method in class de.spieleck.util.FastClassForName
 
newSAXParser() - Static method in class de.spieleck.config.Config
obtain a new parser
next() - Method in class de.spieleck.config.ConfigSafeNode.SafeIterator
 
next() - Method in class de.spieleck.config.ConfigNodeImpl.ConfigIterator
 
next() - Method in class de.spieleck.util.EmptyIterator
 
node(String) - Method in class de.spieleck.config.ConfigSafeNode
 
node(String) - Method in class de.spieleck.config.EmptyConfigNode
 
node(String) - Method in class de.spieleck.config.ConfigNodeImpl
Find the very first child, grandchild, ... that matches a path!
node(String) - Method in interface de.spieleck.config.ConfigNode
Find sub node matching name.
nodeInh(String) - Method in class de.spieleck.config.ConfigSafeNode
 
nodeInh(String) - Method in class de.spieleck.config.EmptyConfigNode
 
nodeInh(String) - Method in class de.spieleck.config.ConfigNodeImpl
Find the very first child of this node or a parent fullfilling the path.
nodeInh(String) - Method in interface de.spieleck.config.ConfigNode
Find node or parent sub node matching name.
NoSuchKeyException - exception de.spieleck.pcs.factory.NoSuchKeyException.
This exception is thrown if a Factory is working but no object with the given key could be found.
NoSuchKeyException() - Constructor for class de.spieleck.pcs.factory.NoSuchKeyException
Creates a new instance of NoSuchKeyException without detail message.
NoSuchKeyException(String) - Constructor for class de.spieleck.pcs.factory.NoSuchKeyException
Constructs an instance of NoSuchKeyException with the specified detail message.
NoSuchProducerFoundException - exception de.spieleck.pcs.xml.NoSuchProducerFoundException.
Exception to be used if no suiting XmlProducer is found
NoSuchProducerFoundException() - Constructor for class de.spieleck.pcs.xml.NoSuchProducerFoundException
Creates a new instance of NoSuchProducerFoundException without detail message.
NoSuchProducerFoundException(String) - Constructor for class de.spieleck.pcs.xml.NoSuchProducerFoundException
Constructs an instance of NoSuchProducerFoundException with the specified detail message.
NullParamMap - class de.spieleck.config.NullParamMap.
Do nothing implementation of ConfigParamMap

O

output(ActionResult, String) - Method in class de.spieleck.pcs.view.View
displays the given ActionResult on this View

P

PARAMELEM - Static variable in class de.spieleck.config.Config
 
parent - Variable in class de.spieleck.config.ConfigNodeImpl
Remember your parent(s), boy
parse(InputSource) - Static method in class de.spieleck.config.Config
Parse setup tree from an InputSource
parse(InputSource, ConfigParamMap) - Static method in class de.spieleck.config.Config
 
PATHSEP - Static variable in class de.spieleck.config.ConfigNodeImpl
 
perform(Hashtable) - Method in interface de.spieleck.pcs.action.Action
performs the Action
perform(Hashtable) - Method in class de.spieleck.pcs.action.base.TestErrorAction
throws an ActionException
perform(Hashtable) - Method in class de.spieleck.pcs.action.base.DefaultAction
performs the Action, actually just creates a simple ActionResult with the following XML structure:
"".
perform(Hashtable) - Method in class de.spieleck.pcs.action.base.ErrorAction
parameters must contain the following:keyvalue "error.typetype of error "error.messageerror message (for user) "error.stackerror stack (for developer) All keys and values are Strings.
perform(Hashtable) - Method in class de.spieleck.pcs.action.base.ShowXmlAction
loads the XML file specified by the parameter "file"
perform(Hashtable) - Method in class de.spieleck.pcs.action.base.ResetConfigAction
performs the Action
perform(Hashtable) - Method in class de.spieleck.pcs.action.base.InfoAction
This action delievers as Result information about the pcs-Framework
pm - Variable in class de.spieleck.config.ConfigNodeImpl
A Parameter-Mapping class
print(PrintWriter) - Method in class de.spieleck.config.ConfigSafeNode
 
print(PrintWriter) - Method in class de.spieleck.config.EmptyConfigNode
 
print(PrintWriter) - Method in class de.spieleck.config.ConfigNodeImpl
 
print(PrintWriter) - Method in interface de.spieleck.config.ConfigNode
Pretty print this node with its whole subtree.
processRequest(HttpServletRequest, HttpServletResponse) - Method in class de.spieleck.pcs.http.ControllerServlet
Processes requests for both HTTP GET and POST methods.
put(Object, Object) - Method in class de.spieleck.util.SpeedHashtable
 

R

remove() - Method in class de.spieleck.config.ConfigSafeNode.SafeIterator
 
remove() - Method in class de.spieleck.config.ConfigNodeImpl.ConfigIterator
 
remove() - Method in class de.spieleck.util.EmptyIterator
 
remove(Object) - Method in class de.spieleck.util.SpeedHashtable
Removes the object with the specified key from the table.
removeConfigUser(ConfigUser) - Method in class de.spieleck.pcs.conf.ConfigAdmin
unregisters a ConfigUser from the ConfigAdmin
removeListener(ConfigListener) - Static method in class de.spieleck.config.Config
 
replaceLastGet(Object) - Method in class de.spieleck.util.SpeedHashtable
Slightly dirty solution to the double hash and search effect in the (very common sequence): SpeedHashtable fh = ...
REQUEST_PATH_PARAM - Static variable in interface de.spieleck.pcs.Constants
key used for the HttpRequest path
REQUEST_SERVICE_NAME_PARAM - Static variable in interface de.spieleck.pcs.Constants
used as parameter name for the parameter containing the name of the used Service
resetConfig() - Method in interface de.spieleck.pcs.conf.ConfigUser
resets the configuration
resetConfig() - Method in class de.spieleck.pcs.conf.ConfigAdmin
resets the configuration of all registered ConfigUsers
resetConfig() - Method in class de.spieleck.pcs.factory.DefaultFactory
resets the configuration
resetConfig() - Method in class de.spieleck.pcs.http.ControllerServlet
resets the configuration by calling the Servlet's init method
resetConfig() - Method in class de.spieleck.pcs.view.View
resets the configuration
ResetConfigAction - class de.spieleck.pcs.action.base.ResetConfigAction.
This Action is used for resetting the configuration of various objects used within pcs
ResetConfigAction() - Constructor for class de.spieleck.pcs.action.base.ResetConfigAction
Creates a new instance of ResetConfigAction
root - Variable in class de.spieleck.config.ConfigSafeNode
 
ROOT_NODE - Static variable in interface de.spieleck.pcs.http.ControllerConfig
 
run() - Method in class de.spieleck.pcs.view.JTidyThread
parses the InputStream with JTidy and writes it to the OutputStream
run() - Method in class de.spieleck.pcs.view.XslTransformThread
 

S

ServiceInfo - class de.spieleck.pcs.http.ServiceInfo.
This objects represents information about a Service provided by the ControllerServlet.
ServiceInfo() - Constructor for class de.spieleck.pcs.http.ServiceInfo
Creates a new instance of ServiceInfo
ServiceInfo(String, String, String) - Constructor for class de.spieleck.pcs.http.ServiceInfo
Creates a ServiceInfo with the given settings
ServiceInfo(String, String, String, boolean) - Constructor for class de.spieleck.pcs.http.ServiceInfo
Creates a ServiceInfo with the given settings
SESSION_AS_PARAMETER_NAME - Static variable in interface de.spieleck.pcs.Constants
 
set(String, String) - Method in class de.spieleck.config.SimpleParamMap
 
set(String, String) - Method in interface de.spieleck.config.ConfigParamMap
Add a parameter value
set(String, String) - Method in class de.spieleck.config.NullParamMap
Add a parameter value
setActionName(String) - Method in class de.spieleck.pcs.http.ServiceInfo
sets the class name of the Action of this Service
setAuthChecker(String) - Method in class de.spieleck.pcs.http.ServiceInfo
Setter for property authChecker.
setConfig(ConfigFileNode) - Static method in class de.spieleck.config.Config
 
setConfigFile(String) - Method in class de.spieleck.pcs.factory.DefaultFactory
Setter for property configFile.
setConfigFile(String) - Method in interface de.spieleck.pcs.factory.Factory
Setter for property configFile.
setDocumentLocator(Locator) - Method in class de.spieleck.config.Config.ConfigSaxHandler
 
setDynamicView(boolean) - Method in class de.spieleck.pcs.http.ServiceInfo
Setter for property dynamicView.
setIn(InputStream) - Method in class de.spieleck.pcs.view.JTidyThread
Setter for property in.
setName(String) - Method in class de.spieleck.pcs.http.ServiceInfo
sets the name of this Service
setOut(OutputStream) - Method in class de.spieleck.pcs.view.JTidyThread
Setter for property out.
setOutputStream(OutputStream) - Method in class de.spieleck.pcs.view.View
sets the stream to write on
setParameters(Hashtable) - Method in class de.spieleck.pcs.action.ActionResult
sets the parameters of this ActionResult
setParent(ConfigNode) - Method in class de.spieleck.config.ConfigNodeImpl
 
setParent(ConfigNode) - Method in class de.spieleck.config.ConfigFileNode
 
setProperties(Properties) - Method in class de.spieleck.pcs.factory.DefaultFactory
Setter for property properties.
setProperties(Properties) - Method in interface de.spieleck.pcs.factory.Factory
Setter for property properties.
setProperties(Transformer, Hashtable) - Method in class de.spieleck.pcs.view.View
sets the Parameters of the given Transformer using the values stored in the given Hashtable
setSource(Source) - Method in class de.spieleck.pcs.action.ActionResult
Setter for property source.
setString(int, String) - Method in class de.spieleck.util.Strings
 
setStylesheet(String) - Method in class de.spieleck.pcs.http.ServiceInfo
Setter for property stylesheet.
setStyleSheet(String) - Method in class de.spieleck.pcs.action.ActionResult
sets the name of the stylesheet to be used with this ActionResult
SETUPEXTENSION - Static variable in class de.spieleck.config.Config
 
setUseJTidy(boolean) - Static method in class de.spieleck.pcs.view.View
Setter for property useJTidy.
setVersion(String) - Method in interface de.spieleck.pcs.xml.XmlProducer
sets the version of the created Xml
setVersion(String) - Method in class de.spieleck.pcs.xml.XmlProducerBase
sets the version of the created Xml
setXml(String) - Method in class de.spieleck.pcs.action.ActionResult
convenience method for setting the ActionResult's XML data with an StreamSource using the given String as input
ShowXmlAction - class de.spieleck.pcs.action.base.ShowXmlAction.
This action loads XML data from a file and provides it via the ActionResult
ShowXmlAction() - Constructor for class de.spieleck.pcs.action.base.ShowXmlAction
 
SimpleParamGetter - interface de.spieleck.config.SimpleParamGetter.
Minimal API to get a param.
SimpleParamMap - class de.spieleck.config.SimpleParamMap.
Easy implementation of ConfigParamMap
SimpleParamMap() - Constructor for class de.spieleck.config.SimpleParamMap
 
size() - Method in class de.spieleck.util.SpeedHashtable
 
SpeedHashtable - class de.spieleck.util.SpeedHashtable.
A more efficient version of java.util.Hashtable.
SpeedHashtable() - Constructor for class de.spieleck.util.SpeedHashtable
Creates a hash table with standard initial capacity.
SpeedHashtable(double) - Constructor for class de.spieleck.util.SpeedHashtable
Create hashtable with non standard load factor
SpeedHashtable(int) - Constructor for class de.spieleck.util.SpeedHashtable
Creates a hash table with the specified initial capacity.
SpeedHashtable(int, double) - Constructor for class de.spieleck.util.SpeedHashtable
Create hashtable with non standard load factor and special size
spf - Static variable in class de.spieleck.config.Config
Hold a SaxParserFactory to instantiate parsers only
startElement(String, AttributeList) - Method in class de.spieleck.config.Config.ConfigSaxHandler
 
stringHashCode(String) - Static method in class de.spieleck.util.StringKeyHashtable
 
StringKeyHashtable - class de.spieleck.util.StringKeyHashtable.
This subclass of SpeedHashtable is specially taylored for the keys of Strings as keys in a Hashtable.
StringKeyHashtable() - Constructor for class de.spieleck.util.StringKeyHashtable
 
StringKeyHashtable(int) - Constructor for class de.spieleck.util.StringKeyHashtable
 
Strings - class de.spieleck.util.Strings.
A class to represent a list of strings with appropriate hashCode and equals implemented.
Strings(int) - Constructor for class de.spieleck.util.Strings
 
Strings(String[]) - Constructor for class de.spieleck.util.Strings
 
subReadNodes - Variable in class de.spieleck.config.ConfigFileNode
 

T

TestErrorAction - class de.spieleck.pcs.action.base.TestErrorAction.
This is a test action to throw an ActionException
TestErrorAction() - Constructor for class de.spieleck.pcs.action.base.TestErrorAction
 
TEXTSEPARATOR - Static variable in class de.spieleck.config.Config
 
THISATTR - Static variable in class de.spieleck.config.Config
 
toString() - Method in class de.spieleck.config.ConfigNodeImpl
 
toString() - Method in class de.spieleck.util.Strings
 
toURL(String) - Static method in class de.spieleck.net.URLTools
Ugly method for the hopefully most compatible way to create a URI-String from a local file identifier.
toXmlString(Object) - Method in interface de.spieleck.pcs.xml.XmlProducer
converts the given Object to an Xml String.
toXmlString(Object) - Method in class de.spieleck.pcs.xml.XmlProducerBase
converts the given Object to an Xml String.
toXmlString(Object[]) - Method in interface de.spieleck.pcs.xml.XmlProducer
converts the given Objects to an Xml String.
toXmlString(Object[]) - Method in class de.spieleck.pcs.xml.XmlProducerBase
converts the given Objects to an Xml String.
toXmlString(Object[], boolean) - Method in interface de.spieleck.pcs.xml.XmlProducer
converts the given Objects to an Xml String.
toXmlString(Object[], boolean) - Method in class de.spieleck.pcs.xml.XmlProducerBase
converts the given Objects to an Xml String.
toXmlString(Object, boolean) - Method in interface de.spieleck.pcs.xml.XmlProducer
converts the given Object to an Xml String.
toXmlString(Object, boolean) - Method in class de.spieleck.pcs.xml.XmlProducerBase
converts the given Object to an Xml String.

U

unsafePut(Object, Object) - Method in class de.spieleck.util.SpeedHashtable
Internal Version of the putter, not as fail safe...
URLTools - class de.spieleck.net.URLTools.
XXX This is work in progress, i.e. works as long as needed so far.
used - Variable in class de.spieleck.util.SpeedHashtable
The actually number of used entries in the array.
useJTidy() - Method in class de.spieleck.pcs.http.XmlControllerConfig
determines whether or not to use JTidy to parse HTML output
useJTidy() - Method in interface de.spieleck.pcs.http.ControllerConfig
determines whether or not to use JTidy to parse HTML output

V

value - Variable in class de.spieleck.config.ConfigNodeImpl
Node value
VALUE_ATTR - Static variable in class de.spieleck.config.Config
 
verify(ConfigNode, ConfigVerify.Acceptor) - Static method in class de.spieleck.config.ConfigVerify
 
View - class de.spieleck.pcs.view.View.
This class is reponsible for displaying an ActionResult.
View() - Constructor for class de.spieleck.pcs.view.View
Creates an instance of View
View(OutputStream) - Constructor for class de.spieleck.pcs.view.View
Creates a new instance of view with the given settings
ViewException - exception de.spieleck.pcs.view.ViewException.
 
ViewException() - Constructor for class de.spieleck.pcs.view.ViewException
Creates a new instance of ViewException without detail message.
ViewException(String) - Constructor for class de.spieleck.pcs.view.ViewException
Constructs an instance of ViewException with the specified detail message.

W

warning(SAXParseException) - Method in class de.spieleck.config.Config.ConfigSaxHandler
 

X

XmlControllerConfig - class de.spieleck.pcs.http.XmlControllerConfig.
XML based implementation of a ControllerConfig
XmlControllerConfig(String) - Constructor for class de.spieleck.pcs.http.XmlControllerConfig
Creates a new instance of XmlControllerConfig
XmlProducer - interface de.spieleck.pcs.xml.XmlProducer.
This interface provides methods for creating XML out of Objects
XmlProducerBase - class de.spieleck.pcs.xml.XmlProducerBase.
Abstract base class for XmlProducer
XmlProducerBase() - Constructor for class de.spieleck.pcs.xml.XmlProducerBase
Creates a new instance of XmlProducerBase using the following version <?
XmlProducerFactory - class de.spieleck.pcs.xml.XmlProducerFactory.
This class extends a DefaultFactory.
XmlProducerFactory() - Constructor for class de.spieleck.pcs.xml.XmlProducerFactory
 
XmlProducingException - exception de.spieleck.pcs.xml.XmlProducingException.
Exception class for representing exceptions raised during XML production
XmlProducingException() - Constructor for class de.spieleck.pcs.xml.XmlProducingException
Creates a new instance of XmlProducingException without detail message.
XmlProducingException(String) - Constructor for class de.spieleck.pcs.xml.XmlProducingException
Constructs an instance of XmlProducingException with the specified detail message.
XmlUtility - class de.spieleck.pcs.util.XmlUtility.
This class provides methods for easily accessing values in XML strings.
XmlUtility() - Constructor for class de.spieleck.pcs.util.XmlUtility
 
XslTransformThread - class de.spieleck.pcs.view.XslTransformThread.
This class is used by View to transform XML via XSLT in an own Thread
XslTransformThread(Transformer, StreamSource, StreamResult) - Constructor for class de.spieleck.pcs.view.XslTransformThread
Creates a new instance of XslTransformThread

A C D E F G H I J K L M N O P R S T U V W X

More information