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
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 
 
Destroys the AbstractElementImpl.
Member Functions
getAbstract 
  
 
bool getAbstract() const;
See also: Poco::XSD::Types::Element::getAbstract()
getBlockExtension 
  
 
bool getBlockExtension() const;
getBlockRestriction 
  
 
bool getBlockRestriction() const;
getBlockSubstitution 
  
 
bool getBlockSubstitution() const;
getDefault 
  
 
const std::string & getDefault() const;
The default value of the element. Empty if no one exists.
See also: Poco::XSD::Types::Element::getDefault()
getFinalExtension 
  
 
bool getFinalExtension() const;
getFinalRestriction 
  
 
bool getFinalRestriction() const;
getFixed 
  
 
const std::string & getFixed() const;
See also: Poco::XSD::Types::Element::getFixed()
getNillable 
  
 
bool getNillable() const;
See also: Poco::XSD::Types::Element::getNillable()
getQualified 
  
 
bool getQualified() const;
getSubstitutionGroup 
  
 
const QName & getSubstitutionGroup() const;
hasDefault 
  
 
bool hasDefault() const;
See also: Poco::XSD::Types::Element::hasDefault()
hasFixed 
  
 
bool hasFixed() const;
See also: Poco::XSD::Types::Element::hasFixed()
hasSubstitutionGroup 
  
 
bool hasSubstitutionGroup() const;
name 
  
 
const std::string & name() const;
See also: Poco::XSD::Types::Element::name()
nameSpace 
 
const std::string & nameSpace() const;
See also: Poco::XSD::Types::Element::nameSpace()
setAbstract 
  
 
void setAbstract(
    bool abstr
);
See also: Poco::XSD::Types::Element::setAbstract()
setBlockAll 
  
 
void setBlockAll(
    bool block
);
See also: Poco::XSD::Types::Element::setBlockAll()
setBlockExtension 
  
 
void setBlockExtension(
    bool block
);
setBlockRestriction 
  
 
void setBlockRestriction(
    bool block
);
setBlockSubstitution 
  
 
void setBlockSubstitution(
    bool block
);
setDefault 
  
 
void setDefault(
    const std::string & value
);
See also: Poco::XSD::Types::Element::setDefault()
setFinalAll 
  
 
void setFinalAll(
    bool fin
);
See also: Poco::XSD::Types::Element::setFinalAll()
setFinalExtension 
  
 
void setFinalExtension(
    bool fin
);
setFinalRestriction 
  
 
void setFinalRestriction(
    bool fin
);
setFixed 
  
 
void setFixed(
    const std::string & value
);
See also: Poco::XSD::Types::Element::setFixed()
setName 
  
 
void setName(
    const std::string & name
);
See also: Poco::XSD::Types::Element::setName()
setNillable 
  
 
void setNillable(
    bool nillable
);
See also: Poco::XSD::Types::Element::setNillable()
setQualified 
  
 
void setQualified(
    bool qual
);
setSubstitutionGroup 
  
 
void setSubstitutionGroup(
    const QName & ref
);