DOMTypeInfo
interface represent a type used by
* DOMElement
or DOMAttr
nodes, specified in the
* schemas associated with the document. The type is a pair of a namespace URI
* and name properties, and depends on the document's schema.
*/
class CDOM_EXPORT DOMTypeInfo
{
protected:
// -----------------------------------------------------------------------
// Hidden constructors
// -----------------------------------------------------------------------
/** @name Hidden constructors */
//@{
DOMTypeInfo() {};
//@}
private:
// -----------------------------------------------------------------------
// Unimplemented constructors and operators
// -----------------------------------------------------------------------
/** @name Unimplemented constructors and operators */
//@{
DOMTypeInfo(const DOMTypeInfo &);
DOMTypeInfo & operator = (const DOMTypeInfo &);
//@}
public:
// -----------------------------------------------------------------------
// All constructors are hidden, just the destructor is available
// -----------------------------------------------------------------------
/** @name Destructor */
//@{
/**
* Destructor
*
*/
virtual ~DOMTypeInfo() {};
//@}
//@{
// -----------------------------------------------------------------------
// Getter methods
// -----------------------------------------------------------------------
/**
* Returns The name of a type declared for the associated DOMElement
* or DOMAttr
, or null if undeclared.
*
* "Experimental - subject to change"
* * @return The name of a type declared for the associatedDOMElement
* or DOMAttribute
, or null if undeclared.
* @since DOM level 3
*/
virtual const XMLCh* getName() const = 0;
/**
* The namespace of the type declared for the associated DOMElement
* or DOMAttr
or null if the DOMElement
does not have
* declaration or if no namespace information is available.
*
* "Experimental - subject to change"
* * @return The namespace of the type declared for the associatedDOMElement
* or DOMAttr
or null if the DOMElement
does not have
* declaration or if no namespace information is available.
* @since DOM level 3
*/
virtual const XMLCh* getNamespace() const = 0;
//@}
};
XERCES_CPP_NAMESPACE_END
#endif
/**
* End of file DOMTypeInfo.hpp
*/