public ServiceModelSchemaValidator(ServiceInfo serviceInfo) { super(serviceInfo); schemaCollection = serviceInfo.getXmlSchemaCollection(); complaints = new StringBuilder(); }
public ServiceModelSchemaValidator(ServiceInfo serviceInfo) { super(serviceInfo); schemaCollection = serviceInfo.getXmlSchemaCollection(); complaints = new StringBuilder(); }
public ServiceModelSchemaValidator(ServiceInfo serviceInfo) { super(serviceInfo); schemaCollection = serviceInfo.getXmlSchemaCollection(); complaints = new StringBuilder(); }
public ServiceModelSchemaValidator(ServiceInfo serviceInfo) { super(serviceInfo); schemaCollection = serviceInfo.getXmlSchemaCollection(); complaints = new StringBuilder(); }
public void getSchemas(final Definition def, final ServiceInfo serviceInfo) { SchemaCollection schemaCol = serviceInfo.getXmlSchemaCollection(); getSchemas(def, schemaCol, serviceInfo); } public void getSchemas(final Definition def,
JAXBSchemaInitializer(ServiceInfo serviceInfo, SchemaCollection col, JAXBContext context, boolean q, String defaultNs) { super(serviceInfo); schemas = col; this.context = JAXBUtils.createJAXBContextProxy(context, serviceInfo.getXmlSchemaCollection(), defaultNs); this.qualifiedSchemas = q; }
public void getSchemas(final Definition def, final ServiceInfo serviceInfo) { SchemaCollection schemaCol = serviceInfo.getXmlSchemaCollection(); getSchemas(def, schemaCol, serviceInfo); } public void getSchemas(final Definition def,
public void getSchemas(final Definition def, final ServiceInfo serviceInfo) { SchemaCollection schemaCol = serviceInfo.getXmlSchemaCollection(); getSchemas(def, schemaCol, serviceInfo); } public void getSchemas(final Definition def,
public void getSchemas(final Definition def, final ServiceInfo serviceInfo) { SchemaCollection schemaCol = serviceInfo.getXmlSchemaCollection(); getSchemas(def, schemaCol, serviceInfo); } public void getSchemas(final Definition def,
public void getSchemas(final Definition def, final ServiceInfo serviceInfo) { SchemaCollection schemaCol = serviceInfo.getXmlSchemaCollection(); getSchemas(def, schemaCol, serviceInfo); } public void getSchemas(final Definition def,
XmlBeansSchemaInitializer(ServiceInfo serviceInfo, SchemaCollection col, XmlBeansDataBinding db) { super(serviceInfo); schemas = col; dataBinding = db; schemaResolver = serviceInfo.getXmlSchemaCollection().getXmlSchemaCollection().getSchemaResolver(); }
public SchemaInfo addNewSchema(String namespaceURI) { SchemaInfo schemaInfo = new SchemaInfo(namespaceURI); schemaInfo.setSchema(getXmlSchemaCollection(). newXmlSchemaInCollection(namespaceURI)); schemas.add(schemaInfo); return schemaInfo; }
public SchemaInfo addNewSchema(String namespaceURI) { SchemaInfo schemaInfo = new SchemaInfo(namespaceURI); schemaInfo.setSchema(getXmlSchemaCollection(). newXmlSchemaInCollection(namespaceURI)); schemas.add(schemaInfo); return schemaInfo; }
public SchemaInfo addNewSchema(String namespaceURI) { SchemaInfo schemaInfo = new SchemaInfo(namespaceURI); schemaInfo.setSchema(getXmlSchemaCollection(). newXmlSchemaInCollection(namespaceURI)); schemas.add(schemaInfo); return schemaInfo; }
public SchemaInfo addNewSchema(String namespaceURI) { SchemaInfo schemaInfo = new SchemaInfo(namespaceURI); schemaInfo.setSchema(getXmlSchemaCollection(). newXmlSchemaInCollection(namespaceURI)); schemas.add(schemaInfo); return schemaInfo; }
public static SchemaCollection getSchema(final Definition def) { ServiceInfo serviceInfo = new ServiceInfo(); new SchemaUtil(BusFactory.getThreadDefaultBus(), new HashMap<String, Element>()).getSchemas(def, serviceInfo); return serviceInfo.getXmlSchemaCollection(); }
public static SchemaCollection getSchema(final Definition def) { ServiceInfo serviceInfo = new ServiceInfo(); new SchemaUtil(BusFactory.getThreadDefaultBus(), new HashMap<String, Element>()).getSchemas(def, serviceInfo); return serviceInfo.getXmlSchemaCollection(); }
public static boolean isSchemaFormQualified(ToolContext context, QName partElement) { ServiceInfo serviceInfo = context.get(ServiceInfo.class); SchemaCollection schemaCol = serviceInfo.getXmlSchemaCollection(); XmlSchema schema = schemaCol.getSchemaForElement(partElement); if (schema != null) { return schema.getElementFormDefault() == XmlSchemaForm.QUALIFIED; } return false; } }
private void justCheckForJAXBAnnotations(ServiceInfo serviceInfo) { for (MessageInfo mi: serviceInfo.getMessages().values()) { for (MessagePartInfo mpi : mi.getMessageParts()) { checkForJAXBAnnotations(mpi, serviceInfo.getXmlSchemaCollection(), serviceInfo.getTargetNamespace()); } } } private void checkForJAXBAnnotations(MessagePartInfo mpi, SchemaCollection schemaCollection, String ns) {
public static XmlSchemaType getXmlSchemaType(ServiceInfo serviceInfo, QName name) { XmlSchemaType result = null; if ((name != null) && (serviceInfo != null)) { SchemaCollection col = serviceInfo.getXmlSchemaCollection(); result = col.getTypeByQName(name); if (result == null) { //check the name, if it is an element XmlSchemaElement el = col.getElementByQName(name); if (el != null) { result = el.getSchemaType(); } } } return result; }