|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
PmtItemInterpreter Class Reference#include <PmtItemInterpreter.h>
Inheritance diagram for PmtItemInterpreter: [legend]Collaboration diagram for PmtItemInterpreter:[legend]List of all members.
Public Types |
enum | PmtRootElementInterpreter { PMT_ROOT_ELEMENT_INTERPRETER
} |
enum | PmtCompositeState { PMT_COMPOSITE_STATE_NEW,
PMT_COMPOSITE_STATE_REUSE,
PMT_COMPOSITE_STATE_INTERVENING_MODEL_GROUP
} |
Public Methods |
| PmtItemInterpreter () |
virtual | ~PmtItemInterpreter () |
virtual void | interpret ()=0 |
PmtItemInterpreterPtr | clone () |
const PmtSchemaElement & | getCurPmtElement () const |
const DOM_Element & | getCurDomElement () const |
virtual void | setParserAndSaveState (PmtSchemaElement &savedElement, PmtSchemaParserPtr &parser, bool setParser=true) |
virtual void | restoreState (PmtSchemaElement &savedElement) |
Static Public Methods |
PmtItemInterpreterPtr | getItemInterp (PmtSchemaParserPtr parser) |
PmtItemInterpreterPtr | getItemInterpInclude (PmtSchemaParserPtr parser, const SPmtString &type) |
void | setPmtSchemaParser (PmtSchemaParserPtr pmtSchemaParserPtr, PmtParserList *pmtIncludeSchemaParserList) |
PmtParserList * | getIncludePmtSchemaParserList () |
PmtSchemaParserPtr | getIncludeSchemaParser () |
PmtSchemaParserPtr | getSchemaParser () |
PmtSchemaElement & | getPrevElement () |
PmtItemInterpreterFactoryType & | getFactory () |
bool | getIsLastElementIncluded () |
void | setIsLastElementIncluded (bool isLastIncluded) |
bool | getIsIncludeInterpFound () |
void | setIsIncludeInterpFound (bool isIncludeInterpFound) |
bool | getIsIncludeBeingParsed () |
void | setIsIncludeBeingParsed (bool isIncludeBeingParsed) |
Protected Methods |
void | interpretContents () |
bool | addToFactory (const PmtMetadataPtr metadata, const PmtKeyType &factoryKey) const |
void | addToFactory (const PmtAttributePtr attr, const PmtKeyType &attrName) |
void | throwElementProcessingError (const char *filename, int line) const |
PmtKeyType | makeFullKeyFromInterpContext (const PmtKeyType &relativeKey) |
void | addMetadataItem (const PmtKeyType &key, const PmtKeyType &fullKey, SPmtString minOccursAttr="1", SPmtString maxOccursAttr="1", SPmtString nillable="false") |
PmtMetadataPtr | createPrimitiveMetadata (const SPmtString &name, const SPmtString &type, const SPmtString &nillable="false") const |
PmtAttributePtr | createPrimitiveAttribute (const SPmtString &name, const SPmtString &type) const |
void | addFacet (const PmtKeyType &facetName, const vector< SPmtString > &value, bool fixed) |
Static Protected Methods |
PmtItemInterpreterPtr | getItemInterp (const DOM_Element &element) |
void | throwGetItemInterpError (const DOM_Element &element, const char *filename, int line) |
void | throwNullInterpError (const SPmtString interpName) |
SPmtString | toXsdDefaultQualifiedName (const SPmtString &name) |
Static Protected Attributes |
bool | msIsIncludeBeingParsed = false |
PmtSchemaParserPtr | msIncludePmtParser |
PmtSchemaParserPtr | msPmtParser |
PmtParserList * | msIncludedFileParsers |
EkGPtr< PmtItemInterpreterFactoryType > | msFactory |
PmtCompositeContextType | msCompositeContext |
PmtCompositeContextType | msExtensionCompositeContext |
PmtModelGroupContextType | msModelGroupContext |
PmtSchemaElement | msPrevElement |
PmtSchemaElement | msPrevIncludeElement |
PmtMetadataPtr | msMdObjectGettingProcessed |
PmtCompositeState | msCompositeState |
PmtMetadataPtr | msMdToAdd |
PmtAttributePtr | msAttrToAdd |
bool | msVectorTypeMd |
vector< SPmtString > | msEnumValues |
PmtSchemaElement | msCurAttr |
bool | msInterpretAttr |
PmtMetadataFactory * | msMdFactory |
PmtAttrFactory * | msAttrFactory |
bool | msCalledFromComplexContent |
bool | msIsComplexTypeChildOfExtension |
int | msComplexCount |
bool | msIsLastElementIncluded |
bool | msIsIncludeInterpFound |
Member Enumeration Documentation
enum PmtItemInterpreter::PmtCompositeState
|
|
|
-
Enumeration values:
-
PMT_COMPOSITE_STATE_NEW |
|
PMT_COMPOSITE_STATE_REUSE |
|
PMT_COMPOSITE_STATE_INTERVENING_MODEL_GROUP |
|
|
enum PmtItemInterpreter::PmtRootElementInterpreter
|
|
|
-
Enumeration values:
-
PMT_ROOT_ELEMENT_INTERPRETER |
|
|
Constructor & Destructor Documentation
PmtItemInterpreter::PmtItemInterpreter |
( |
|
) |
[inline] |
|
virtual PmtItemInterpreter::~PmtItemInterpreter |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
void PmtItemInterpreter::addFacet |
( |
const PmtKeyType & |
facetName, |
|
|
const vector< SPmtString > & |
value, |
|
|
bool |
fixed |
|
) |
[protected] |
|
bool PmtItemInterpreter::addToFactory |
( |
const PmtMetadataPtr |
metadata, |
|
|
const PmtKeyType & |
factoryKey |
|
) |
const [protected] |
|
const DOM_Element& PmtItemInterpreter::getCurDomElement |
( |
|
) |
const [inline] |
|
PmtParserList* PmtItemInterpreter::getIncludePmtSchemaParserList |
( |
|
) |
[inline, static] |
|
bool PmtItemInterpreter::getIsIncludeBeingParsed |
( |
|
) |
[inline, static] |
|
bool PmtItemInterpreter::getIsIncludeInterpFound |
( |
|
) |
[inline, static] |
|
bool PmtItemInterpreter::getIsLastElementIncluded |
( |
|
) |
[inline, static] |
|
PmtItemInterpreterPtr PmtItemInterpreter::getItemInterp |
( |
const DOM_Element & |
element |
) |
[static, protected] |
|
virtual void PmtItemInterpreter::interpret |
( |
|
) |
[pure virtual] |
|
void PmtItemInterpreter::interpretContents |
( |
|
) |
[protected] |
|
PmtKeyType PmtItemInterpreter::makeFullKeyFromInterpContext |
( |
const PmtKeyType & |
relativeKey |
) |
[protected] |
|
void PmtItemInterpreter::restoreState |
( |
PmtSchemaElement & |
savedElement |
) |
[virtual] |
|
void PmtItemInterpreter::setIsIncludeBeingParsed |
( |
bool |
isIncludeBeingParsed |
) |
[inline, static] |
|
void PmtItemInterpreter::setIsIncludeInterpFound |
( |
bool |
isIncludeInterpFound |
) |
[inline, static] |
|
void PmtItemInterpreter::setIsLastElementIncluded |
( |
bool |
isLastIncluded |
) |
[inline, static] |
|
void PmtItemInterpreter::throwElementProcessingError |
( |
const char * |
filename, |
|
|
int |
line |
|
) |
const [protected] |
|
void PmtItemInterpreter::throwGetItemInterpError |
( |
const DOM_Element & |
element, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
[static, protected] |
|
void PmtItemInterpreter::throwNullInterpError |
( |
const SPmtString |
interpName |
) |
[static, protected] |
|
SPmtString PmtItemInterpreter::toXsdDefaultQualifiedName |
( |
const SPmtString & |
name |
) |
[static, protected] |
|
Member Data Documentation
bool PmtItemInterpreter::msCalledFromComplexContent [static, protected]
|
|
int PmtItemInterpreter::msComplexCount [static, protected]
|
|
vector<SPmtString> PmtItemInterpreter::msEnumValues [static, protected]
|
|
PmtParserList * PmtItemInterpreter::msIncludedFileParsers [static, protected]
|
|
bool PmtItemInterpreter::msInterpretAttr [static, protected]
|
|
bool PmtItemInterpreter::msIsComplexTypeChildOfExtension [static, protected]
|
|
bool PmtItemInterpreter::msIsIncludeBeingParsed = false [static, protected]
|
|
bool PmtItemInterpreter::msIsIncludeInterpFound [static, protected]
|
|
bool PmtItemInterpreter::msIsLastElementIncluded [static, protected]
|
|
PmtMetadataPtr PmtItemInterpreter::msMdObjectGettingProcessed [static, protected]
|
|
bool PmtItemInterpreter::msVectorTypeMd [static, protected]
|
|
The documentation for this class was generated from the following files:
|