mockxmlpullparser.java.svn-base
来自「it is a tools for developing J2ME applic」· SVN-BASE 代码 · 共 159 行
SVN-BASE
159 行
package org.ksoap2.transport.mock;import java.io.*;import org.xmlpull.v1.*;public class MockXmlPullParser implements XmlPullParser { public String nextText; public void defineEntityReplacementText(String arg0, String arg1) throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.defineEntityReplacementText is not implemented yet"); } public int getAttributeCount() { throw new UnsupportedOperationException("MockXmlPullParser.getAttributeCount is not implemented yet"); } public String getAttributeName(int arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getAttributeName is not implemented yet"); } public String getAttributeNamespace(int arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getAttributeNamespace is not implemented yet"); } public String getAttributePrefix(int arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getAttributePrefix is not implemented yet"); } public String getAttributeType(int arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getAttributeType is not implemented yet"); } public String getAttributeValue(int arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getAttributeValue is not implemented yet"); } public String getAttributeValue(String arg0, String arg1) { throw new UnsupportedOperationException("MockXmlPullParser.getAttributeValue is not implemented yet"); } public int getColumnNumber() { throw new UnsupportedOperationException("MockXmlPullParser.getColumnNumber is not implemented yet"); } public int getDepth() { throw new UnsupportedOperationException("MockXmlPullParser.getDepth is not implemented yet"); } public int getEventType() throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.getEventType is not implemented yet"); } public boolean getFeature(String arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getFeature is not implemented yet"); } public String getInputEncoding() { throw new UnsupportedOperationException("MockXmlPullParser.getInputEncoding is not implemented yet"); } public int getLineNumber() { throw new UnsupportedOperationException("MockXmlPullParser.getLineNumber is not implemented yet"); } public String getName() { throw new UnsupportedOperationException("MockXmlPullParser.getName is not implemented yet"); } public String getNamespace() { throw new UnsupportedOperationException("MockXmlPullParser.getNamespace is not implemented yet"); } public String getNamespace(String arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getNamespace is not implemented yet"); } public int getNamespaceCount(int arg0) throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.getNamespaceCount is not implemented yet"); } public String getNamespacePrefix(int arg0) throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.getNamespacePrefix is not implemented yet"); } public String getNamespaceUri(int arg0) throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.getNamespaceUri is not implemented yet"); } public String getPositionDescription() { throw new UnsupportedOperationException("MockXmlPullParser.getPositionDescription is not implemented yet"); } public String getPrefix() { throw new UnsupportedOperationException("MockXmlPullParser.getPrefix is not implemented yet"); } public Object getProperty(String arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getProperty is not implemented yet"); } public String getText() { throw new UnsupportedOperationException("MockXmlPullParser.getText is not implemented yet"); } public char[] getTextCharacters(int[] arg0) { throw new UnsupportedOperationException("MockXmlPullParser.getTextCharacters is not implemented yet"); } public boolean isAttributeDefault(int arg0) { throw new UnsupportedOperationException("MockXmlPullParser.isAttributeDefault is not implemented yet"); } public boolean isEmptyElementTag() throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.isEmptyElementTag is not implemented yet"); } public boolean isWhitespace() throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.isWhitespace is not implemented yet"); } public int next() throws XmlPullParserException, IOException { throw new UnsupportedOperationException("MockXmlPullParser.next is not implemented yet"); } public int nextTag() throws XmlPullParserException, IOException { throw new UnsupportedOperationException("MockXmlPullParser.nextTag is not implemented yet"); } public String nextText() throws XmlPullParserException, IOException { return nextText; } public int nextToken() throws XmlPullParserException, IOException { throw new UnsupportedOperationException("MockXmlPullParser.nextToken is not implemented yet"); } public void require(int arg0, String arg1, String arg2) throws XmlPullParserException, IOException { throw new UnsupportedOperationException("MockXmlPullParser.require is not implemented yet"); } public void setFeature(String arg0, boolean arg1) throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.setFeature is not implemented yet"); } public void setInput(Reader arg0) throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.setInput is not implemented yet"); } public void setInput(InputStream arg0, String arg1) throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.setInput is not implemented yet"); } public void setProperty(String arg0, Object arg1) throws XmlPullParserException { throw new UnsupportedOperationException("MockXmlPullParser.setProperty is not implemented yet"); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?