@Override public XmlSchemaType visitDateTimeOnly(DateTimeOnlyResolvedType dateTimeOnlyTypeDefinition) { return collection.getTypeByQName(Constants.XSD_DATETIME); }
@Override public XmlSchemaType visitFile(FileResolvedType fileTypeDefinition) { return collection.getTypeByQName(Constants.XSD_BASE64); }
@Override public XmlSchemaType visitTimeOnly(TimeOnlyResolvedType timeOnlyTypeDefinition) { return collection.getTypeByQName(Constants.XSD_TIME); }
@Override public XmlSchemaType visitDate(DateOnlyResolvedType dateOnlyTypeDefinition) { return collection.getTypeByQName(Constants.XSD_DATE); }
@Override public XmlSchemaType visitDate(DateOnlyResolvedType dateOnlyTypeDefinition) { return collection.getTypeByQName(Constants.XSD_DATE); }
@Override public XmlSchemaType visitTimeOnly(TimeOnlyResolvedType timeOnlyTypeDefinition) { return collection.getTypeByQName(Constants.XSD_TIME); }
@Override public XmlSchemaType visitBoolean(BooleanResolvedType booleanTypeDefinition) { return collection.getTypeByQName(Constants.XSD_BOOLEAN); }
@Override public XmlSchemaType visitFile(FileResolvedType fileTypeDefinition) { return collection.getTypeByQName(Constants.XSD_BASE64); }
@Override public XmlSchemaType visitDateTime(DateTimeResolvedType dateTimeTypeDefinition) { return collection.getTypeByQName(Constants.XSD_DATETIME); }
@Override public XmlSchemaType visitDateTime(DateTimeResolvedType dateTimeTypeDefinition) { return collection.getTypeByQName(Constants.XSD_DATETIME); }
public void setSequenceOctetType(String type) throws Exception { XmlSchemaType stype = null; if (type.equals(ToolCorbaConstants.CFG_SEQUENCE_OCTET_TYPE_BASE64BINARY)) { stype = schemas.getTypeByQName(Constants.XSD_BASE64); } else if (type.equals(ToolCorbaConstants.CFG_SEQUENCE_OCTET_TYPE_HEXBINARY)) { stype = schemas.getTypeByQName(Constants.XSD_HEXBIN); } else { throw new ToolException("WSDLASTVisitor: Invalid XmlSchemaType specified " + "for idl:sequence<octet> mapping."); } sequenceOctetType = stype; }
public void validateTypeName(QName referrer, QName typeQName) { XmlSchemaType type = schemaCollection.getTypeByQName(typeQName); if (type == null) { throw new InvalidXmlSchemaReferenceException(referrer + " references non-existent type " + typeQName); } }
public void validateTypeName(QName referrer, QName typeQName) { XmlSchemaType type = schemaCollection.getTypeByQName(typeQName); if (type == null) { throw new InvalidXmlSchemaReferenceException(referrer + " references non-existent type " + typeQName); } }
public void validateTypeName(QName referrer, QName typeQName) { XmlSchemaType type = schemaCollection.getTypeByQName(typeQName); if (type == null) { throw new InvalidXmlSchemaReferenceException(referrer + " references non-existent type " + typeQName); } }
public void validateTypeName(QName referrer, QName typeQName) { XmlSchemaType type = schemaCollection.getTypeByQName(typeQName); if (type == null) { throw new InvalidXmlSchemaReferenceException(referrer + " references non-existent type " + typeQName); } }
@Override public XmlSchemaType visitNull(NullResolvedType nullTypeDefinition) { this.currentElement.peek().setNillable(true); return collection.getTypeByQName(Constants.XSD_ANY); }
public void validateTypeName(QName referrer, QName typeQName) { XmlSchemaType type = schemaCollection.getTypeByQName(typeQName); if (type == null) { throw new InvalidXmlSchemaReferenceException(referrer + " references non-existent type " + typeQName); } }
@Override public XmlSchemaType visitNull(NullResolvedType nullTypeDefinition) { this.currentElement.peek().setNillable(true); return collection.getTypeByQName(Constants.XSD_ANY); }
public XmlSchemaType getXmlSchemaType(QName name) { if (schema != null) { XmlSchemaType type = getXmlSchemaObject(schema, name, XmlSchemaType.class); if (type != null) { return type; } } if (schemaCollection != null) { return schemaCollection.getTypeByQName(name); } return null; }
private XSDType getSchemaDataType(QName typeName, XmlSchemaCollection collection, PortType portType, IntrospectionContext context) { XmlSchemaType type = collection.getTypeByQName(typeName); if (type == null) { SchemaTypeNotFound error = new SchemaTypeNotFound("Schema type " + typeName + " not found referenced in: " + portType.getQName()); context.addError(error); return null; } return createDataType(type, null); }