1 17 package org.apache.ws.jaxme.xs.xml.impl; 18 19 import org.apache.ws.jaxme.xs.parser.impl.LocSAXException; 20 import org.apache.ws.jaxme.xs.xml.*; 21 import org.xml.sax.SAXException ; 22 23 24 42 public class XsTComplexRestrictionTypeImpl extends XsTRestrictionTypeImpl 43 implements XsTComplexRestrictionType { 44 protected XsTComplexRestrictionTypeImpl(XsObject pParent) { 45 super(pParent); 46 } 47 48 public XsTLocalSimpleType createSimpleType() throws SAXException { 49 throw new LocSAXException("A restriction with complex content doesn't support the 'simpleType' child element.", getLocator()); 50 } 51 52 public XsEMinExclusive createMinExclusive() throws SAXException { 53 throw new LocSAXException("A restriction with complex content doesn't support the 'minExclusive' child element.", getLocator()); 54 } 55 56 public XsEMinInclusive createMinInclusive() throws SAXException { 57 throw new LocSAXException("A restriction with complex content doesn't support the 'minInclusive' child element.", getLocator()); 58 } 59 60 public XsEMaxExclusive createMaxExclusive() throws SAXException { 61 throw new LocSAXException("A restriction with complex content doesn't support the 'maxExclusive' child element.", getLocator()); 62 } 63 64 public XsEMaxInclusive createMaxInclusive() throws SAXException { 65 throw new LocSAXException("A restriction with complex content doesn't support the 'maxInclusive' child element.", getLocator()); 66 } 67 68 public XsETotalDigits createTotalDigits() throws SAXException { 69 throw new LocSAXException("A restriction with complex content doesn't support the 'totalDigits' child element.", getLocator()); 70 } 71 72 public XsEFractionDigits createFractionDigits() throws SAXException { 73 throw new LocSAXException("A restriction with complex content doesn't support the 'fractionDigits' child element.", getLocator()); 74 } 75 76 public XsELength createLength() throws SAXException { 77 throw new LocSAXException("A restriction with complex content doesn't support the 'length' child element.", getLocator()); 78 } 79 80 public XsEMinLength createMinLength() throws SAXException { 81 throw new LocSAXException("A restriction with complex content doesn't support the 'minLength' child element.", getLocator()); 82 } 83 84 public XsEMaxLength createMaxLength() throws SAXException { 85 throw new LocSAXException("A restriction with complex content doesn't support the 'maxLength' child element.", getLocator()); 86 } 87 88 public XsEWhiteSpace createWhiteSpace() throws SAXException { 89 throw new LocSAXException("A restriction with complex content doesn't support the 'whiteSpace' child element.", getLocator()); 90 } 91 92 public XsEPattern createPattern() throws SAXException { 93 throw new LocSAXException("A restriction with complex content doesn't support the 'pattern' child element.", getLocator()); 94 } 95 96 public XsEEnumeration createEnumeration() throws SAXException { 97 throw new LocSAXException("A restriction with complex content doesn't support the 'enumeration' child element.", getLocator()); 98 } 99 } 100 | Popular Tags |