public boolean derivedFrom(String namespace, String name, short derivationMethod) { return xsTypeDefinition.derivedFrom(namespace, name, mapFlags(derivationMethod)); }
public boolean derivedFromType(TypeDefinition ancestorType, short derivationMethod) { if (ancestorType instanceof XercesTypeDefinition) { XercesTypeDefinition xercesType = (XercesTypeDefinition)ancestorType; return xsTypeDefinition.derivedFromType(xercesType.xsTypeDefinition, mapFlags(derivationMethod)); } else { return xsTypeDefinition.derivedFrom(ancestorType.getNamespace(), ancestorType.getName(), mapFlags(derivationMethod)); } }
extType.getLocalPart(), extType.getNamespaceURI()); if (xsType != null && xsType.derivedFrom(type.getNamespaceURI(), type.getLocalPart(), XSConstants.DERIVATION_NONE))
extType.getLocalPart(), extType.getNamespaceURI()); if (xsType != null && xsType.derivedFrom(type.getNamespaceURI(), type.getLocalPart(), XSConstants.DERIVATION_NONE))
if ((pElemPSVI.getTypeDefinition()).derivedFrom(SchemaSymbols.URI_SCHEMAFORSCHEMA, SchemaSymbols.ATTVAL_STRING, XSConstants.DERIVATION_RESTRICTION)) {
for ( XSElementDeclaration propDecl : propDecls ) { XSTypeDefinition propType = propDecl.getTypeDefinition(); if ( propType.derivedFrom( GML_32_NS, "AbstractFeatureMemberType", (short) ( XSConstants.DERIVATION_RESTRICTION | XSConstants.DERIVATION_EXTENSION | XSConstants.DERIVATION_UNION | XSConstants.DERIVATION_LIST ) ) ) { if ( propType.derivedFrom( GML_32_NS, "FeaturePropertyType", (short) ( XSConstants.DERIVATION_RESTRICTION | XSConstants.DERIVATION_EXTENSION | XSConstants.DERIVATION_UNION | XSConstants.DERIVATION_LIST ) ) ) {
ancestorType.derivedFrom(Constants.NS_XMLSCHEMA, SchemaSymbols.ATTVAL_ANYATOMICTYPE, XSConstants.DERIVATION_RESTRICTION))) { addAssertsFromBaseTypes(ancestorType);