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 XSByte extends XSShort { 29 private static final XSByte theInstance = new XSByte(); 30 private static final XsQName name = new XsQName(XSParser.XML_SCHEMA_URI, "byte", null); 31 32 protected XSByte() { 33 } 34 35 public XsQName getName() { return name; } 36 37 public String getMaxInclusive() { return "127"; } 38 39 public String getMinInclusive() { return "-128"; } 40 41 public static XSType getInstance() { return theInstance; } 42 public XSType getRestrictedType() { return XSShort.getInstance(); } 43 } 44 | Popular Tags |