Class XmlReader.AttributeMap

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,String>
org.apache.sling.jcr.contentloader.internal.readers.XmlReader.AttributeMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>
Enclosing class:
XmlReader

protected static class XmlReader.AttributeMap extends HashMap<String,String>
Utility class for dealing with attributes from KXmlParser.
See Also:
  • Constructor Details

    • AttributeMap

      protected AttributeMap()
  • Method Details

    • getInstance

      public static XmlReader.AttributeMap getInstance()
    • setValues

      public void setValues(org.kxml2.io.KXmlParser xmlParser)
      Puts values in an AttributeMap by extracting attributes from the xmlParser.
      Parameters:
      xmlParser - xmlParser to extract attributes from. The parser must be in XmlPullParser.START_TAG state.