org.sapia.soto.util
Class Namespace
java.lang.Object
org.sapia.soto.util.Namespace
- All Implemented Interfaces:
- EnvAware, org.sapia.util.xml.confix.ObjectCreationCallback
public class Namespace
- extends java.lang.Object
- implements EnvAware, org.sapia.util.xml.confix.ObjectCreationCallback
Models a namespaces - that encapsulates definitions.
- 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
- See Also:
Def
|
Constructor Summary |
Namespace()
Constructor for Defs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Namespace
public Namespace()
- Constructor for Defs.
setEnv
public void setEnv(Env env)
- Specified by:
setEnv in interface EnvAware
- Parameters:
env - an Env instance that indirectly corresponds to the
Soto container to which this instance belongs.
setPrefix
public void setPrefix(java.lang.String prefix)
- Sets the XML namespace prefix to which this instance corresponds.
- Parameters:
prefix - a namespace prefix.
getPrefix
public java.lang.String getPrefix()
addDef
public Def addDef()
getDefs
public java.util.List getDefs()
addPackage
public void addPackage(java.lang.String pckg)
getPackages
public java.util.List getPackages()
setDelegateInterface
public void setDelegateInterface(java.lang.String delegateClass)
setDelegateId
public void setDelegateId(java.lang.String delegateId)
setDelegate
public void setDelegate(ObjectFactoryDelegate delegate)
getDelegate
public ObjectFactoryDelegate getDelegate()
onCreate
public java.lang.Object onCreate()
throws org.sapia.util.xml.confix.ConfigurationException
- Specified by:
onCreate in interface org.sapia.util.xml.confix.ObjectCreationCallback
- Throws:
org.sapia.util.xml.confix.ConfigurationException
Copyright © 2010 Sapia OSS. All Rights Reserved.