package com.sun.xml.internal.fastinfoset.stax.util;
import javax.xml.namespace.QName;
import javax.xml.namespace.NamespaceContext;
import javax.xml.stream.XMLStreamReader;
import javax.xml.stream.Location;
import javax.xml.stream.XMLStreamException;
public class StAXParserWrapper implements XMLStreamReader{
private XMLStreamReader _reader;
public StAXParserWrapper() {
}
public StAXParserWrapper(XMLStreamReader reader) {
_reader = reader;
}
public void setReader(XMLStreamReader reader) {
_reader = reader;
}
public XMLStreamReader getReader() {
return _reader;
}
public int next() throws XMLStreamException
{
return _reader.next();
}
public int nextTag() throws XMLStreamException
{
return _reader.nextTag();
}
public String getElementText() throws XMLStreamException
{
return _reader.getElementText();
}
public void require(int type, String namespaceURI, String localName) throws XMLStreamException
{
_reader.require(type,namespaceURI,localName);
}
public boolean hasNext() throws XMLStreamException
{
return _reader.hasNext();
}
public void close() throws XMLStreamException
{
_reader.close();
}
public String getNamespaceURI(String prefix)
{
return _reader.getNamespaceURI(prefix);
}
public NamespaceContext getNamespaceContext() {
return _reader.getNamespaceContext();
}
public boolean isStartElement() {
return _reader.isStartElement();
}
public boolean isEndElement() {
return _reader.isEndElement();
}
public boolean isCharacters() {
return _reader.isCharacters();
}
public boolean isWhiteSpace() {
return _reader.isWhiteSpace();
}
public QName getAttributeName(int index) {
return _reader.getAttributeName(index);
}
public int getTextCharacters(int sourceStart, char[] target, int targetStart,
int length) throws XMLStreamException
{
return _reader.getTextCharacters(sourceStart, target, targetStart, length);
}
public String getAttributeValue(String namespaceUri,
String localName)
{
return _reader.getAttributeValue(namespaceUri,localName);
}
public int getAttributeCount() {
return _reader.getAttributeCount();
}
public String getAttributePrefix(int index) {
return _reader.getAttributePrefix(index);
}
public String getAttributeNamespace(int index) {
return _reader.getAttributeNamespace(index);
}
public String getAttributeLocalName(int index) {
return _reader.getAttributeLocalName(index);
}
public String getAttributeType(int index) {
return _reader.getAttributeType(index);
}
public String getAttributeValue(int index) {
return _reader.getAttributeValue(index);
}
public boolean isAttributeSpecified(int index) {
return _reader.isAttributeSpecified(index);
}
public int getNamespaceCount() {
return _reader.getNamespaceCount();
}
public String getNamespacePrefix(int index) {
return _reader.getNamespacePrefix(index);
}
public String getNamespaceURI(int index) {
return _reader.getNamespaceURI(index);
}
public int getEventType() {
return _reader.getEventType();
}
public String getText() {
return _reader.getText();
}
public char[] getTextCharacters() {
return _reader.getTextCharacters();
}
public int getTextStart() {
return _reader.getTextStart();
}
public int getTextLength() {
return _reader.getTextLength();
}
public String getEncoding() {
return _reader.getEncoding();
}
public boolean hasText() {
return _reader.hasText();
}
public Location getLocation() {
return _reader.getLocation();
}
public QName getName() {
return _reader.getName();
}
public String getLocalName() {
return _reader.getLocalName();
}
public boolean hasName() {
return _reader.hasName();
}
public String getNamespaceURI() {
return _reader.getNamespaceURI();
}
public String getPrefix() {
return _reader.getPrefix();
}
public String getVersion() {
return _reader.getVersion();
}
public boolean isStandalone() {
return _reader.isStandalone();
}
public boolean standaloneSet() {
return _reader.standaloneSet();
}
public String getCharacterEncodingScheme() {
return _reader.getCharacterEncodingScheme();
}
public String getPITarget() {
return _reader.getPITarget();
}
public String getPIData() {
return _reader.getPIData();
}
public Object getProperty(String name) {
return _reader.getProperty(name);
}
}