ASN1C C# Runtime Library  7.7
Public Member Functions | Properties | List of all members
Asn1XmlNamespace Class Reference

Public Member Functions

 Asn1XmlNamespace (System.String prefix, System.String uri)
 
virtual bool IsPrefixEqual (System.String prefix)
 
virtual bool IsURIEqual (System.String uri)
 

Properties

virtual System.String Prefix [get, set]
 
virtual System.String URI [get, set]
 

Detailed Description

This class maps an XML namespace prefix to a URI.

Constructor & Destructor Documentation

◆ Asn1XmlNamespace()

Asn1XmlNamespace ( System.String  prefix,
System.String  uri 
)

The constructor creates a mapping between a namespace URI and a prefix.

Parameters
prefixXML namespace prefix
uriXML namespace URI

Member Function Documentation

◆ IsPrefixEqual()

virtual bool IsPrefixEqual ( System.String  prefix)
virtual

This method is used to test the given prefix for a match.

◆ IsURIEqual()

virtual bool IsURIEqual ( System.String  uri)
virtual

This method is used to test the given URI for a match.

Property Documentation

◆ Prefix

virtual System.String Prefix
getset

This method is used to get and set the prefix value.

Referenced by Asn1XmlUtil.TokenizeXsdList(), Asn1XmlEncodeBuffer.WriteNamespaces(), and Asn1XmlOutputStream.WriteNamespaces().

◆ URI

virtual System.String URI
getset

This method is used to get and set the URI value.

Referenced by Asn1XmlUtil.TokenizeXsdList(), Asn1XmlEncodeBuffer.WriteNamespaces(), and Asn1XmlOutputStream.WriteNamespaces().