public String getAttributeLocalName(int index) { if (mCurrToken != START_ELEMENT) { throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM); } return mAttrCollector.getLocalName(index); }
public String getAttributeLocalName(int index) { return getAttrCollector().getLocalName(index); }
public String getLocalName(int index) { if (index < mAttrCount) { return (index < 0) ? null : mAttrCollector.getLocalName(index); } index -= mAttrCount; if (index < mNsCount) { /* As discussed in <code>fireStartTag</code>, we must use * element stack, not attribute collector: */ //String prefix = mAttrCollector.getNsPrefix(index); String prefix = mElemStack.getLocalNsPrefix(index); return (prefix == null || prefix.length() == 0) ? "xmlns" : prefix; } return null; }
public String getQName(int index) { if (index < mAttrCount) { if (index < 0) { return null; } String prefix = mAttrCollector.getPrefix(index); String ln = mAttrCollector.getLocalName(index); return (prefix == null || prefix.length() == 0) ? ln : (prefix + ":" + ln); } index -= mAttrCount; if (index < mNsCount) { /* As discussed in <code>fireStartTag</code>, we must use * element stack, not attribute collector: */ //String prefix = mAttrCollector.getNsPrefix(index); String prefix = mElemStack.getLocalNsPrefix(index); if (prefix == null || prefix.length() == 0) { return "xmlns"; } return "xmlns:"+prefix; } return null; }
mWriter.writeAttribute(ac.getLocalName(i), ac.getValue(i)); } else { mWriter.writeAttribute(prefix, ac.getLocalName(i), ac.getValue(i));
@Override public String getAttributeLocalName(int index) { if (mCurrToken != START_ELEMENT) { throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM); } return mAttrCollector.getLocalName(index); }
public String getAttributeLocalName(int index) { if (mCurrToken != START_ELEMENT) { throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM); } return mAttrCollector.getLocalName(index); }
public String getAttributeLocalName(int index) { if (mCurrToken != START_ELEMENT) { throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM); } return mAttrCollector.getLocalName(index); }
public String getAttributeLocalName(int index) { if (mCurrToken != START_ELEMENT) { throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM); } return mAttrCollector.getLocalName(index); }
@Override public String getAttributeLocalName(int index) { if (mCurrToken != START_ELEMENT) { throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM); } return mAttrCollector.getLocalName(index); }
@Override public String getAttributeLocalName(int index) { if (mCurrToken != START_ELEMENT) { throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM); } return mAttrCollector.getLocalName(index); }
public String getAttributeLocalName(int index) { if (mCurrToken != START_ELEMENT) { throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM); } return mAttrCollector.getLocalName(index); }
@Override public String getAttributeLocalName(int index) { return getAttrCollector().getLocalName(index); }
@Override public String getAttributeLocalName(int index) { return getAttrCollector().getLocalName(index); }
@Override public String getAttributeLocalName(int index) { return getAttrCollector().getLocalName(index); }
public String getAttributeLocalName(int index) { return getAttrCollector().getLocalName(index); }
public String getAttributeLocalName(int index) { return getAttrCollector().getLocalName(index); }
public String getAttributeLocalName(int index) { return getAttrCollector().getLocalName(index); }
public String getAttributeLocalName(int index) { return getAttrCollector().getLocalName(index); }
public String getLocalName(int index) { if (index < mAttrCount) { return (index < 0) ? null : mAttrCollector.getLocalName(index); } index -= mAttrCount; if (index < mNsCount) { /* As discussed in <code>fireStartTag</code>, we must use * element stack, not attribute collector: */ //String prefix = mAttrCollector.getNsPrefix(index); String prefix = mElemStack.getLocalNsPrefix(index); return (prefix == null || prefix.length() == 0) ? "xmlns" : prefix; } return null; }