Examples of derivedFromType()


Examples of org.apache.xerces.impl.dv.XSSimpleType.derivedFromType()

 
  private static int getNumericType(RDFDatatype numeric)
  {
    XSSimpleType type = (XSSimpleType) numeric.extendedTypeDefinition();
       
    if (type.derivedFromType(integerType, XSConstants.DERIVATION_EXTENSION))
      return integerType.getBuiltInKind();
    if (type.derivedFromType(decimalType, XSConstants.DERIVATION_EXTENSION))
      return decimalType.getBuiltInKind();
    if (type.derivedFromType(floatType, XSConstants.DERIVATION_EXTENSION))
      return floatType.getBuiltInKind();
View Full Code Here

Examples of org.apache.xerces.impl.dv.XSSimpleType.derivedFromType()

  {
    XSSimpleType type = (XSSimpleType) numeric.extendedTypeDefinition();
       
    if (type.derivedFromType(integerType, XSConstants.DERIVATION_EXTENSION))
      return integerType.getBuiltInKind();
    if (type.derivedFromType(decimalType, XSConstants.DERIVATION_EXTENSION))
      return decimalType.getBuiltInKind();
    if (type.derivedFromType(floatType, XSConstants.DERIVATION_EXTENSION))
      return floatType.getBuiltInKind();
    if (type.derivedFromType(doubleType, XSConstants.DERIVATION_EXTENSION))
      return doubleType.getBuiltInKind();
View Full Code Here

Examples of org.apache.xerces.impl.dv.XSSimpleType.derivedFromType()

       
    if (type.derivedFromType(integerType, XSConstants.DERIVATION_EXTENSION))
      return integerType.getBuiltInKind();
    if (type.derivedFromType(decimalType, XSConstants.DERIVATION_EXTENSION))
      return decimalType.getBuiltInKind();
    if (type.derivedFromType(floatType, XSConstants.DERIVATION_EXTENSION))
      return floatType.getBuiltInKind();
    if (type.derivedFromType(doubleType, XSConstants.DERIVATION_EXTENSION))
      return doubleType.getBuiltInKind();
   
    throw new IllegalArgumentException();
View Full Code Here

Examples of org.apache.xerces.impl.dv.XSSimpleType.derivedFromType()

      return integerType.getBuiltInKind();
    if (type.derivedFromType(decimalType, XSConstants.DERIVATION_EXTENSION))
      return decimalType.getBuiltInKind();
    if (type.derivedFromType(floatType, XSConstants.DERIVATION_EXTENSION))
      return floatType.getBuiltInKind();
    if (type.derivedFromType(doubleType, XSConstants.DERIVATION_EXTENSION))
      return doubleType.getBuiltInKind();
   
    throw new IllegalArgumentException();
  }
 
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFromType()

        } else {
            throw new IllegalArgumentException("unknown schema type: " + type2);
        }

        return typeDef1.derivedFromType(typeDef2, (short)0)
                || typeDef2.derivedFromType(typeDef1, (short)0);
    }

    /**
     * @see org.apache.ode.utils.xsd.SchemaModel#isSimpleType(javax.xml.namespace.QName)
     */
 
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFromType()

        } else {
            throw new IllegalArgumentException("unknown schema type: " + type2);
        }

        return typeDef1.derivedFromType(typeDef2, (short)0)
                || typeDef2.derivedFromType(typeDef1, (short)0);
    }

    /**
     * @see org.apache.ode.utils.xsd.SchemaModel#isSimpleType(javax.xml.namespace.QName)
     */
 
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFromType()

        } else {
            throw new IllegalArgumentException("unknown schema type: " + type2);
        }

        return typeDef1.derivedFromType(typeDef2, (short)0)
                || typeDef2.derivedFromType(typeDef1, (short)0);
    }

    /**
     * @see org.apache.ode.utils.xsd.SchemaModel#isSimpleType(javax.xml.namespace.QName)
     */
 
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFromType()

        } else {
            throw new IllegalArgumentException("unknown schema type: " + type2);
        }

        return typeDef1.derivedFromType(typeDef2, (short)0)
                || typeDef2.derivedFromType(typeDef1, (short)0);
    }

    /**
     * @see org.apache.ode.utils.xsd.SchemaModel#isSimpleType(javax.xml.namespace.QName)
     */
 
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFromType()

        } else {
            throw new IllegalArgumentException("unknown schema type: " + type2);
        }

        return typeDef1.derivedFromType(typeDef2, (short)0)
                || typeDef2.derivedFromType(typeDef1, (short)0);
    }

    /**
     * @see org.apache.ode.utils.xsd.SchemaModel#isSimpleType(javax.xml.namespace.QName)
     */
 
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFromType()

        } else {
            throw new IllegalArgumentException("unknown schema type: " + type2);
        }

        return typeDef1.derivedFromType(typeDef2, (short)0)
                || typeDef2.derivedFromType(typeDef1, (short)0);
    }

    /**
     * @see org.apache.ode.utils.xsd.SchemaModel#isSimpleType(javax.xml.namespace.QName)
     */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.