}
metaInfHolder.setPatternFacet(patternString);
}
else if (obj instanceof XmlSchemaEnumerationFacet) {
XmlSchemaEnumerationFacet enumeration = (XmlSchemaEnumerationFacet) obj;
if (restriction.getBaseTypeName().equals(SchemaConstants.XSD_QNAME)) {
// we have to process the qname here and shoud find the local part and namespace uri
String value = enumeration.getValue().toString();
String prefix = value.substring(0, value.indexOf(":"));
String localPart = value.substring(value.indexOf(":") + 1);
String namespaceUri = parentSchema.getNamespaceContext().getNamespaceURI(prefix);
// set the string to suite for the convertQname method
String qNameString = value + "\", \"" + namespaceUri;
metaInfHolder.addEnumFacet(qNameString);
} else {
metaInfHolder.addEnumFacet(enumeration.getValue().toString());
}
}
else if (obj instanceof XmlSchemaLengthFacet) {