private QName getCClassInfoQName(CClassInfo info) { QName qname = info.getTypeName(); if (qname == null) { qname = info.getElementName(); } return qname; }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { return new CTypeRef(ci,ci.getElementName(),ci.getTypeName(),false,null); } }
/** * Represents the "top-level binding". * * <p> * This is used to support the use of a schema inside WSDL. * For XML Schema, the top-level binding is a map from * global element declarations to its representation class. * * <p> * For other schema languages, it should follow the appendices in * WSDL (but in practice no one would use WSDL with a schema language * other than XML Schema, so it doesn't really matter.) * * <p> * This needs to be filled by the front-end. */ public final Map<QName,CClassInfo> createTopLevelBindings() { Map<QName,CClassInfo> r = new HashMap<QName,CClassInfo>(); for( CClassInfo b : beans().values() ) { if(b.isElement()) r.put(b.getElementName(),b); } return r; }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { return new CTypeRef(ci,ci.getElementName(),ci.getTypeName(),false,null); } }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { return new CTypeRef(ci,ci.getElementName(),ci.getTypeName(),false,null); } }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { return new CTypeRef(ci,ci.getElementName(),ci.getTypeName(),false,null); } }
/** * Represents the "top-level binding". * * <p> * This is used to support the use of a schema inside WSDL. * For XML Schema, the top-level binding is a map from * global element declarations to its representation class. * * <p> * For other schema languages, it should follow the appendicies in * WSDL (but in practice no one would use WSDL with a schema language * other than XML Schema, so it doesn't really matter.) * * <p> * This needs to be filled by the front-end. */ public final Map<QName,CClassInfo> createTopLevelBindings() { Map<QName,CClassInfo> r = new HashMap<QName,CClassInfo>(); for( CClassInfo b : beans().values() ) { if(b.isElement()) r.put(b.getElementName(),b); } return r; }
/** * Represents the "top-level binding". * * <p> * This is used to support the use of a schema inside WSDL. * For XML Schema, the top-level binding is a map from * global element declarations to its representation class. * * <p> * For other schema languages, it should follow the appendices in * WSDL (but in practice no one would use WSDL with a schema language * other than XML Schema, so it doesn't really matter.) * * <p> * This needs to be filled by the front-end. */ public final Map<QName,CClassInfo> createTopLevelBindings() { Map<QName,CClassInfo> r = new HashMap<QName,CClassInfo>(); for( CClassInfo b : beans().values() ) { if(b.isElement()) r.put(b.getElementName(),b); } return r; }
protected CTypeRef toTypeRef(CElementPropertyInfo ep) { return new CTypeRef(ci,ci.getElementName(),ci.getTypeName(),false,null); } }
/** * Represents the "top-level binding". * * <p> * This is used to support the use of a schema inside WSDL. * For XML Schema, the top-level binding is a map from * global element declarations to its representation class. * * <p> * For other schema languages, it should follow the appendicies in * WSDL (but in practice no one would use WSDL with a schema language * other than XML Schema, so it doesn't really matter.) * * <p> * This needs to be filled by the front-end. */ public final Map<QName,CClassInfo> createTopLevelBindings() { Map<QName,CClassInfo> r = new HashMap<QName,CClassInfo>(); for( CClassInfo b : beans().values() ) { if(b.isElement()) r.put(b.getElementName(),b); } return r; }
/** * Represents the "top-level binding". * * <p> * This is used to support the use of a schema inside WSDL. * For XML Schema, the top-level binding is a map from * global element declarations to its representation class. * * <p> * For other schema languages, it should follow the appendices in * WSDL (but in practice no one would use WSDL with a schema language * other than XML Schema, so it doesn't really matter.) * * <p> * This needs to be filled by the front-end. */ public final Map<QName,CClassInfo> createTopLevelBindings() { Map<QName,CClassInfo> r = new HashMap<QName,CClassInfo>(); for( CClassInfo b : beans().values() ) { if(b.isElement()) r.put(b.getElementName(),b); } return r; }
JAXBModelImpl(Outline outline) { this.model = outline.getModel(); this.outline = outline; for (CClassInfo ci : model.beans().values()) { if(!ci.isElement()) continue; byXmlName.put(ci.getElementName(),new BeanMappingImpl(this,ci)); } for (CElementInfo ei : model.getElementMappings(null).values()) { byXmlName.put(ei.getElementName(),new ElementMappingImpl(this,ei)); } }
JAXBModelImpl(Outline outline) { this.model = outline.getModel(); this.outline = outline; for (CClassInfo ci : model.beans().values()) { if(!ci.isElement()) continue; byXmlName.put(ci.getElementName(),new BeanMappingImpl(this,ci)); } for (CElementInfo ei : model.getElementMappings(null).values()) { byXmlName.put(ei.getElementName(),new ElementMappingImpl(this,ei)); } }
JAXBModelImpl(Outline outline) { this.model = outline.getModel(); this.outline = outline; for (CClassInfo ci : model.beans().values()) { if(!ci.isElement()) continue; byXmlName.put(ci.getElementName(),new BeanMappingImpl(this,ci)); } for (CElementInfo ei : model.getElementMappings(null).values()) { byXmlName.put(ei.getElementName(),new ElementMappingImpl(this,ei)); } }
JAXBModelImpl(Outline outline) { this.model = outline.getModel(); this.outline = outline; for (CClassInfo ci : model.beans().values()) { if(!ci.isElement()) continue; byXmlName.put(ci.getElementName(),new BeanMappingImpl(this,ci)); } for (CElementInfo ei : model.getElementMappings(null).values()) { byXmlName.put(ei.getElementName(),new ElementMappingImpl(this,ei)); } }
JAXBModelImpl(Outline outline) { this.model = outline.getModel(); this.outline = outline; for (CClassInfo ci : model.beans().values()) { if(!ci.isElement()) continue; byXmlName.put(ci.getElementName(),new BeanMappingImpl(this,ci)); } for (CElementInfo ei : model.getElementMappings(null).values()) { byXmlName.put(ei.getElementName(),new ElementMappingImpl(this,ei)); } }
CClassInfo ci = co.target; countURI(uriCountMap, ci.getTypeName()); countURI(uriCountMap, ci.getElementName());
CClassInfo ci = co.target; countURI(uriCountMap, ci.getTypeName()); countURI(uriCountMap, ci.getElementName());
String namespaceURI = target.getElementName().getNamespaceURI(); String localPart = target.getElementName().getLocalPart();
String namespaceURI = target.getElementName().getNamespaceURI(); String localPart = target.getElementName().getLocalPart();