1 17 package org.apache.ws.jaxme.xs.types; 18 19 import org.apache.ws.jaxme.xs.XSParser; 20 import org.apache.ws.jaxme.xs.XSType; 21 import org.apache.ws.jaxme.xs.xml.XsQName; 22 23 24 28 public class XSInt extends XSLong { 29 private static final XSInt theInstance = new XSInt(); 30 private static final XsQName name = new XsQName(XSParser.XML_SCHEMA_URI, "int", null); 31 32 protected XSInt() { 33 } 34 35 public XsQName getName() { return name; } 36 37 public String getMaxInclusive() { return "2147483647"; } 38 39 public String getMinInclusive() { return "-2147483648"; } 40 41 public static XSType getInstance() { return theInstance; } 42 43 public XSType getRestrictedType() { return XSLong.getInstance(); } 44 } 45 | Popular Tags |