(Reader reader)
| 941 | // public part starts here... |
| 942 | |
| 943 | public void setInput(Reader reader) throws XmlPullParserException { |
| 944 | this.reader = reader; |
| 945 | |
| 946 | line = 1; |
| 947 | column = 0; |
| 948 | type = START_DOCUMENT; |
| 949 | name = null; |
| 950 | namespace = null; |
| 951 | degenerated = false; |
| 952 | attributeCount = -1; |
| 953 | encoding = null; |
| 954 | version = null; |
| 955 | standalone = null; |
| 956 | |
| 957 | if (reader == null) |
| 958 | return; |
| 959 | |
| 960 | srcPos = 0; |
| 961 | srcCount = 0; |
| 962 | peekCount = 0; |
| 963 | depth = 0; |
| 964 | |
| 965 | entityMap = new Hashtable(); |
| 966 | entityMap.put("amp", "&"); |
| 967 | entityMap.put("apos", "'"); |
| 968 | entityMap.put("gt", ">"); |
| 969 | entityMap.put("lt", "<"); |
| 970 | entityMap.put("quot", "\""); |
| 971 | } |
| 972 | |
| 973 | public void setInput(InputStream is, String _enc) |
| 974 | throws XmlPullParserException { |
no test coverage detected