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 51 public class XsTLocalSimpleTypeImpl extends XsTSimpleTypeImpl implements XsTLocalSimpleType { 52 protected XsTLocalSimpleTypeImpl(XsObject pParent) { 53 super(pParent); 54 } 55 56 public void setName(XsNCName pName) throws SAXException { 57 throw new LocSAXException("A local simpleType must not have its 'name' attribute set.", getLocator()); 58 } 59 60 public void setFinal(XsSimpleDerivationSet pFinal) throws SAXException { 61 throw new LocSAXException("A local simpleType must not have its 'final' attribute set.", getLocator()); 62 } 63 } 64 | Popular Tags |