XBinder C# Runtime Library
2.8
|
Models an attribute with an xsd:QName for its value. More...
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... | |
Models an attribute with an xsd:QName for its value.
|
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.
resolver |
Reimplemented from com.objsys.xbinder.runtime.XBAttributeBase.
|
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.
Reimplemented from com.objsys.xbinder.runtime.XBAttributeBase.