File Information
Library: XSD/Parser
Package: XSDParser
Header: Poco/XSD/Parser/Utility.h
Description
Utility class, used to extract attribute values.
Member Summary
Member Functions: getAnyAttrProcessStyle, getAnyProcessStyle, getAttrUsage, getBlock, getBool, getFinal, getFinalDefault, getMaxOccurs, getMinOccurs, getQualified, getSimpleTypeFinal, getString
Constructors
Destructor
~Utility
~Utility();
Member Functions
getAnyAttrProcessStyle
static Poco::XSD::Types::AnyAttribute::ProcessStyle getAnyAttrProcessStyle(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr
);
getAnyProcessStyle
static Poco::XSD::Types::Any::ProcessStyle getAnyProcessStyle(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr
);
getAttrUsage
static Poco::XSD::Types::AbstractAttribute::Usage getAttrUsage(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr,
Poco::XSD::Types::AbstractAttribute::Usage def
);
getBlock
static void getBlock(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr,
bool & blockRestriction,
bool & blockExtension,
bool & blockSubstitution
);
if itAttr == itEnd, blockRestriction and blockExtension and blockSubstitution will not be changed!
getBool
static bool getBool(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr,
bool defaultValue
);
getFinal
static void getFinal(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr,
bool & finalRestriction,
bool & finalExtension
);
if itAttr == itEnd, finalRestriction and finalExtension will not be changed!
getFinalDefault
static void getFinalDefault(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr,
bool & finalRestriction,
bool & finalExtension,
bool & finalList,
bool & finalUnion
);
getMaxOccurs
static Poco::UInt32 getMaxOccurs(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr
);
getMinOccurs
static Poco::UInt32 getMinOccurs(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr
);
getQualified
static bool getQualified(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr,
bool defaultValue
);
getSimpleTypeFinal
static void getSimpleTypeFinal(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr,
bool & finalRestriction,
bool & finalList,
bool & finalUnion
);
if itAttr == itEnd, finalRestriction, finalUnion and finalList will not be changed!
getString
static const std::string & getString(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr,
const std::string & defaultValue
);
For optional string attributes
getString
static const std::string & getString(
const CompactAttributes::const_iterator & itEnd,
const CompactAttributes::const_iterator & itAttr
);
For mandatory attributes