@Override protected void doEndElement(String uri, String name, String qName) { if (in("Tagging")) { if (name.equals("TagSet")) { getObjectTaggingResult = new GetObjectTaggingResult(tagSet); tagSet = null; } } if (in("Tagging", "TagSet")) { if (name.equals("Tag")) { tagSet.add(new Tag(currentTagKey, currentTagValue)); currentTagKey = null; currentTagValue = null; } } else if (in("Tagging", "TagSet", "Tag")) { if (name.equals("Key")) { currentTagKey = getText(); } else if (name.equals("Value")) { currentTagValue = getText(); } } } }
@Override protected void doEndElement(String uri, String name, String qName) { if (in("Tagging")) { if (name.equals("TagSet")) { getObjectTaggingResult = new GetObjectTaggingResult(tagSet); tagSet = null; } } if (in("Tagging", "TagSet")) { if (name.equals("Tag")) { tagSet.add(new Tag(currentTagKey, currentTagValue)); currentTagKey = null; currentTagValue = null; } } else if (in("Tagging", "TagSet", "Tag")) { if (name.equals("Key")) { currentTagKey = getText(); } else if (name.equals("Value")) { currentTagValue = getText(); } } } }
@Override protected void doEndElement(String uri, String name, String qName) { if (in("Tagging")) { if (name.equals("TagSet")) { getObjectTaggingResult = new GetObjectTaggingResult(tagSet); tagSet = null; } } if (in("Tagging", "TagSet")) { if (name.equals("Tag")) { tagSet.add(new Tag(currentTagKey, currentTagValue)); currentTagKey = null; currentTagValue = null; } } else if (in("Tagging", "TagSet", "Tag")) { if (name.equals("Key")) { currentTagKey = getText(); } else if (name.equals("Value")) { currentTagValue = getText(); } } } }
@Override protected void doEndElement(String uri, String name, String qName) { if (in("Tagging")) { if (name.equals("TagSet")) { getObjectTaggingResult = new GetObjectTaggingResult(tagSet); tagSet = null; } } if (in("Tagging", "TagSet")) { if (name.equals("Tag")) { tagSet.add(new Tag(currentTagKey, currentTagValue)); currentTagKey = null; currentTagValue = null; } } else if (in("Tagging", "TagSet", "Tag")) { if (name.equals("Key")) { currentTagKey = getText(); } else if (name.equals("Value")) { currentTagValue = getText(); } } } }