Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress XML Binding Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::XmlBindingHandle

Library:  XML Binding


rwsf::XmlBindingHandle rwsf::XmlBindingHandleBase

Local Index

Members

Header File

#include <rwsf/xmlbinding/XmlBindingHandle.h>

Description

The methods in this class call the corresponding methods in rwsf::XmlBindingBody. Please see that description for details.

rwsf::XmlBindingHandle implements the handle/body idiom in conjunction with rwsf::XmlBindingBody. An instance of this class is a handle to a private, reference-counted body. When a handle is copy-constructed, the new handle attaches to the same body as the original. When one handle is assigned to another handle, the handle on the left side detaches from its current body and attaches to the body pointed to by the handle on the right side. Logical operators return truth values based on whether the handles being compared point to the same body instance.


NOTE -- Handle methods that just call the corresponding method on the body are described only in the body class. For instance, if the handle class includes a method invoke() that calls the body's corresponding method doInvoke(), that method is documented only in the body class.

Public Constructors

XmlBindingHandle();
XmlBindingHandle(const XmlBindingHandle& other);
XmlBindingHandle(rwsf::XmlBindingBody* body);

Public Member Functions

XmlBindingHandle   
clone() const;
bool
equals(const rwsf::XmlBindingHandle& second) const;
int 
exists(const rwsf::XmlName& member);
std::vector<Member>
get(const rwsf::XmlName& member);
bool
getXsiNil() const;
std::string
getXsiNoNamespaceSchemaLocation() const;
std::string
getXsiSchemaLocation() const;
std::string
getTypeId() const;
const char*
getTypeIdChar() const;
bool 
isValid() const;
bool 
isValid(rwsf::XmlValidator& validator) const;
  
bool 
isA(const std::string& xsiType) const;
bool 
isA(const rwsf::XmlBindingHandle& other) const;
bool 
isHandleValid() const;
bool 
isMarshalXsiTypeSet() const;
bool
isXsiNilSet() const;
bool
isXsiNoNamespaceSchemaLocationSet() const;
bool
isXsiSchemaLocationSet() const;
void 
marshal(rwsf::XmlWriter& writer, 
               bool includeChildTypeAttributes, 
               const rwsf::XmlName&,
               bool includeSelfTypeAttribute, 
               bool nilValue) const;
void
setMarshalXsiType(bool setValue);
void
setXsiNil(bool XsiNil);
void
setXsiNilSet(bool setValue);
void
setXsiSchemaLocation(const std::string& loc);
void
setXsiSchemaLocationSet(bool setValue);
  
void
setXsiNoNamespaceSchemaLocation(const std::string& loc);
void
setXsiNoNamespaceSchemaLocationSet(bool setValue);
void 
set(const rwsf::XmlName& member, 
    const std::vector<Member>& values);
std::string
typeId() const;
const char*
typeIdChar() const;
std::string
xsiType() const;
const char*
xsiTypeChar() const;

Logical Operators

bool
operator==(const rwsf::XmlBindingHandle& second) const 
bool


Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.