You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
978 B
34 lines
978 B
package org.airsonic.player.spring.webxmldomain;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
|
|
import java.util.List;
|
|
|
|
@XmlRootElement(name = "web-app")
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public class WebApp {
|
|
@XmlElement(name = "servlet")
|
|
private List<ServletDef> servletDefs;
|
|
|
|
@XmlElement(name = "servlet-mapping")
|
|
private List<ServletMappingDef> servletMappingDefs;
|
|
|
|
public List<ServletDef> getServletDefs() {
|
|
return servletDefs;
|
|
}
|
|
|
|
public void setServletDefs(List<ServletDef> servletDefs) {
|
|
this.servletDefs = servletDefs;
|
|
}
|
|
|
|
public List<ServletMappingDef> getServletMappingDefs() {
|
|
return servletMappingDefs;
|
|
}
|
|
|
|
public void setServletMappingDefs(List<ServletMappingDef> servletMappingDefs) {
|
|
this.servletMappingDefs = servletMappingDefs;
|
|
}
|
|
}
|
|
|