com.springsource.bundlor.internal.support
Class WebApplicationArtifactAnalyzer
java.lang.Object
com.springsource.bundlor.internal.support.AbstractXmlDocumentArtefactAnalyser
com.springsource.bundlor.internal.support.WebApplicationArtifactAnalyzer
- All Implemented Interfaces:
- ArtefactAnalyser
public final class WebApplicationArtifactAnalyzer
- extends AbstractXmlDocumentArtefactAnalyser
An analyzer for the web.xml
file in a web application. Analyzers the list of package names that are
found in various places in the file.
Concurrent Semantics
Threadsafe
- Author:
- Ben Hale
Method Summary |
(package private) void |
analyse(org.w3c.dom.Document doc,
java.lang.String artefactName,
PartialManifest partialManifest)
|
boolean |
canAnalyse(java.lang.String artefactName)
Can this ArtefactAnalyser analyse the artefact with the supplied name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WEB_XML_LOCATION
private static final java.lang.String WEB_XML_LOCATION
- See Also:
- Constant Field Values
XPATH_EXPRESSION
private static final java.lang.String XPATH_EXPRESSION
- See Also:
- Constant Field Values
expression
private final javax.xml.xpath.XPathExpression expression
WebApplicationArtifactAnalyzer
public WebApplicationArtifactAnalyzer()
analyse
void analyse(org.w3c.dom.Document doc,
java.lang.String artefactName,
PartialManifest partialManifest)
throws java.lang.Exception
-
- Specified by:
analyse
in class AbstractXmlDocumentArtefactAnalyser
- Throws:
java.lang.Exception
canAnalyse
public boolean canAnalyse(java.lang.String artefactName)
- Can this
ArtefactAnalyser
analyse the artefact with the supplied name.
- Parameters:
artefactName
- the name of the artefact.
- Returns:
true
if the artefact can be analysed; otherwise false
.