public ServiceInfo() { xmlSchemaCollection = new SchemaCollection(); }
public static boolean schemaImportsUtilityTypes(XmlSchema schema) { return XmlSchemaUtils.schemaImportsNamespace(schema, UTILITY_TYPES_SCHEMA_NS); }
public static void addUtilityTypesToSchema(XmlSchema root) { XmlSchemaUtils.addImportIfNeeded(root, UTILITY_TYPES_SCHEMA_NS); }
private void addElementCrossImportsElement(XmlSchema schema, XmlSchemaElement item) { XmlSchemaElement element = item; XmlSchemaUtils.addImportIfNeeded(schema, element.getRef().getTargetQName()); XmlSchemaUtils.addImportIfNeeded(schema, element.getSchemaTypeName()); // if there's an anonymous type, it might have element refs in it. XmlSchemaType schemaType = element.getSchemaType(); if (!crossImportsAdded(schema, schemaType)) { addCrossImportsType(schema, schemaType); } }
private LSInputImpl createInput(String newId, byte[] value) { LSInputImpl impl = new LSInputImpl(); impl.setSystemId(newId); impl.setBaseURI(newId); impl.setByteStream(new ByteArrayInputStream(value)); return impl; } }
public static void unsupportedConstruct(String messageKey, String what, QName subjectName, XmlSchemaObject subject) { Message message = new Message(messageKey, LOG, what, subjectName == null ? "anonymous" : subjectName, cleanedUpSchemaSource(subject)); LOG.severe(message.toString()); throw new UnsupportedConstruct(message); }
private void addElementCrossImportsElement(XmlSchema schema, XmlSchemaElement item) { XmlSchemaElement element = (XmlSchemaElement)item; XmlSchemaUtils.addImportIfNeeded(schema, element.getRef().getTargetQName()); XmlSchemaUtils.addImportIfNeeded(schema, element.getSchemaTypeName()); // if there's an anonymous type, it might have element refs in it. XmlSchemaType schemaType = element.getSchemaType(); if (!crossImportsAdded(schema, schemaType)) { addCrossImportsType(schema, schemaType); } }
public ServiceInfo() { xmlSchemaCollection = new SchemaCollection(); }
private void addXmimeToSchema(XmlSchema root) { XmlSchemaUtils.addImportIfNeeded(root, AbstractXOPType.XML_MIME_NS); }
public static void unsupportedConstruct(String messageKey, String what, QName subjectName, XmlSchemaObject subject) { Message message = new Message(messageKey, LOG, what, subjectName == null ? "anonymous" : subjectName, cleanedUpSchemaSource(subject)); LOG.severe(message.toString()); throw new UnsupportedConstruct(message); }
private boolean schemaImportsXmime(XmlSchema schema) { return XmlSchemaUtils.schemaImportsNamespace(schema, AbstractXOPType.XML_MIME_NS); }
private void addElementCrossImportsElement(XmlSchema schema, XmlSchemaElement item) { XmlSchemaElement element = item; XmlSchemaUtils.addImportIfNeeded(schema, element.getRef().getTargetQName()); XmlSchemaUtils.addImportIfNeeded(schema, element.getSchemaTypeName()); // if there's an anonymous type, it might have element refs in it. XmlSchemaType schemaType = element.getSchemaType(); if (!crossImportsAdded(schema, schemaType)) { addCrossImportsType(schema, schemaType); } }
public ServiceInfo() { xmlSchemaCollection = new SchemaCollection(); }
private void addXmimeToSchema(XmlSchema root) { XmlSchemaUtils.addImportIfNeeded(root, AbstractXOPType.XML_MIME_NS); }
public static boolean schemaImportsUtilityTypes(XmlSchema schema) { return XmlSchemaUtils.schemaImportsNamespace(schema, UTILITY_TYPES_SCHEMA_NS); }
private void addElementCrossImportsElement(XmlSchema schema, XmlSchemaElement item) { XmlSchemaElement element = item; XmlSchemaUtils.addImportIfNeeded(schema, element.getRef().getTargetQName()); XmlSchemaUtils.addImportIfNeeded(schema, element.getSchemaTypeName()); // if there's an anonymous type, it might have element refs in it. XmlSchemaType schemaType = element.getSchemaType(); if (!crossImportsAdded(schema, schemaType)) { addCrossImportsType(schema, schemaType); } }
public ServiceInfo() { xmlSchemaCollection = new SchemaCollection(); }
public static void addUtilityTypesToSchema(XmlSchema root) { XmlSchemaUtils.addImportIfNeeded(root, UTILITY_TYPES_SCHEMA_NS); }
private boolean schemaImportsXmime(XmlSchema schema) { return XmlSchemaUtils.schemaImportsNamespace(schema, AbstractXOPType.XML_MIME_NS); }
private void addElementCrossImportsElement(XmlSchema schema, XmlSchemaElement item) { XmlSchemaElement element = item; XmlSchemaUtils.addImportIfNeeded(schema, element.getRef().getTargetQName()); XmlSchemaUtils.addImportIfNeeded(schema, element.getSchemaTypeName()); // if there's an anonymous type, it might have element refs in it. XmlSchemaType schemaType = element.getSchemaType(); if (!crossImportsAdded(schema, schemaType)) { addCrossImportsType(schema, schemaType); } }