27 #include "../../xml/Reader.h"
28 #include "../../xml/Writer.h"
29 #include "../../xsd/ComplexContent.h"
30 #include "../../xsd/Extension.h"
31 #include "../../xsd/Restriction4ComplexContent.h"
53 if(pos != std::string::npos)
54 cc->setAsMixed(reader.
getAttr(pos) ==
"true" ?
true :
false);
TESERIALIZATIONEXPORT te::xsd::Restriction4ComplexContent * ReadRestriction4ComplexContent(te::xml::Reader &reader)
It models an XML Schema complexContent element.
This class models a XML reader object.
virtual bool next()=0
It gets the next event to be read.
void ReadAnnotated(te::xsd::Annotated *annotated, te::xml::Reader &reader)
TESERIALIZATIONEXPORT te::xsd::ComplexContent * ReadComplexContent(te::xml::Reader &reader)
Support for ComplexContent serialization.
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
void ReadIdentifiable(te::xsd::Identifiable *identifiable, te::xml::Reader &reader)
Support for Restriction on a complexContent serialization.
Support for Extension serialization.
TESERIALIZATIONEXPORT te::xsd::Extension * ReadExtension(te::xml::Reader &reader)
Utility methods for Schema serialization.
virtual NodeType getNodeType() const =0
It return the type of node read.
virtual std::string getElementLocalName() const =0
It returns the local part of the element name in the case of an element node.
virtual std::size_t getAttrPosition(const std::string &name) const =0
It returns the attribute position.
virtual std::string getAttr(const std::string &name) const =0
It returns the attribute value in the case of an element node with valid attributes.
This class models a XML writer object.