org.sapia.soto
Class SotoApplicationFactory

java.lang.Object
  extended by org.sapia.util.xml.confix.CompositeObjectFactory
      extended by org.sapia.soto.util.CompositeObjectFactoryEx
          extended by org.sapia.soto.SotoApplicationFactory
All Implemented Interfaces:
org.sapia.util.xml.confix.ObjectFactoryIF

public class SotoApplicationFactory
extends CompositeObjectFactoryEx

This factory creates the objects that belong to the "soto" namespace.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software . All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Field Summary
static java.lang.String APP
           
static java.lang.String CHOOSE
           
static java.lang.String DEBUG
           
static java.lang.String DEFS
           
static java.lang.String ENV
           
static java.lang.String IF
           
static java.lang.String INCLUDE
           
static java.lang.String INJECT
           
static java.lang.String NAMESPACE
           
static java.lang.String NEW
           
static java.lang.String PARAM_REF
           
static java.lang.String REGISTER_LIFE_CYCLE
           
static java.lang.String SELECT
           
static java.lang.String SERVICE
           
static java.lang.String SERVICE_REF
           
static java.lang.String UNLESS
           
 
Constructor Summary
SotoApplicationFactory(SotoContainer container)
          Constructor for SotoApplicationFactory.
 
Method Summary
 void addNamespace(Namespace defs)
          Adds the given namespace to this instance.
protected  org.sapia.util.xml.confix.CreationStatus doNewObjectFor(java.lang.String prefix, java.lang.String uri, java.lang.String name, java.lang.Object parent)
           
 org.sapia.util.text.TemplateContextIF getTemplateContext()
           
 org.sapia.util.xml.confix.CreationStatus newObjectFor(java.lang.String prefix, java.lang.String uri, java.lang.String name, java.lang.Object arg3)
           
 void registerDefs(Namespace defs)
           
 
Methods inherited from class org.sapia.util.xml.confix.CompositeObjectFactory
containsObjectFactory, getFactoryFor, registerFactory, setMapToPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP

public static final java.lang.String APP
See Also:
Constant Field Values

DEFS

public static final java.lang.String DEFS
See Also:
Constant Field Values

NAMESPACE

public static final java.lang.String NAMESPACE
See Also:
Constant Field Values

SERVICE

public static final java.lang.String SERVICE
See Also:
Constant Field Values

SERVICE_REF

public static final java.lang.String SERVICE_REF
See Also:
Constant Field Values

INCLUDE

public static final java.lang.String INCLUDE
See Also:
Constant Field Values

IF

public static final java.lang.String IF
See Also:
Constant Field Values

UNLESS

public static final java.lang.String UNLESS
See Also:
Constant Field Values

CHOOSE

public static final java.lang.String CHOOSE
See Also:
Constant Field Values

DEBUG

public static final java.lang.String DEBUG
See Also:
Constant Field Values

ENV

public static final java.lang.String ENV
See Also:
Constant Field Values

NEW

public static final java.lang.String NEW
See Also:
Constant Field Values

INJECT

public static final java.lang.String INJECT
See Also:
Constant Field Values

PARAM_REF

public static final java.lang.String PARAM_REF
See Also:
Constant Field Values

SELECT

public static final java.lang.String SELECT
See Also:
Constant Field Values

REGISTER_LIFE_CYCLE

public static final java.lang.String REGISTER_LIFE_CYCLE
See Also:
Constant Field Values
Constructor Detail

SotoApplicationFactory

public SotoApplicationFactory(SotoContainer container)
Constructor for SotoApplicationFactory.

Method Detail

addNamespace

public void addNamespace(Namespace defs)
                  throws org.sapia.util.xml.confix.ConfigurationException
Adds the given namespace to this instance.

Parameters:
defs - a Namespace.
Throws:
org.sapia.util.xml.confix.ConfigurationException

getTemplateContext

public org.sapia.util.text.TemplateContextIF getTemplateContext()

newObjectFor

public org.sapia.util.xml.confix.CreationStatus newObjectFor(java.lang.String prefix,
                                                             java.lang.String uri,
                                                             java.lang.String name,
                                                             java.lang.Object arg3)
                                                      throws org.sapia.util.xml.confix.ObjectCreationException
Specified by:
newObjectFor in interface org.sapia.util.xml.confix.ObjectFactoryIF
Overrides:
newObjectFor in class org.sapia.util.xml.confix.CompositeObjectFactory
Throws:
org.sapia.util.xml.confix.ObjectCreationException
See Also:
CompositeObjectFactory.newObjectFor(java.lang.String, java.lang.String, java.lang.String, java.lang.Object)

registerDefs

public void registerDefs(Namespace defs)
                  throws org.sapia.util.xml.confix.ConfigurationException
Overrides:
registerDefs in class CompositeObjectFactoryEx
Throws:
org.sapia.util.xml.confix.ConfigurationException
See Also:
CompositeObjectFactoryEx.registerDefs(org.sapia.soto.util.Namespace)

doNewObjectFor

protected org.sapia.util.xml.confix.CreationStatus doNewObjectFor(java.lang.String prefix,
                                                                  java.lang.String uri,
                                                                  java.lang.String name,
                                                                  java.lang.Object parent)
                                                           throws org.sapia.util.xml.confix.ObjectCreationException
Throws:
org.sapia.util.xml.confix.ObjectCreationException


Copyright © 2010 Sapia OSS. All Rights Reserved.