27 #include "../../xml/Reader.h"
28 #include "../../xml/Writer.h"
29 #include "../../xsd/List.h"
30 #include "../../xsd/Restriction4SimpleType.h"
31 #include "../../xsd/SimpleType.h"
32 #include "../../xsd/Union.h"
56 if(pos != std::string::npos)
57 st->setName(
new std::string(reader.
getAttr(pos)));
69 st->setConstructor(
ReadList(reader));
It models a XML Schema SimpleType element.
Support for List serialization.
TESERIALIZATIONEXPORT te::xsd::List * ReadList(te::xml::Reader &reader)
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 void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
void ReadIdentifiable(te::xsd::Identifiable *identifiable, te::xml::Reader &reader)
Support for Union serialization.
Support for SimpleType serialization.
TESERIALIZATIONEXPORT te::xsd::Restriction4SimpleType * ReadRestriction4SimpleType(te::xml::Reader &reader)
Utility methods for Schema serialization.
TESERIALIZATIONEXPORT te::xsd::Union * ReadUnion(te::xml::Reader &reader)
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.
TESERIALIZATIONEXPORT te::xsd::SimpleType * ReadSimpleType(te::xml::Reader &reader)
Support for Restriction on a simpleType serialization.
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.