Метод | Описание | |
---|---|---|
GetAssemblySchemaLocation ( |
Constructs a "assembly://..." qualified schemaLocation url using the given type to obtain the assembly name.
|
|
GetParser ( string namespaceURI ) : INamespaceParser |
Returns a parser for the given namespace.
|
|
GetSchemas ( ) : |
Returns a schema collection containing validation schemas for all registered parsers.
|
|
RegisterParser ( INamespaceParser parser ) : void |
Pegisters parser, using default namespace and schema location as defined by the NamespaceParserAttribute.
|
|
RegisterParser ( INamespaceParser parser, string namespaceUri, string schemaLocation ) : void |
Associates a parser with a namespace. |
|
RegisterParser ( |
Pegisters parser, using default namespace and schema location as defined by the NamespaceParserAttribute.
|
|
RegisterParser ( |
Associates a parser with a namespace. |
|
Reset ( ) : void |
Reset the list of registered parsers to "factory"-setting use for unit tests only |
Метод | Описание | |
---|---|---|
GetDefaults ( |
Returns default values for the parser namespace and schema location as defined by the NamespaceParserAttribute.
|
|
NamespaceParserRegistry ( ) : System |
Creates a new instance of the NamespaceParserRegistry class.
|
|
RegisterSchema ( string namespaceUri, string schemaLocation ) : void |
Register a schema as well-known
|
|
RegisterWellknownNamespaceParserType ( string namespaceUri ) : bool |
Registers the INamespaceParser type for wellknown namespaces
|
public static GetAssemblySchemaLocation ( |
||
schemaLocationAssemblyHint | ||
schemaLocation | string | |
Результат | string |
public static GetParser ( string namespaceURI ) : INamespaceParser | ||
namespaceURI | string | /// The namespace for which to lookup the parser implementation. /// |
Результат | INamespaceParser |
public static GetSchemas ( ) : |
||
Результат |
public static RegisterParser ( INamespaceParser parser ) : void | ||
parser | INamespaceParser | /// The parser instance. /// |
Результат | void |
public static RegisterParser ( INamespaceParser parser, string namespaceUri, string schemaLocation ) : void | ||
parser | INamespaceParser | /// The parser instance. /// |
namespaceUri | string | /// The namespace with which to associate instance of the parser. /// |
schemaLocation | string | /// The location of the XML schema that should be used for validation /// of the XML elements that belong to the specified namespace /// (can be any valid Spring.NET resource URI). /// |
Результат | void |
public static RegisterParser ( |
||
parserType |
/// The |
|
Результат | void |
public static RegisterParser ( |
||
parserType |
/// The |
|
namespaceUri | string | /// The namespace with which to associate instance of the parser. /// |
schemaLocation | string | /// The location of the XML schema that should be used for validation /// of the XML elements that belong to the specified namespace /// (can be any valid Spring.NET resource URI). /// |
Результат | void |