com.smallx.xml.pipeline
Class MapComponentContext

java.lang.Object
  extended bycom.smallx.xml.pipeline.MapComponentContext
All Implemented Interfaces:
ComponentContext

public class MapComponentContext
extends java.lang.Object
implements ComponentContext


Constructor Summary
MapComponentContext(java.util.Map parameters, java.security.Principal user, java.io.File basePath, DocumentLoader loader)
          Creates a new instance of MapComponentContext
 
Method Summary
 Name expandName(java.lang.String qname)
           
 Infoset getInfoset()
           
 java.util.logging.Logger getLog()
           
 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 setInfoset(Infoset infoset)
           
 void setLog(java.util.logging.Logger log)
           
 void setUserPrincipal(java.security.Principal user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapComponentContext

public MapComponentContext(java.util.Map parameters,
                           java.security.Principal user,
                           java.io.File basePath,
                           DocumentLoader loader)
Creates a new instance of MapComponentContext

Method Detail

setUserPrincipal

public void setUserPrincipal(java.security.Principal user)

getLog

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

setLog

public void setLog(java.util.logging.Logger log)

getInfoset

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

setInfoset

public void setInfoset(Infoset infoset)

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

expandName

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

getUserPrincipal

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

getRealPath

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