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 XSInteger extends XSDecimal { 29 private static final XSInteger theInstance = new XSInteger(); 30 private static final XsQName name = new XsQName(XSParser.XML_SCHEMA_URI, "integer", null); 31 private static final Long ZERO = new Long (0); 32 33 protected XSInteger() { 34 } 35 36 public XsQName getName() { return name; } 37 38 public Long getFractionDigits() { return ZERO; } 39 40 public static XSType getInstance() { return theInstance; } 41 42 public XSType getRestrictedType() { return XSDecimal.getInstance(); } 43 } 44 | Popular Tags |