01: /* Copyright 2002 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.car;
07:
08: import java.util.jar.JarFile;
09:
10: /**
11: * A class for holding parsing context information like the current
12: * path within the XML being parsed and the jarfile whose deployment
13: * descriptor is being parsed.
14: *
15: * @author Mark Boyd {@link <a href="mailto:mark.boyd@engineer.com">mark.boyd@engineer.com</a>}
16: * @version $Revision: 36690 $
17: */
18: public class ParsingContext {
19: private JarFile jarFile;
20: private Path parsingPath = new Path();
21:
22: public ParsingContext(JarFile jarfile) {
23: this .jarFile = jarfile;
24: }
25:
26: public Path getPath() {
27: return parsingPath;
28: }
29:
30: public JarFile getJarFile() {
31: return jarFile;
32: }
33: }
|