Poco::XSD::Types

class AbstractElementImpl

File Information

Library: XSD/Types
Package: XSDElements
Header: Poco/XSD/Types/AbstractElementImpl.h

Description

AbstractElementImpl handles the Element definition case with a named complexType.

Inheritance

Direct Base Classes: Element

All Base Classes: Poco::RefCountedObject, AnnotatedObject, Content, Element, OrderContent, Visitable

Known Derived Classes: ElementTypeRef, ElementImpl

Member Summary

Member Functions: getAbstract, getBlockExtension, getBlockRestriction, getBlockSubstitution, getDefault, getFinalExtension, getFinalRestriction, getFixed, getNillable, getQualified, getSubstitutionGroup, hasDefault, hasFixed, hasSubstitutionGroup, name, nameSpace, setAbstract, setBlockAll, setBlockExtension, setBlockRestriction, setBlockSubstitution, setDefault, setFinalAll, setFinalExtension, setFinalRestriction, setFixed, setName, setNillable, setQualified, setSubstitutionGroup

Inherited Functions: accept, addAnnotation, duplicate, fixup, getAbstract, getAnnotations, getBlockExtension, getBlockRestriction, getBlockSubstitution, getDefault, getFinalExtension, getFinalRestriction, getFixed, getId, getMaxOccurs, getMinOccurs, getNillable, getQualified, getSubstitutionGroup, hasDefault, hasFixed, hasSubstitutionGroup, id, iterator, name, nameSpace, referenceCount, release, setAbstract, setBlockAll, setBlockExtension, setBlockRestriction, setBlockSubstitution, setDefault, setFinalAll, setFinalExtension, setFinalRestriction, setFixed, setId, setMaxOccurs, setMinOccurs, setName, setNillable, setQualified, setSubstitutionGroup, type, types

Constructors

AbstractElementImpl

AbstractElementImpl();

Creates the AbstractElementImpl.

AbstractElementImpl

AbstractElementImpl(
    const std::string & id,
    Poco::UInt32 minOcc,
    Poco::UInt32 maxOcc,
    bool isAbstract,
    bool blockRestriction,
    bool blockExtension,
    bool blockSubstitution,
    const std::string & defaultValue,
    bool finalRestriction,
    bool finalExtension,
    const std::string & fixedValue,
    bool qualified,
    const std::string & name,
    const std::string & nameSpace,
    bool nillable,
    const QName & substitutionGroup = QName::INVALID
);

Creates an initialized AbstractElementImpl

Destructor

~AbstractElementImpl virtual

~AbstractElementImpl();

Destroys the AbstractElementImpl.

Member Functions

getAbstract virtual inline

bool getAbstract() const;

getBlockExtension virtual inline

bool getBlockExtension() const;

getBlockRestriction virtual inline

bool getBlockRestriction() const;

getBlockSubstitution virtual inline

bool getBlockSubstitution() const;

getDefault virtual inline

const std::string & getDefault() const;

The default value of the element. Empty if no one exists.

getFinalExtension virtual inline

bool getFinalExtension() const;

getFinalRestriction virtual inline

bool getFinalRestriction() const;

getFixed virtual inline

const std::string & getFixed() const;

getNillable virtual inline

bool getNillable() const;

getQualified virtual inline

bool getQualified() const;

getSubstitutionGroup virtual inline

const QName & getSubstitutionGroup() const;

hasDefault virtual inline

bool hasDefault() const;

hasFixed virtual inline

bool hasFixed() const;

hasSubstitutionGroup virtual inline

bool hasSubstitutionGroup() const;

name virtual inline

const std::string & name() const;

nameSpace virtual

const std::string & nameSpace() const;

setAbstract virtual inline

void setAbstract(
    bool abstr
);

setBlockAll virtual inline

void setBlockAll(
    bool block
);

setBlockExtension virtual inline

void setBlockExtension(
    bool block
);

setBlockRestriction virtual inline

void setBlockRestriction(
    bool block
);

setBlockSubstitution virtual inline

void setBlockSubstitution(
    bool block
);

setDefault virtual inline

void setDefault(
    const std::string & value
);

setFinalAll virtual inline

void setFinalAll(
    bool fin
);

setFinalExtension virtual inline

void setFinalExtension(
    bool fin
);

setFinalRestriction virtual inline

void setFinalRestriction(
    bool fin
);

setFixed virtual inline

void setFixed(
    const std::string & value
);

setName virtual inline

void setName(
    const std::string & name
);

setNillable virtual inline

void setNillable(
    bool nillable
);

setQualified virtual inline

void setQualified(
    bool qual
);

setSubstitutionGroup virtual inline

void setSubstitutionGroup(
    const QName & ref
);