blob: 166ce0bc2e32bdddde67359cee281523e271e553 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
/*******************************************************************************
* Copyright (c) 2003, 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 Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.jst.server.tomcat.core.internal.xml.server40;
import org.eclipse.jst.server.tomcat.core.internal.xml.*;
/**
*
*/
public class Engine extends XMLElement {
public Engine() {
// do nothing
}
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);
}
}
|