/** * Set to indicate if the schema reference references a simple type * definition, complex type definition, element or group. * * @param type - * COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5 */ public void setType(int type) { if ((type < 1) || (type > 3 && type != 5)) { throw XMLPlatformException.xmlPlatformInvalidTypeException(type); } this.type = type; }
/** * Set to indicate if the schema reference references a simple type * definition, complex type definition, element or group. * * @param type - * COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5 */ public void setType(int type) { if ((type < 1) || (type > 3 && type != 5)) { throw XMLPlatformException.xmlPlatformInvalidTypeException(type); } this.type = type; }
/** * Set to indicate if the schema reference references a simple type * definition, complex type definition, element or group. * * @param type - * COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5 */ public void setType(int type) { if ((type < 1) || (type > 3 && type != 5)) { throw XMLPlatformException.xmlPlatformInvalidTypeException(type); } this.type = type; }