@Override
    public List<String> getNames(Locale locale) {

        Set<String> sn = m_elementNames.get(locale);
        if (sn != null) {
            List<String> result = new ArrayList<String>();
            Iterator<String> i = sn.iterator();
            while (i.hasNext()) {
                String path = i.next();
                result.add(CmsXmlUtils.removeXpathIndex(path));
            }
            return result;
        }
        return Collections.emptyList();
    }
@ Override public List < String > getNames ( Locale locale ) { Set < String > sn = m_elementNames . get ( locale ) ; if ( sn != null ) { List < String > result = new ArrayList < String > ( ) ; Iterator < String > i = sn . iterator ( ) ; while ( i . hasNext ( ) ) { String path = i . next ( ) ; result . add ( CmsXmlUtils . removeXpathIndex ( path ) ) ; } return result ; } return Collections . emptyList ( ) ; }
@see org.opencms.xml.A_CmsXmlDocument#getNames(java.util.Locale)