facet = new XmlSchemaMaxLengthFacet(); } else if (name.equals("minLength")) { facet = new XmlSchemaMinLengthFacet(); } else if (name.equals("minExclusive")) { facet = new XmlSchemaMinExclusiveFacet();
} else if (facet instanceof XmlSchemaMinLengthFacet) { XmlSchemaMinLengthFacet minLen = (XmlSchemaMinLengthFacet) facet; metaInfHolder.setMinLengthFacet(Integer.parseInt(minLen.getValue().toString()));
if (stringTypeDefinition.getMinLength() != null) final XmlSchemaMinLengthFacet minLength = new XmlSchemaMinLengthFacet(); minLength.setValue(stringTypeDefinition.getMinLength()); content.getFacets().add(minLength);
if (stringTypeDefinition.getMinLength() != null) final XmlSchemaMinLengthFacet minLength = new XmlSchemaMinLengthFacet(); minLength.setValue(stringTypeDefinition.getMinLength()); content.getFacets().add(minLength);
facet = new XmlSchemaMaxLengthFacet(); } else if (name.equals("minLength")) { facet = new XmlSchemaMinLengthFacet(); } else if (name.equals("minExclusive")) { facet = new XmlSchemaMinExclusiveFacet();
} else if (facet instanceof XmlSchemaMinLengthFacet) { XmlSchemaMinLengthFacet minLen = (XmlSchemaMinLengthFacet) facet; metaInfHolder.setMinLengthFacet(Integer.parseInt(minLen.getValue().toString()));
facet = new XmlSchemaMaxLengthFacet(); } else if (name.equals("minLength")) { facet = new XmlSchemaMinLengthFacet(); } else if (name.equals("minExclusive")) { facet = new XmlSchemaMinExclusiveFacet();