XBinder C# Runtime Library  2.8
Public Member Functions | Properties | List of all members
com.objsys.xbinder.runtime.XBAttributeQName Class Reference

Models an attribute with an xsd:QName for its value. More...

Inheritance diagram for com.objsys.xbinder.runtime.XBAttributeQName:
com.objsys.xbinder.runtime.XBAttributeBase

Public Member Functions

 XBAttributeQName (System.String name, System.String nsUri, System.String prefix, XBQualifiedName value_Renamed)
 
override void assignNamespacePrefixes (XBNamespaceResolver resolver)
 Assign the attribute's namespace a prefix to use during encoding. Also, assign a prefix to any ns's embedded in the value, such as for values of type xsd:QName. More...
 
override bool requireEmptyDefaultNs ()
 Returns true if this attribute requires an empty default namespace. Normal attributes return false. Attributes with QName for their value may return true, as the QName's resolution takes into consideration the default namespace. More...
 
- Public Member Functions inherited from com.objsys.xbinder.runtime.XBAttributeBase
 XBAttributeBase (System.String name, System.String nsUri, System.String prefix)
 

Properties

override System.String Value [get, set]
 
- Properties inherited from com.objsys.xbinder.runtime.XBAttributeBase
virtual System.String Name [get, set]
 
abstract System.String Value [get, set]
 
virtual System.String NsUri [get, set]
 
virtual System.String Prefix [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from com.objsys.xbinder.runtime.XBAttributeBase
static void printAttributes (IList< XBAttributeBase > attrs, TextWriter writer, string varName, int level)
 Print a list of attributes to the given TextWriter More...
 

Detailed Description

Models an attribute with an xsd:QName for its value.

Member Function Documentation

◆ assignNamespacePrefixes()

override void com.objsys.xbinder.runtime.XBAttributeQName.assignNamespacePrefixes ( XBNamespaceResolver  resolver)
virtual

Assign the attribute's namespace a prefix to use during encoding. Also, assign a prefix to any ns's embedded in the value, such as for values of type xsd:QName.

The implementation in this class simply assigns a prefix for the attribute's ns, using the current prefix as the suggested value.

Parameters
resolver

Reimplemented from com.objsys.xbinder.runtime.XBAttributeBase.

◆ requireEmptyDefaultNs()

override bool com.objsys.xbinder.runtime.XBAttributeQName.requireEmptyDefaultNs ( )
virtual

Returns true if this attribute requires an empty default namespace. Normal attributes return false. Attributes with QName for their value may return true, as the QName's resolution takes into consideration the default namespace.

Returns

Reimplemented from com.objsys.xbinder.runtime.XBAttributeBase.