Package org.eclipse.xsd.util

Examples of org.eclipse.xsd.util.XSDPrototypicalSchema.createSchema()


     * @param schemaElemement the w3c Element that is the root of an XML schema.
     * i.e. this element is the one written like so: "<xs:schema ..> ... </xs:schema>"
     */
    public void setSchema(Element schemaElemement) throws YSyntaxException {
        XSDPrototypicalSchema proto = XSDPrototypicalSchema.getInstance();
        _schema = proto.createSchema(schemaElemement);

        if (_schema.getTargetNamespace() != null) {
            throw new YSyntaxException("YAWL does not support schemas with target namespaces.");
        }
    }
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.