public String substitutionHeadNamespace() { return core.substitutionHeadNamespace(); }
/** * Called after all the {@link TypeInfo}s are collected into the {@link #owner}. */ /*package*/ void link() { // substitution head if(anno.substitutionHeadName().length()!=0) { QName name = new QName( anno.substitutionHeadNamespace(), anno.substitutionHeadName() ); substitutionHead = owner.getElementInfo(null,name); if(substitutionHead==null) { builder.reportError( new IllegalAnnotationException(Messages.NON_EXISTENT_ELEMENT_MAPPING.format( name.getNamespaceURI(),name.getLocalPart()), anno)); // recover by ignoring this substitution declaration } else substitutionHead.addSubstitutionMember(this); } else substitutionHead = null; super.link(); }
public String substitutionHeadNamespace() { return core.substitutionHeadNamespace(); }
/** * Called after all the {@link TypeInfo}s are collected into the {@link #owner}. */ /*package*/ void link() { // substitution head if(anno.substitutionHeadName().length()!=0) { QName name = new QName( anno.substitutionHeadNamespace(), anno.substitutionHeadName() ); substitutionHead = owner.getElementInfo(null,name); if(substitutionHead==null) { builder.reportError( new IllegalAnnotationException(Messages.NON_EXISTENT_ELEMENT_MAPPING.format( name.getNamespaceURI(),name.getLocalPart()), anno)); // recover by ignoring this substitution declaration } else substitutionHead.addSubstitutionMember(this); } else substitutionHead = null; super.link(); }
public String substitutionHeadNamespace() { return core.substitutionHeadNamespace(); }
public String substitutionHeadNamespace() { return core.substitutionHeadNamespace(); }
/** * The namespace of the substitution head. * * @return The namespace of the substitution head. */ public String getSubstitutionHeadNamespace() { String shn = elementDecl.substitutionHeadNamespace(); if ("##default".equals(shn)) { shn = this.registry.getSchema().getNamespace(); } return shn; }
/** * The namespace of the substitution head. * * @return The namespace of the substitution head. */ public String getSubstitutionHeadNamespace() { String shn = elementDecl.substitutionHeadNamespace(); if ("##default".equals(shn)) { shn = this.registry.getSchema().getNamespace(); } return shn; }
/** * The namespace of the substitution head. * * @return The namespace of the substitution head. */ public String getSubstitutionHeadNamespace() { String shn = elementDecl.substitutionHeadNamespace(); if ("##default".equals(shn)) { shn = this.registry.getSchema().getNamespace(); } return shn; }
/** * Called after all the {@link TypeInfo}s are collected into the {@link #owner}. */ /*package*/ void link() { // substitution head if(anno.substitutionHeadName().length()!=0) { QName name = new QName( anno.substitutionHeadNamespace(), anno.substitutionHeadName() ); substitutionHead = owner.getElementInfo(null,name); if(substitutionHead==null) { builder.reportError( new IllegalAnnotationException(Messages.NON_EXISTENT_ELEMENT_MAPPING.format( name.getNamespaceURI(),name.getLocalPart()), anno)); // recover by ignoring this substitution declaration } else substitutionHead.addSubstitutionMember(this); } else substitutionHead = null; super.link(); }
/** * Called after all the {@link TypeInfo}s are collected into the {@link #owner}. */ /*package*/ void link() { // substitution head if(anno.substitutionHeadName().length()!=0) { QName name = new QName( anno.substitutionHeadNamespace(), anno.substitutionHeadName() ); substitutionHead = owner.getElementInfo(null,name); if(substitutionHead==null) { builder.reportError( new IllegalAnnotationException(Messages.NON_EXISTENT_ELEMENT_MAPPING.format( name.getNamespaceURI(),name.getLocalPart()), anno)); // recover by ignoring this substitution declaration } else substitutionHead.addSubstitutionMember(this); } else substitutionHead = null; super.link(); }
if (!elementDecl.substitutionHeadName().equals(EMPTY_STRING)) { String subHeadLocal = elementDecl.substitutionHeadName(); String subHeadNamespace = elementDecl.substitutionHeadNamespace(); if (subHeadNamespace.equals(XMLProcessor.DEFAULT)) { subHeadNamespace = packageInfo.getNamespace();
if (!elementDecl.substitutionHeadName().equals(EMPTY_STRING)) { String subHeadLocal = elementDecl.substitutionHeadName(); String subHeadNamespace = elementDecl.substitutionHeadNamespace(); if (subHeadNamespace.equals(XMLProcessor.DEFAULT)) { subHeadNamespace = packageInfo.getNamespace();