mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-17 09:42:05 +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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getNamespace() {
|
||||
String prefix = getPrefix();
|
||||
return getNamespace(prefix);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDepth() {
|
||||
return depth;
|
||||
|
@ -106,12 +112,6 @@ public final class StaxXmlPullParser implements XmlPullParser {
|
|||
return xmlStreamReader.getText();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getNamespace() {
|
||||
String prefix = getPrefix();
|
||||
return getNamespace(prefix);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
QName qname = getQName();
|
||||
|
|
Loading…
Reference in a new issue