blob: ed7acd6f2e3048b5f83207d90a378204ad6314f0 [file] [log] [blame]
package org.eclipse.jst.server.tomcat.core.internal.xml.server40;
/**********************************************************************
* Copyright (c) 2003 IBM Corporation and others.
* All rights reserved.   This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
 *
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
import org.eclipse.jst.server.tomcat.core.internal.xml.*;
/**
*
*/
public class Engine extends XMLElement {
public Engine() { }
public String getAppBase() {
return getAttributeValue("appBase");
}
public String getClassName() {
return getAttributeValue("className");
}
public String getDebug() {
return getAttributeValue("debug");
}
public String getDefaultHost() {
return getAttributeValue("defaultHost");
}
public Host getHost() {
return (Host) findElement("Host");
}
public String getName() {
return getAttributeValue("name");
}
public void setAppBase(String appBase) {
setAttributeValue("appBase", appBase);
}
public void setClassName(String className) {
setAttributeValue("className", className);
}
public void setDebug(String debug) {
setAttributeValue("debug", debug);
}
public void setDefaultHost(String defaultHost) {
setAttributeValue("defaultHost", defaultHost);
}
public void setName(String name) {
setAttributeValue("name", name);
}
}