mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 02:27:58 +01:00
[xmlparser-stax] Move getNamespace() to its friends within the file
This commit is contained in:
parent
ba6968fc79
commit
3bef905ef5
1 changed files with 6 additions and 6 deletions
|
@ -73,6 +73,12 @@ public final class StaxXmlPullParser implements XmlPullParser {
|
||||||
return namespaceContext.getNamespaceURI(prefix);
|
return namespaceContext.getNamespaceURI(prefix);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getNamespace() {
|
||||||
|
String prefix = getPrefix();
|
||||||
|
return getNamespace(prefix);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getDepth() {
|
public int getDepth() {
|
||||||
return depth;
|
return depth;
|
||||||
|
@ -106,12 +112,6 @@ public final class StaxXmlPullParser implements XmlPullParser {
|
||||||
return xmlStreamReader.getText();
|
return xmlStreamReader.getText();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getNamespace() {
|
|
||||||
String prefix = getPrefix();
|
|
||||||
return getNamespace(prefix);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
QName qname = getQName();
|
QName qname = getQName();
|
||||||
|
|
Loading…
Reference in a new issue