001/* 002 * The contents of this file are subject to the license and copyright 003 * detailed in the LICENSE and NOTICE files at the root of the source 004 * tree. 005 */ 006package org.fcrepo.http.commons.webxml.bind; 007 008import javax.xml.bind.annotation.XmlElement; 009import javax.xml.bind.annotation.XmlRootElement; 010 011/** 012 * <p>FilterMapping class.</p> 013 * 014 * @author awoods 015 */ 016@XmlRootElement(namespace = "http://java.sun.com/xml/ns/javaee", 017 name = "filter-mapping") 018public class FilterMapping extends UrlMappable { 019 020 @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee", 021 name = "filter-name") 022 String filterName; 023 024 @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee", 025 name = "servlet-name") 026 String servletName; 027 028 @XmlElement(namespace = "http://java.sun.com/xml/ns/javaee", 029 name = "dispatcher") 030 String dispatcher; 031 032 public String filterName() { 033 return this.filterName; 034 } 035 036 public String servletName() { 037 return this.servletName; 038 } 039 040 public String dispatcher() { 041 return this.dispatcher; 042 } 043 044}