Added a function to StructureType that converts a string into the Enum

XMLdecoder should be able to return structure type given a component name