#include <it_bus/qname.h>
Definition at line 27 of file qname.h.
Public Member Functions | |
| QName () | |
| No argument constructor. | |
| QName (const QName &name) | |
| Copy constructor. | |
| QName (const String &namespace_prefix, const String &local_part, const String &namespace_uri) | |
| Constructor. | |
| QName (const String &raw_name, const String &namespace_uri=String::EMPTY) | |
| Constructor. | |
| ~QName () | |
| Destructor. | |
| void | assign (const String &raw_name, const String &namespace_uri=String::EMPTY) |
| Reinitialize the instance using the prefix:local_part and namespace URI provided as arguments. | |
| QName & | operator= (const QName &rhs) |
| Assignment operator. | |
| const String & | get_namespace_prefix () const |
| Return the namespace prefix for the QName instance. | |
| const String & | get_local_part () const |
| Return the local part for the QName instance. | |
| const String & | get_namespace_uri () const |
| Return the namespace URI for the QName instance. | |
| const String | get_raw_name () const |
| Return the prefix:local_part for the QName instance. | |
| const String | get_raw_name (const PrefixResolver &resolver) const |
| Return prefix:local_part for the QName instance, but using prefix returned by the resolver for the QNames namespace URI. | |
| const String | to_string () const |
| Return a string representation of the raw name and namespace declaration. | |
| const String | get_as_string_uri () const |
| Return a string representation of in the form namespace_uri:localpart. | |
| const String | get_as_canonical_string () const |
| Return a string in the canonical format specified by javax.xml.namespace.QName. | |
| bool | has_unresolved_prefix () const |
| Return an indicator of whether the QName has a prefix value without a namespace URI value. | |
| bool | operator== (const QName &rhs) const |
| Equality operator. | |
| bool | operator!= (const QName &rhs) const |
| Inequality operator. | |
| bool | empty () const |
| True if QName is empty. | |
| void | set_local_part (const String &) |
| Set the local part to the value supplied as the argument. | |
| void | set_namespace_prefix (const String &) |
| Set the namespace prefix to the value supplied as the argument. | |
| void | set_namespace_uri (const String &) |
| Set the namespace URI to the value supplied as the argument. | |
Static Public Member Functions | |
| QName | make_qname_from_canonical_string (const String qname_str) throw ((IT_Bus::Exception)) |
| Parse a String containing as QName in the canonical format specified by javax.xml.namespace.QName. | |
|
|
No argument constructor.
|
|
|
Copy constructor.
|
|
||||||||||||||||
|
Constructor.
|
|
||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Reinitialize the instance using the prefix:local_part and namespace URI provided as arguments.
|
|
|
Return a string in the canonical format specified by javax.xml.namespace.QName.
|
|
|
Return the local part for the QName instance.
|
|
|
Return the namespace prefix for the QName instance.
|
|
|
Return the namespace URI for the QName instance.
|
|
|
Return prefix:local_part for the QName instance, but using prefix returned by the resolver for the QNames namespace URI.
|
|
|
Return the prefix:local_part for the QName instance.
|
|
|
Return an indicator of whether the QName has a prefix value without a namespace URI value.
|
|
|
Parse a String containing as QName in the canonical format specified by javax.xml.namespace.QName.
|
|
|
Inequality operator.
|
|
|
Assignment operator.
|
|
|
Equality operator.
|
|
|
Set the local part to the value supplied as the argument.
|
|
|
Set the namespace prefix to the value supplied as the argument.
|
|
|
Set the namespace URI to the value supplied as the argument.
|
|
|
Return a string representation of the raw name and namespace declaration. The return string is of the form:
prefix:local_part xmlns=prefix:namespace_uri
|
1.3.9.1