Package org.eclipse.xsd.util

Examples of org.eclipse.xsd.util.XSDPrototypicalSchema


     * Sets up an XSD4YAWLBuilder Object
     * @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

Related Classes of org.eclipse.xsd.util.XSDPrototypicalSchema

Copyright © 2018 www.massapicom. 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.