com.smallx.xml.pipeline
Class MapComponentContext
java.lang.Object
com.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapComponentContext
public MapComponentContext(java.util.Map parameters,
java.security.Principal user,
java.io.File basePath,
DocumentLoader loader)
- Creates a new instance of MapComponentContext
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