19 * limitations under the License.
20 */
21
22 package com.sun.org.apache.xerces.internal.jaxp;
23
24 import com.sun.org.apache.xerces.internal.xni.Augmentations;
25 import com.sun.org.apache.xerces.internal.xni.NamespaceContext;
26 import com.sun.org.apache.xerces.internal.xni.QName;
27 import com.sun.org.apache.xerces.internal.xni.XMLAttributes;
28 import com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler;
29 import com.sun.org.apache.xerces.internal.xni.XMLLocator;
30 import com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier;
31 import com.sun.org.apache.xerces.internal.xni.XMLString;
32 import com.sun.org.apache.xerces.internal.xni.XNIException;
33 import com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentFilter;
34 import com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentSource;
35
36 /**
37 * <p>XMLDocumentHandler which forks the pipeline to two other components.</p>
38 *
39 * @author Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
40 */
41 class TeeXMLDocumentFilterImpl implements XMLDocumentFilter {
42
43 /**
44 * The next component in the pipeline who receives the event.
45 * This component receives events after the "side" handler
46 * receives them.
47 */
48 private XMLDocumentHandler next;
49
50 /**
51 * The component who intercepts events.
52 */
53 private XMLDocumentHandler side;
54
55 /**
56 * The source of the event.
57 */
58 private XMLDocumentSource source;
59
|
19 * limitations under the License.
20 */
21
22 package com.sun.org.apache.xerces.internal.jaxp;
23
24 import com.sun.org.apache.xerces.internal.xni.Augmentations;
25 import com.sun.org.apache.xerces.internal.xni.NamespaceContext;
26 import com.sun.org.apache.xerces.internal.xni.QName;
27 import com.sun.org.apache.xerces.internal.xni.XMLAttributes;
28 import com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler;
29 import com.sun.org.apache.xerces.internal.xni.XMLLocator;
30 import com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier;
31 import com.sun.org.apache.xerces.internal.xni.XMLString;
32 import com.sun.org.apache.xerces.internal.xni.XNIException;
33 import com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentFilter;
34 import com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentSource;
35
36 /**
37 * <p>XMLDocumentHandler which forks the pipeline to two other components.</p>
38 *
39 * @author Kohsuke Kawaguchi
40 */
41 class TeeXMLDocumentFilterImpl implements XMLDocumentFilter {
42
43 /**
44 * The next component in the pipeline who receives the event.
45 * This component receives events after the "side" handler
46 * receives them.
47 */
48 private XMLDocumentHandler next;
49
50 /**
51 * The component who intercepts events.
52 */
53 private XMLDocumentHandler side;
54
55 /**
56 * The source of the event.
57 */
58 private XMLDocumentSource source;
59
|