Search in sources :

Example 1 with Restrictions

use of io.atlasmap.xml.v2.Restrictions in project atlasmap by atlasmap.

the class SchemaInspector method mapRestrictions.

private void mapRestrictions(XmlField xmlField, XSRestrictionSimpleType restrictionSimpleType) {
    SimpleTypeRestriction simpleTypeRestriction = new SimpleTypeRestriction();
    simpleTypeRestriction.initRestrictions(restrictionSimpleType);
    Restrictions restrictions = new Restrictions();
    xmlField.setRestrictions(restrictions);
    mapSimpleRestrictionToRestriction(simpleTypeRestriction, xmlField);
}
Also used : Restrictions(io.atlasmap.xml.v2.Restrictions)

Aggregations

Restrictions (io.atlasmap.xml.v2.Restrictions)1