com.smallx.xml.component
Class ScopedComponentInitializer

java.lang.Object
  extended bycom.smallx.xml.component.ScopedComponentInitializer
All Implemented Interfaces:
ComponentContext, ComponentInitializer

public class ScopedComponentInitializer
extends java.lang.Object
implements ComponentContext, ComponentInitializer


Constructor Summary
ScopedComponentInitializer(Component c, java.util.Map parameters, NamespaceScope scope)
           
 
Method Summary
 Name expandName(java.lang.String qname)
           
 Infoset getInfoset()
           
 java.util.logging.Logger getLog()
           
 Name getName()
           
 java.lang.Object getParameter(Name name)
           
 java.lang.Object getParameter(java.lang.String name)
           
 java.util.Iterator getParameterNames()
           
 java.lang.String getRealPath(java.lang.String path)
           
 void getResource(java.net.URI resource, ItemDestination dest)
           
 java.security.Principal getUserPrincipal()
           
 void init(ComponentContext parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopedComponentInitializer

public ScopedComponentInitializer(Component c,
                                  java.util.Map parameters,
                                  NamespaceScope scope)
Method Detail

getName

public Name getName()
Specified by:
getName in interface ComponentInitializer

getUserPrincipal

public java.security.Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface ComponentContext

getInfoset

public Infoset getInfoset()
Specified by:
getInfoset in interface ComponentContext

getParameter

public java.lang.Object getParameter(java.lang.String name)
Specified by:
getParameter in interface ComponentContext

getParameter

public java.lang.Object getParameter(Name name)
Specified by:
getParameter in interface ComponentContext

getParameterNames

public java.util.Iterator getParameterNames()
Specified by:
getParameterNames in interface ComponentContext

getResource

public void getResource(java.net.URI resource,
                        ItemDestination dest)
                 throws XMLException
Specified by:
getResource in interface ComponentContext
Throws:
XMLException

getLog

public java.util.logging.Logger getLog()
Specified by:
getLog in interface ComponentContext

init

public void init(ComponentContext parent)
          throws XMLException
Specified by:
init in interface ComponentInitializer
Throws:
XMLException

expandName

public Name expandName(java.lang.String qname)
                throws XMLException
Specified by:
expandName in interface ComponentContext
Throws:
XMLException

getRealPath

public java.lang.String getRealPath(java.lang.String path)
Specified by:
getRealPath in interface ComponentContext