WebResourceCollectionParser() throws NoSuchMethodException {
creator = new WebResourceCollectionCreator();
}
public void parse(Object context, Node webappSubnode) throws SAXException {
MutableWebAppSecurityConstraint constraint = (MutableWebAppSecurityConstraint) context;
WebAppWebResourceCollection webResourceCollection
= (WebAppWebResourceCollection) creator.create(webappSubnode);
if (webResourceCollection != null) {
constraint.addWebResourceCollection(webResourceCollection);
}
}