Class EnumerationValuesInfoXsomParser

java.lang.Object
com.evolveum.midpoint.prism.impl.schema.features.EnumerationValuesInfoXsomParser
All Implemented Interfaces:
DefinitionFeatureParser<List<EnumerationValuesInfoXsomParser.EnumValueInfo>,com.sun.xml.xsom.XSType>

public class EnumerationValuesInfoXsomParser extends Object implements DefinitionFeatureParser<List<EnumerationValuesInfoXsomParser.EnumValueInfo>,com.sun.xml.xsom.XSType>
Collects values with their labels and documentation from XSD. For example, ---- <xsd:restriction base="xsd:string"> <xsd:enumeration value="pegLeg"> <xsd:annotation> <xsd:documentation>Pirate with a peg leg</xsd:documentation> <xsd:appinfo> <a:label>Peg Leg</a:label> </xsd:appinfo> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="hook"/> </xsd:restriction> ---- Returns a list of records: (pegLeg, Peg Leg, Pirate with a peg leg) + (hook, null, null)