Class KMLListStyle

    • Field Detail

      • itemIcons

        protected java.util.List<KMLItemIcon> itemIcons
    • Constructor Detail

      • KMLListStyle

        public KMLListStyle​(java.lang.String namespaceURI)
        Construct an instance.
        Parameters:
        namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
    • Method Detail

      • doAddEventContent

        protected void doAddEventContent​(java.lang.Object o,
                                         XMLEventParserContext ctx,
                                         javax.xml.stream.events.XMLEvent event,
                                         java.lang.Object... args)
                                  throws javax.xml.stream.XMLStreamException
        Overrides:
        doAddEventContent in class AbstractXMLEventParser
        Throws:
        javax.xml.stream.XMLStreamException
      • getListItemType

        public java.lang.String getListItemType()
      • getBgColor

        public java.lang.String getBgColor()
      • addItemIcon

        protected void addItemIcon​(KMLItemIcon o)
      • getItemIcons

        public java.util.List<KMLItemIcon> getItemIcons()
      • getMaxSnippetLines

        public java.lang.Integer getMaxSnippetLines()
      • mergeItemIcons

        protected void mergeItemIcons​(KMLListStyle sourceStyle)
        Merge a list of incoming item icons with the current list. If an incoming item icon has the same ID as an existing one, replace the existing one, otherwise just add the incoming one.
        Parameters:
        sourceStyle - the incoming item icons.