diff options
Diffstat (limited to 'plugins/org.eclipse.wst.common.emf/wtpemf/org/eclipse/wst/common/internal/emf/resource/TranslatorResource.java')
-rw-r--r-- | plugins/org.eclipse.wst.common.emf/wtpemf/org/eclipse/wst/common/internal/emf/resource/TranslatorResource.java | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/plugins/org.eclipse.wst.common.emf/wtpemf/org/eclipse/wst/common/internal/emf/resource/TranslatorResource.java b/plugins/org.eclipse.wst.common.emf/wtpemf/org/eclipse/wst/common/internal/emf/resource/TranslatorResource.java deleted file mode 100644 index 32c9c47fd..000000000 --- a/plugins/org.eclipse.wst.common.emf/wtpemf/org/eclipse/wst/common/internal/emf/resource/TranslatorResource.java +++ /dev/null @@ -1,79 +0,0 @@ -/*************************************************************************************************** - * Copyright (c) 2003, 2004 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 Corporation - initial API and implementation - **************************************************************************************************/ -package org.eclipse.wst.common.internal.emf.resource; - - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.impl.EStructuralFeatureImpl; -import org.xml.sax.EntityResolver; - -public interface TranslatorResource extends ReferencedResource { - /* - * must make a subclass because the constructor for EStructuralFeature is protected - */ - static class DocTypeFeature extends EStructuralFeatureImpl { - protected DocTypeFeature() { - super(); - } - } - - - EStructuralFeature DOC_TYPE_FEATURE = new DocTypeFeature(); - - /** - * The public id of the XML document, if specified. - */ - String getPublicId(); - - /** - * Return the first element in the EList. - */ - EObject getRootObject(); - - /** - * The system id of the XML document, if specified. - */ - String getSystemId(); - - /** - * Sets the public id and system id of the XML document. - */ - void setDoctypeValues(String publicId, String systemId); - - /** - * Sets the default public/system ids if necessary - */ - void setDefaults(); - - /** - * Returns the name that will be in the document type header of the serialized xml file - */ - String getDoctype(); - - /** - * Returns the XML version of this document - */ - String getXMLVersion(); - - Translator getRootTranslator(); - - /** - * Entity resolver that can be used when using standard parsers to read the resource - */ - EntityResolver getEntityResolver(); - - boolean usesDTD(); - - public int getVersionID(); - - void setVersionID(int i); - - Renderer getRenderer(); -}
\ No newline at end of file |