1 17 package org.apache.ws.jaxme.xs.types; 18 19 20 import org.apache.ws.jaxme.xs.XSParser; 21 import org.apache.ws.jaxme.xs.XSType; 22 import org.apache.ws.jaxme.xs.xml.XsQName; 23 24 25 29 public class XSAnySimpleType extends AbstractAtomicType { 30 private static final XSAnySimpleType theInstance = new XSAnySimpleType(); 31 private static final XsQName name = new XsQName(XSParser.XML_SCHEMA_URI, "anySimpleType", null); 32 33 protected XSAnySimpleType() { 34 } 35 36 public XsQName getName() { return name; } 37 38 public static XSType getInstance() { return theInstance; } 39 40 public boolean isRestriction() { return false; } 41 public XSType getRestrictedType() { 42 throw new IllegalStateException ("The type " + name + 43 " is the simple ur type and no restriction of another simple type."); 44 } 45 } 46 | Popular Tags |