XMLBEANSXX
0.9.8
|
#include <XmlTypesGen.h>
Classes | |
class | Factory |
class | Names |
Public Member Functions | |
XmlObject () | |
virtual void | setXmlObject (const xmlbeansxx::XmlObject &p) |
virtual const xmlbeansxx::SchemaType * | getOrginSchemaType () const |
XmlObject (const ContentsPtr &p) | |
virtual | ~XmlObject () |
virtual int | documentElementNamespaceID () const |
virtual void | serialize (std::ostream &out, XmlOptions options=XmlOptions()) const |
virtual std::string | toString (XmlOptions options=XmlOptions()) const |
virtual XmlObject | clone () const |
virtual std::string | getSimpleContent () const |
virtual void | setSimpleContent (const std::string &value) |
virtual std::string | getCanonicalContent () const |
virtual XmlObject | query (const std::string &elementName, QueryNodePtr queryExpr) const |
virtual XmlObject | cquery (const std::string &elementName, QueryNodePtr queryExpr, ObjectCreatorFn createFn=NULL) |
virtual std::string | digest () const |
bool | setAnyElement (const QName &elementName, const std::string &content) |
virtual std::string | exchangeEntities (const std::string &str) const |
void | free () |
std::vector< XmlObject > | selectPath (const std::string &path) |
std::vector< XmlObject > | selectPath (const NSMap &ns, const std::string &path) |
const std::vector< XmlObject > | selectPath (const std::string &path) const |
const std::vector< XmlObject > | selectPath (const NSMap &ns, const std::string &path) const |
std::vector< XmlObject > | cselectPath (const std::string &path) |
std::vector< XmlObject > | cselectPath (const NSMap &ns, const std::string &path) |
virtual void | createContents () |
virtual bool | hasContents () const |
virtual void | swapContents (const ContentsPtr &p) |
virtual const xmlbeansxx::SchemaType * | getSchemaType () const |
operator bool () const | |
void | setElement (const QName &name, const XmlObject &element, int index=0) |
void | setAttribute (const QName &name, const XmlAnySimpleType &attribute) |
XmlCursor | newCursor () |
Static Public Member Functions | |
static const xmlbeansxx::SchemaType * | type () |
Public Attributes | |
ContentsPtr | contents |
Protected Member Functions | |
XMLBEANSXX_STATIC_LOGGER_PTR (log) | |
template<class T > | |
boost::shared_ptr< T > | defaultValue (boost::shared_ptr< T > value, std::string defaultText) const |
template<class T > | |
std::vector< boost::shared_ptr < T > > & | defaultArrayValue (std::vector< boost::shared_ptr< T > > &array_value, std::string defaultText) const |
virtual void | _setXmlObject (const xmlbeansxx::XmlObject &p, bool castTest, const char *toString) |
Private Member Functions | |
std::pair< std::string, std::string > | getXpathToken (std::string xpath) const |
ContentsPtr | walkXpath (const std::string xpath, std::string &lastName, bool createElems) |
bool | isAttr (const std::string name) |
std::pair< std::string, int > | decomposeElem (const std::string name) |
Static Private Member Functions | |
static xmlbeansxx::SchemaType | initSchemaType () |
Friends | |
class | MyHandler |
class | Contents |
class | Contents::Walker |
class | XmlArray |
class | QueryAttribute |
class | QueryElement |
xmlbeansxx::XmlObject::XmlObject | ( | const ContentsPtr & | p | ) |
xmlbeansxx::XmlObject::~XmlObject | ( | ) | [virtual] |
void xmlbeansxx::XmlObject::_setXmlObject | ( | const xmlbeansxx::XmlObject & | p, |
bool | castTest, | ||
const char * | toString | ||
) | [protected, virtual] |
Reimplemented in xmlbeansxx::XmlAnySimpleType, and xmlbeansxx::XmlObjectDocument.
XmlObject xmlbeansxx::XmlObject::clone | ( | ) | const [virtual] |
XmlObject xmlbeansxx::XmlObject::cquery | ( | const std::string & | elementName, |
QueryNodePtr | queryExpr, | ||
ObjectCreatorFn | createFn = NULL |
||
) | [virtual] |
void xmlbeansxx::XmlObject::createContents | ( | ) | [virtual] |
std::vector< XmlObject > xmlbeansxx::XmlObject::cselectPath | ( | const std::string & | path | ) |
std::vector< XmlObject > xmlbeansxx::XmlObject::cselectPath | ( | const NSMap & | ns, |
const std::string & | path | ||
) |
std::pair<std::string,int> xmlbeansxx::XmlObject::decomposeElem | ( | const std::string | name | ) | [private] |
std::vector<boost::shared_ptr<T> >& xmlbeansxx::XmlObject::defaultArrayValue | ( | std::vector< boost::shared_ptr< T > > & | array_value, |
std::string | defaultText | ||
) | const [inline, protected] |
boost::shared_ptr<T> xmlbeansxx::XmlObject::defaultValue | ( | boost::shared_ptr< T > | value, |
std::string | defaultText | ||
) | const [inline, protected] |
std::string xmlbeansxx::XmlObject::digest | ( | ) | const [virtual] |
int xmlbeansxx::XmlObject::documentElementNamespaceID | ( | ) | const [virtual] |
std::string xmlbeansxx::XmlObject::exchangeEntities | ( | const std::string & | str | ) | const [virtual] |
Reimplemented in xmlbeansxx::NoExchangeEntitiesXmlObject.
void xmlbeansxx::XmlObject::free | ( | ) |
Frees contents of whole subtree of this object. After this, object remains empty.
std::string xmlbeansxx::XmlObject::getCanonicalContent | ( | ) | const [virtual] |
Returns canonical simple content of XmlObject
Reimplemented in xmlbeansxx::XmlBoolean.
const xmlbeansxx::SchemaType * xmlbeansxx::XmlObject::getOrginSchemaType | ( | ) | const [virtual] |
Reimplemented in xmlbeansxx::XmlDate, xmlbeansxx::XmlPositiveInteger, xmlbeansxx::XmlUnsignedByte, xmlbeansxx::XmlUnsignedShort, xmlbeansxx::XmlUnsignedInt, xmlbeansxx::XmlUnsignedLong, xmlbeansxx::XmlNonNegativeInteger, xmlbeansxx::XmlByte, xmlbeansxx::XmlShort, xmlbeansxx::XmlInt, xmlbeansxx::XmlLong, xmlbeansxx::XmlNegativeInteger, xmlbeansxx::XmlNonPositiveInteger, xmlbeansxx::XmlInteger, xmlbeansxx::XmlDecimal, xmlbeansxx::XmlENTITIES, xmlbeansxx::XmlGMonth, xmlbeansxx::XmlNOTATION, xmlbeansxx::XmlDouble, xmlbeansxx::XmlQName, xmlbeansxx::XmlHexBinary, xmlbeansxx::XmlFloat, xmlbeansxx::XmlDuration, xmlbeansxx::XmlDateTime, xmlbeansxx::XmlNMTOKEN, xmlbeansxx::XmlLanguage, xmlbeansxx::XmlIDREF, xmlbeansxx::XmlENTITY, xmlbeansxx::XmlID, xmlbeansxx::XmlNCName, xmlbeansxx::XmlName, xmlbeansxx::XmlToken, xmlbeansxx::XmlNormalizedString, xmlbeansxx::XmlString, xmlbeansxx::XmlGYear, xmlbeansxx::XmlNMTOKENS, xmlbeansxx::XmlBase64Binary, xmlbeansxx::XmlGYearMonth, xmlbeansxx::XmlIDREFS, xmlbeansxx::XmlTime, xmlbeansxx::XmlGDay, xmlbeansxx::XmlBoolean, xmlbeansxx::XmlGMonthDay, xmlbeansxx::XmlAnyURI, xmlbeansxx::XmlAnySimpleType, xmlbeansxx::AnyXmlArray, xmlbeansxx::XmlObjectDocument, and xmlbeansxx::definitions::XmlFragmentDocument.
const SchemaType * xmlbeansxx::XmlObject::getSchemaType | ( | ) | const [virtual] |
std::string xmlbeansxx::XmlObject::getSimpleContent | ( | ) | const [virtual] |
std::pair< std::string, std::string > xmlbeansxx::XmlObject::getXpathToken | ( | std::string | xpath | ) | const [private] |
bool xmlbeansxx::XmlObject::hasContents | ( | ) | const [virtual] |
xmlbeansxx::SchemaType xmlbeansxx::XmlObject::initSchemaType | ( | ) | [static, private] |
Reimplemented in xmlbeansxx::XmlDate, xmlbeansxx::XmlPositiveInteger, xmlbeansxx::XmlUnsignedByte, xmlbeansxx::XmlUnsignedShort, xmlbeansxx::XmlUnsignedInt, xmlbeansxx::XmlUnsignedLong, xmlbeansxx::XmlNonNegativeInteger, xmlbeansxx::XmlByte, xmlbeansxx::XmlShort, xmlbeansxx::XmlInt, xmlbeansxx::XmlLong, xmlbeansxx::XmlNegativeInteger, xmlbeansxx::XmlNonPositiveInteger, xmlbeansxx::XmlInteger, xmlbeansxx::XmlDecimal, xmlbeansxx::XmlENTITIES, xmlbeansxx::XmlGMonth, xmlbeansxx::XmlNOTATION, xmlbeansxx::XmlDouble, xmlbeansxx::XmlQName, xmlbeansxx::XmlHexBinary, xmlbeansxx::XmlFloat, xmlbeansxx::XmlDuration, xmlbeansxx::XmlDateTime, xmlbeansxx::XmlNMTOKEN, xmlbeansxx::XmlLanguage, xmlbeansxx::XmlIDREF, xmlbeansxx::XmlENTITY, xmlbeansxx::XmlID, xmlbeansxx::XmlNCName, xmlbeansxx::XmlName, xmlbeansxx::XmlToken, xmlbeansxx::XmlNormalizedString, xmlbeansxx::XmlString, xmlbeansxx::XmlGYear, xmlbeansxx::XmlNMTOKENS, xmlbeansxx::XmlBase64Binary, xmlbeansxx::XmlGYearMonth, xmlbeansxx::XmlIDREFS, xmlbeansxx::XmlTime, xmlbeansxx::XmlGDay, xmlbeansxx::XmlBoolean, xmlbeansxx::XmlGMonthDay, xmlbeansxx::XmlAnyURI, xmlbeansxx::XmlAnySimpleType, xmlbeansxx::AnyXmlArray, xmlbeansxx::XmlObjectDocument, and xmlbeansxx::definitions::XmlFragmentDocument.
bool xmlbeansxx::XmlObject::isAttr | ( | const std::string | name | ) | [private] |
xmlbeansxx::XmlObject::operator bool | ( | ) | const |
Reimplemented in xmlbeansxx::XmlBoolean.
XmlObject xmlbeansxx::XmlObject::query | ( | const std::string & | elementName, |
QueryNodePtr | queryExpr | ||
) | const [virtual] |
Selects first XmlObject that meets given criteria
std::vector< XmlObject > xmlbeansxx::XmlObject::selectPath | ( | const std::string & | path | ) |
std::vector< XmlObject > xmlbeansxx::XmlObject::selectPath | ( | const NSMap & | ns, |
const std::string & | path | ||
) |
const std::vector< XmlObject > xmlbeansxx::XmlObject::selectPath | ( | const std::string & | path | ) | const |
const std::vector< XmlObject > xmlbeansxx::XmlObject::selectPath | ( | const NSMap & | ns, |
const std::string & | path | ||
) | const |
void xmlbeansxx::XmlObject::serialize | ( | std::ostream & | out, |
XmlOptions | options = XmlOptions() |
||
) | const [virtual] |
Serializes object to stream
Reimplemented in xmlbeansxx::XmlObjectDocument.
bool xmlbeansxx::XmlObject::setAnyElement | ( | const QName & | elementName, |
const std::string & | content | ||
) |
void xmlbeansxx::XmlObject::setAttribute | ( | const QName & | name, |
const XmlAnySimpleType & | attribute | ||
) |
void xmlbeansxx::XmlObject::setElement | ( | const QName & | name, |
const XmlObject & | element, | ||
int | index = 0 |
||
) |
void xmlbeansxx::XmlObject::setSimpleContent | ( | const std::string & | value | ) | [virtual] |
Reimplemented in xmlbeansxx::XmlInteger, and xmlbeansxx::XmlDecimal.
void xmlbeansxx::XmlObject::setXmlObject | ( | const xmlbeansxx::XmlObject & | p | ) | [virtual] |
Reimplemented in xmlbeansxx::XmlDate, xmlbeansxx::XmlPositiveInteger, xmlbeansxx::XmlUnsignedByte, xmlbeansxx::XmlUnsignedShort, xmlbeansxx::XmlUnsignedInt, xmlbeansxx::XmlUnsignedLong, xmlbeansxx::XmlNonNegativeInteger, xmlbeansxx::XmlByte, xmlbeansxx::XmlShort, xmlbeansxx::XmlInt, xmlbeansxx::XmlLong, xmlbeansxx::XmlNegativeInteger, xmlbeansxx::XmlNonPositiveInteger, xmlbeansxx::XmlInteger, xmlbeansxx::XmlDecimal, xmlbeansxx::XmlENTITIES, xmlbeansxx::XmlGMonth, xmlbeansxx::XmlNOTATION, xmlbeansxx::XmlDouble, xmlbeansxx::XmlQName, xmlbeansxx::XmlHexBinary, xmlbeansxx::XmlFloat, xmlbeansxx::XmlDuration, xmlbeansxx::XmlDateTime, xmlbeansxx::XmlNMTOKEN, xmlbeansxx::XmlLanguage, xmlbeansxx::XmlIDREF, xmlbeansxx::XmlENTITY, xmlbeansxx::XmlID, xmlbeansxx::XmlNCName, xmlbeansxx::XmlName, xmlbeansxx::XmlToken, xmlbeansxx::XmlNormalizedString, xmlbeansxx::XmlString, xmlbeansxx::XmlGYear, xmlbeansxx::XmlNMTOKENS, xmlbeansxx::XmlBase64Binary, xmlbeansxx::XmlGYearMonth, xmlbeansxx::XmlIDREFS, xmlbeansxx::XmlTime, xmlbeansxx::XmlGDay, xmlbeansxx::XmlBoolean, xmlbeansxx::XmlGMonthDay, xmlbeansxx::XmlAnyURI, xmlbeansxx::XmlAnySimpleType, xmlbeansxx::XmlObjectDocument, and xmlbeansxx::definitions::XmlFragmentDocument.
void xmlbeansxx::XmlObject::swapContents | ( | const ContentsPtr & | p | ) | [virtual] |
STAWEL - not needed for shared_ptr #ifdef BOOST_HAS_THREADS boost::recursive_mutex &XmlObject::mutex() const { return contents->mutex; } #endif
std::string xmlbeansxx::XmlObject::toString | ( | XmlOptions | options = XmlOptions() | ) | const [virtual] |
Serializes object to string
const xmlbeansxx::SchemaType * xmlbeansxx::XmlObject::type | ( | ) | [static] |
Reimplemented in xmlbeansxx::XmlDate, xmlbeansxx::XmlPositiveInteger, xmlbeansxx::XmlUnsignedByte, xmlbeansxx::XmlUnsignedShort, xmlbeansxx::XmlUnsignedInt, xmlbeansxx::XmlUnsignedLong, xmlbeansxx::XmlNonNegativeInteger, xmlbeansxx::XmlByte, xmlbeansxx::XmlShort, xmlbeansxx::XmlInt, xmlbeansxx::XmlLong, xmlbeansxx::XmlNegativeInteger, xmlbeansxx::XmlNonPositiveInteger, xmlbeansxx::XmlInteger, xmlbeansxx::XmlDecimal, xmlbeansxx::XmlENTITIES, xmlbeansxx::XmlGMonth, xmlbeansxx::XmlNOTATION, xmlbeansxx::XmlDouble, xmlbeansxx::XmlQName, xmlbeansxx::XmlHexBinary, xmlbeansxx::XmlFloat, xmlbeansxx::XmlDuration, xmlbeansxx::XmlDateTime, xmlbeansxx::XmlNMTOKEN, xmlbeansxx::XmlLanguage, xmlbeansxx::XmlIDREF, xmlbeansxx::XmlENTITY, xmlbeansxx::XmlID, xmlbeansxx::XmlNCName, xmlbeansxx::XmlName, xmlbeansxx::XmlToken, xmlbeansxx::XmlNormalizedString, xmlbeansxx::XmlString, xmlbeansxx::XmlGYear, xmlbeansxx::XmlNMTOKENS, xmlbeansxx::XmlBase64Binary, xmlbeansxx::XmlGYearMonth, xmlbeansxx::XmlIDREFS, xmlbeansxx::XmlTime, xmlbeansxx::XmlGDay, xmlbeansxx::XmlBoolean, xmlbeansxx::XmlGMonthDay, xmlbeansxx::XmlAnyURI, xmlbeansxx::XmlAnySimpleType, xmlbeansxx::AnyXmlArray, xmlbeansxx::XmlObjectDocument, and xmlbeansxx::definitions::XmlFragmentDocument.
ContentsPtr xmlbeansxx::XmlObject::walkXpath | ( | const std::string | xpath, |
std::string & | lastName, | ||
bool | createElems | ||
) | [private] |
xmlbeansxx::XmlObject::XMLBEANSXX_STATIC_LOGGER_PTR | ( | log | ) | [protected] |
friend class Contents [friend] |
friend class Contents::Walker [friend] |
friend class MyHandler [friend] |
friend class QueryAttribute [friend] |
friend class QueryElement [friend] |
friend class XmlArray [friend] |