public String getTargetNamespace() { return schema.getTargetNamespace(); }
public String getTargetNamespace() { return schema.getTargetNamespace(); }
public String getTargetNamespace() { return schema.getTargetNamespace(); }
public String getTargetNamespace() { return schema.getTargetNamespace(); }
public String getTargetNamespace() { return schema.getTargetNamespace(); }
private void action0()throws SAXException { result = new ModelGroupDeclImpl( $runtime.document, annotation, loc, fa, $runtime.currentSchema.getTargetNamespace(), name, term ); }
private void action0()throws SAXException { result = new ModelGroupDeclImpl( $runtime.document, annotation, loc, fa, $runtime.currentSchema.getTargetNamespace(), name, term ); }
private void action0()throws SAXException { result = new ModelGroupDeclImpl( $runtime.document, annotation, loc, fa, $runtime.currentSchema.getTargetNamespace(), name, term ); }
private void action0()throws SAXException { result = new ModelGroupDeclImpl( $runtime.document, annotation, loc, fa, $runtime.currentSchema.getTargetNamespace(), name, term ); }
private void action0()throws SAXException { result = new ModelGroupDeclImpl( $runtime.document, annotation, loc, fa, $runtime.currentSchema.getTargetNamespace(), name, term ); }
private WildcardImpl makeResult() { if(modeValue==null) modeValue="strict"; int mode=-1; if(modeValue.equals("strict")) mode = XSWildcard.STRTICT; if(modeValue.equals("lax")) mode = XSWildcard.LAX; if(modeValue.equals("skip")) mode = XSWildcard.SKIP; if(mode==-1) throw new InternalError(); if(ns==null || ns.equals("##any")) return new WildcardImpl.Any( $runtime.document, annotation,locator,fa,mode); if(ns.equals("##other")) return new WildcardImpl.Other( $runtime.document, annotation,locator,fa, $runtime.currentSchema.getTargetNamespace(),mode); StringTokenizer tokens = new StringTokenizer(ns); HashSet s = new HashSet(); while(tokens.hasMoreTokens()) { String ns = tokens.nextToken(); if(ns.equals("##local")) ns=""; if(ns.equals("##targetNamespace")) ns=$runtime.currentSchema.getTargetNamespace(); s.add(ns); } return new WildcardImpl.Finite( $runtime.document, annotation,locator,fa,s,mode); }
private AttributeDeclImpl makeResult() { if(type==null) // type defaults to anySimpleType type = $runtime.parser.schemaSet.anySimpleType; if(!formSpecified) form = $runtime.attributeFormDefault; // global attributes are always qualified if(!isLocal) form = true; String tns; if(form==true) tns = $runtime.currentSchema.getTargetNamespace(); else tns = ""; // proper handling of anonymous types return new AttributeDeclImpl( $runtime.document, tns, name, annotation, locator, fa, isLocal, $runtime.createXmlString(defaultValue), $runtime.createXmlString(fixedValue), type ); } private Ref.SimpleType type;
private AttributeDeclImpl makeResult() { if(type==null) // type defaults to anySimpleType type = $runtime.parser.schemaSet.anySimpleType; if(!formSpecified) form = $runtime.attributeFormDefault; // global attributes are always qualified if(!isLocal) form = true; String tns; if(form==true) tns = $runtime.currentSchema.getTargetNamespace(); else tns = ""; // proper handling of anonymous types return new AttributeDeclImpl( $runtime.document, tns, name, annotation, locator, fa, isLocal, $runtime.createXmlString(defaultValue), $runtime.createXmlString(fixedValue), type ); } private Ref.SimpleType type;
private AttributeDeclImpl makeResult() { if(type==null) // type defaults to anySimpleType type = $runtime.parser.schemaSet.anySimpleType; if(!formSpecified) form = $runtime.attributeFormDefault; // global attributes are always qualified if(!isLocal) form = true; String tns; if(form==true) tns = $runtime.currentSchema.getTargetNamespace(); else tns = ""; // proper handling of anonymous types return new AttributeDeclImpl( $runtime.document, tns, name, annotation, locator, fa, isLocal, $runtime.createXmlString(defaultValue), $runtime.createXmlString(fixedValue), type ); } private Ref.SimpleType type;
private AttributeDeclImpl makeResult() { if(type==null) // type defaults to anySimpleType type = $runtime.parser.schemaSet.anySimpleType; if(!formSpecified) form = $runtime.attributeFormDefault; // global attributes are always qualified if(!isLocal) form = true; String tns; if(form==true) tns = $runtime.currentSchema.getTargetNamespace(); else tns = ""; // proper handling of anonymous types return new AttributeDeclImpl( $runtime.document, tns, name, annotation, locator, fa, isLocal, $runtime.createXmlString(defaultValue), $runtime.createXmlString(fixedValue), type ); } private Ref.SimpleType type;
/** Includes the specified schema. */ public void includeSchema( String schemaLocation ) throws SAXException { NGCCRuntimeEx runtime = new NGCCRuntimeEx(parser,chameleonMode,this); runtime.currentSchema = this.currentSchema; runtime.blockDefault = this.blockDefault; runtime.finalDefault = this.finalDefault; if( schemaLocation==null ) { SAXParseException e = new SAXParseException( Messages.format( Messages.ERR_MISSING_SCHEMALOCATION ), getLocator() ); parser.errorHandler.fatalError(e); throw e; } runtime.parseEntity( resolveRelativeURL(null,schemaLocation), true, currentSchema.getTargetNamespace(), getLocator() ); }
/** Includes the specified schema. */ public void includeSchema( String schemaLocation ) throws SAXException { NGCCRuntimeEx runtime = new NGCCRuntimeEx(parser,chameleonMode,this); runtime.currentSchema = this.currentSchema; runtime.blockDefault = this.blockDefault; runtime.finalDefault = this.finalDefault; if( schemaLocation==null ) { SAXParseException e = new SAXParseException( Messages.format( Messages.ERR_MISSING_SCHEMALOCATION ), getLocator() ); parser.errorHandler.fatalError(e); throw e; } runtime.parseEntity( resolveRelativeURL(null,schemaLocation), true, currentSchema.getTargetNamespace(), getLocator() ); }
/** Includes the specified schema. */ public void includeSchema( String schemaLocation ) throws SAXException { NGCCRuntimeEx runtime = new NGCCRuntimeEx(parser,chameleonMode,this); runtime.currentSchema = this.currentSchema; runtime.blockDefault = this.blockDefault; runtime.finalDefault = this.finalDefault; if( schemaLocation==null ) { SAXParseException e = new SAXParseException( Messages.format( Messages.ERR_MISSING_SCHEMALOCATION ), getLocator() ); parser.errorHandler.fatalError(e); throw e; } runtime.parseEntity( resolveRelativeURL(null,schemaLocation), true, currentSchema.getTargetNamespace(), getLocator() ); }
/** * Includes the specified schema. * * @param schemaLocation * @throws org.xml.sax.SAXException */ public void includeSchema( String schemaLocation ) throws SAXException { NGCCRuntimeEx runtime = new NGCCRuntimeEx(parser,chameleonMode,this); runtime.currentSchema = this.currentSchema; runtime.blockDefault = this.blockDefault; runtime.finalDefault = this.finalDefault; if( schemaLocation==null ) { SAXParseException e = new SAXParseException( Messages.format( Messages.ERR_MISSING_SCHEMALOCATION ), getLocator() ); parser.errorHandler.fatalError(e); throw e; } runtime.parseEntity( resolveRelativeURL(null,schemaLocation), true, currentSchema.getTargetNamespace(), getLocator() ); }
/** * Includes the specified schema. * * @param schemaLocation * @throws org.xml.sax.SAXException */ public void includeSchema( String schemaLocation ) throws SAXException { NGCCRuntimeEx runtime = new NGCCRuntimeEx(parser,chameleonMode,this); runtime.currentSchema = this.currentSchema; runtime.blockDefault = this.blockDefault; runtime.finalDefault = this.finalDefault; if( schemaLocation==null ) { SAXParseException e = new SAXParseException( Messages.format( Messages.ERR_MISSING_SCHEMALOCATION ), getLocator() ); parser.errorHandler.fatalError(e); throw e; } runtime.parseEntity( resolveRelativeURL(null,schemaLocation), true, currentSchema.getTargetNamespace(), getLocator() ); }