C# 클래스 HandCoded.Xml.Resolver.Catalog

The Catalog provides a configurable XmlResolver for an XML parser.
상속: System.Xml.XmlResolver
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Catalog ( String url, String prefer, String xmlbase ) : System

Constructs a new Catalog instance.

GetEntity ( Uri absoluteUri, string role, Type ofObjectToReturn ) : Object

Maps a URI to an object containing the actual resource.

ResolveUri ( Uri baseUri, string relativeUri ) : Uri

Rresolves the absolute URI from the base and relative URIs.

메소드 상세

Catalog() 공개 메소드

Constructs a new Catalog instance.
public Catalog ( String url, String prefer, String xmlbase ) : System
url String The URL of this Catalog.
prefer String Optional prefer value.
xmlbase String Optional xml:base value.
리턴 System

GetEntity() 공개 메소드

Maps a URI to an object containing the actual resource.
public GetEntity ( Uri absoluteUri, string role, Type ofObjectToReturn ) : Object
absoluteUri System.Uri The URI returned from ResolveUri.
role string The current version does not use this parameter when resolving URIs. /// This is provided for future extensibility purposes. For example, this can be mapped to /// the xlink:role and used as an implementation specific argument in other scenarios.
ofObjectToReturn System.Type The type of object to return. The current version only /// returns System.IO.Stream objects.
리턴 Object

ResolveUri() 공개 메소드

Rresolves the absolute URI from the base and relative URIs.
public ResolveUri ( Uri baseUri, string relativeUri ) : Uri
baseUri System.Uri The base URI used to resolve the relative URI
relativeUri string The URI to resolve. The URI can be absolute or relative. /// If absolute, this value effectively replaces the baseUri value. If relative, it /// combines with the baseUri to make an absolute URI.
리턴 System.Uri