Exemplo n.º 1
0
        //MemoryStream m_memoryStream;

        public Agent ( LoadBalancer loadBalancer ) {
            m_loadBalancer = LoadBalancer.GetLoadBalancer();
            m_postOffice = null;
            m_resultHashtable = new Hashtable();
            m_transform = new Transform();
            m_callback = null;
        }
 public XPathServiceOperationNavigator ( HttpContext httpContext, Context context, Transform.Context transformContext, XPathNavigator navigator, TransformRequest request, TransformResponse response, XsltTransformationManager transformationManager ) {
     m_navigator = navigator;
     m_httpContext = httpContext;
     m_context = context;
     m_transformContext = transformContext;
     m_request = request;
     m_response = response;
     m_xslTransformationManager = transformationManager;
     m_transform = transformationManager.Transform;
     m_encoding = new UTF8Encoding();
 }
Exemplo n.º 3
0
 public XmlServiceOperationReader(HttpContext httpContext, Context context, Transform.Context transformContext, XmlReader reader, TransformRequest request, TransformResponse response, XsltTransformationManager transformationManager) {
     m_reader = reader;
     m_httpContext = httpContext;
     m_context = context;
     m_transformContext = transformContext;
     m_request = request;
     m_response = response;
     m_xslTransformationManager = transformationManager;
     m_transform = transformationManager.Transform;
     m_encoding = new UTF8Encoding();
 }
Exemplo n.º 4
0
 public XsltTransformationManager
   (
     Processor processor,
     Transform transform,
     XmlUrlResolver resolver,
     Serializer serializer,
     Dictionary<string, XsltTransformer> xsltHashtable,
     Hashtable xmlSourceHashtable,
     Hashtable xdmNodeHashtable,
     Hashtable namedXsltHashtable,
     Hashtable namedXsltETagIndex,
     Hashtable xdmNodeETagIndex,
     Uri baseXsltUri,
     String baseXsltUriHash,
     String baseXsltName
   ) {
     m_baseXsltUri = baseXsltUri;
     m_baseXsltUriHash = baseXsltUriHash;
     m_baseXsltName = baseXsltName;
     m_transform = transform;
     m_xsltHashtable = xsltHashtable;
     m_processor = processor;
     m_compiler = m_processor.NewXsltCompiler();
     m_sourceHashtable = xmlSourceHashtable;
     m_resolver = resolver;
     m_compiler.XmlResolver = m_resolver;
     m_builder = m_processor.NewDocumentBuilder();
     m_serializer = serializer;
     m_xdmNodeHashtable = xdmNodeHashtable;
     m_xdmNodeETagIndex = xdmNodeETagIndex;
     m_namedXsltHashtable = namedXsltHashtable;
     m_namedXsltETagIndex = namedXsltETagIndex;
     _hashAlgorithm = HashAlgorithm.MD5;
     //NOTE: TransformEngine enum PLACEHOLDER FOR FUTURE USE
     m_transformEngine = TransformEngine.SAXON;
 }
Exemplo n.º 5
0
 public XsltTransformationManager (Processor processor, Transform transform, XmlUrlResolver resolver, Serializer serializer)
     : this(processor, transform, resolver, serializer, new Dictionary<string, XsltTransformer>(), new Hashtable(), new Hashtable(), new Hashtable(), new Hashtable(), new Hashtable(), null, null, null) {
 }
Exemplo n.º 6
0
 public XsltTransformationManager (Transform transform)
     : this(new Processor(), transform, new XmlUrlResolver(), new Serializer(), new Dictionary<string, XsltTransformer>(), new Hashtable(), new Hashtable(), new Hashtable(), new Hashtable(), new Hashtable(), null, null, null) {
 }