blob: 52ea7993462b328925ac1da42cb12d0fb2b24223 [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2007, 2010 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:
* Fabrizio Giustina - Initial API and implementation
* Matteo TURRA - Support for multiple web resource paths
**********************************************************************/
package org.eclipse.jst.server.tomcat.core.internal.xml.server40;
import org.eclipse.jst.server.tomcat.core.internal.xml.XMLElement;
/**
* Resources element, optional in Context.
*/
public class Resources extends XMLElement {
/**
* Get className attribute
* @return className attribute value
*/
public String getClassName() {
return getAttributeValue("className");
}
/**
* Get virtualClasspath attribute.
* @return virtualClasspath attribute value
*/
public String getVirtualClasspath() {
return getAttributeValue("virtualClasspath");
}
/**
* Set className attribute.
* @param className value to set
*/
public void setClassName(String className) {
setAttributeValue("className", className);
}
/**
* Set virtualClasspath attribute.
* @param virtualClasspath value to set
*/
public void setVirtualClasspath(String virtualClasspath) {
setAttributeValue("virtualClasspath", virtualClasspath);
}
/**
* Get extraResourcePaths attribute. These are resource
* paths in addition to the path specified by docBase.
* @return extraResourcePaths attribute value
*/
public String getExtraResourcePaths() {
return getAttributeValue("extraResourcePaths");
}
/**
* Set extraResourcePaths attribute.
* @param extraResourcePaths A semicolon separated list
* of absolute resource paths not including the path
* specified by docBase.
*/
public void setExtraResourcePaths(String extraResourcePaths) {
setAttributeValue("extraResourcePaths", extraResourcePaths);
}
}