diff options
Diffstat (limited to 'bundles/org.eclipse.wst.wsi/wsitools/org/eclipse/wst/wsi/internal/profile/ProfileAssertionsReader.java')
-rw-r--r-- | bundles/org.eclipse.wst.wsi/wsitools/org/eclipse/wst/wsi/internal/profile/ProfileAssertionsReader.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.wsi/wsitools/org/eclipse/wst/wsi/internal/profile/ProfileAssertionsReader.java b/bundles/org.eclipse.wst.wsi/wsitools/org/eclipse/wst/wsi/internal/profile/ProfileAssertionsReader.java new file mode 100644 index 000000000..66f05f30b --- /dev/null +++ b/bundles/org.eclipse.wst.wsi/wsitools/org/eclipse/wst/wsi/internal/profile/ProfileAssertionsReader.java @@ -0,0 +1,44 @@ +/******************************************************************************* + * Copyright (c) 2002-2005 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM - Initial API and implementation + *******************************************************************************/ +package org.eclipse.wst.wsi.internal.profile; + +import org.eclipse.wst.wsi.internal.WSIException; +import org.eclipse.wst.wsi.internal.document.DocumentReader; +import org.eclipse.wst.wsi.internal.profile.ProfileAssertions; + +import java.io.Reader; + +/** + * Defines the interface used to read a profile assertions documents. + * + * @version 1.0.1 + * @author Peter Brittenham (peterbr@us.ibm.com) + */ +public interface ProfileAssertionsReader extends DocumentReader +{ + /** + * Read the profile assertions file. + * @param assertionsURI he profile assertions file location. + * @return the ProfileAssertions object. + * @throws WSIException if problem occur while reading the file. + */ + public ProfileAssertions readProfileAssertions(String assertionsURI) + throws WSIException; + + /** + * Read the profile assertions file. + * @param reader a Reader object. + * @return the ProfileAssertions object. + * @throws WSIException if problem occur while reading the file. + */ + public ProfileAssertions readProfileAssertions(Reader reader) + throws WSIException; +} |