int minOccurs = toInt(attValue);
minOccurs = toInt(attValue);
    public ElementUnmarshaller        (Schema schema, AttributeList atts, Resolver resolver)     {        super();        setResolver(resolver);                this._schema = schema;                _element = new ElementDecl(schema);                String attValue = null;                //-- @ref        attValue = atts.getValue("ref");        if (attValue != null) {            _element.setReference(attValue);        }                                //-- @name        _element.setName(atts.getValue("name"));                    //-- @type        attValue = atts.getValue("type");        if (attValue != null) _element.setTypeRef(atts.getValue("type"));                        //-- @minOccurs        attValue = atts.getValue(SchemaNames.MIN_OCCURS_ATTR);        if (attValue != null) {            int minOccurs = toInt(attValue);            _element.setMinimumOccurance(minOccurs);        }        //-- @maxOccurs        attValue = atts.getValue(SchemaNames.MAX_OCCURS_ATTR);        if (MAX_OCCURS_WILDCARD.equals(attValue)) attValue = "-1";                if (attValue != null) {            int maxOccurs = toInt(attValue);            _element.setMaximumOccurance(maxOccurs);        }        //-- @schemaAbbrev        _element.setSchemaAbbrev(atts.getValue("schemaAbbrev"));                //-- @schemaName        _element.setSchemaName(atts.getValue("schemaName"));                charUnmarshaller = new CharacterUnmarshaller();    } //-- ElementUnmarshaller