File: ElemCallback.java

package info (click to toggle)
libwoodstox-java 1%3A6.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 4,428 kB
  • sloc: java: 59,965; xml: 437; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.ctc.wstx.sr;

import javax.xml.stream.Location;
import javax.xml.namespace.QName;

import com.ctc.wstx.util.BaseNsContext;

/**
 * Abstract base class that defines set of simple callbacks to be
 * called by the stream reader, passing information about element
 * that the stream currently points to, if any.
 */
public abstract class ElemCallback
{
    public abstract Object withStartElement(Location loc, QName name,
                                            BaseNsContext nsCtxt, ElemAttrs attrs,
                                            boolean wasEmpty);
}