metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
} else if (facet instanceof XmlSchemaTotalDigitsFacet) {
XmlSchemaTotalDigitsFacet totalDigits = (XmlSchemaTotalDigitsFacet) facet;
metaInfHolder.setTotalDigitsFacet(totalDigits.getValue().toString());
} else if (facet instanceof XmlSchemaMaxExclusiveFacet) {
XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) facet;
metaInfHolder.setMaxExclusiveFacet(maxEx.getValue().toString());
} else if (facet instanceof XmlSchemaMinExclusiveFacet) {
XmlSchemaMinExclusiveFacet minEx = (XmlSchemaMinExclusiveFacet) facet;
metaInfHolder.setMinExclusiveFacet(minEx.getValue().toString());
} else if (facet instanceof XmlSchemaMaxInclusiveFacet) {
XmlSchemaMaxInclusiveFacet maxIn = (XmlSchemaMaxInclusiveFacet) facet;