protected String getTemplateFileName() {
        if (hasAttribute(PATH_ATTRIBUTE)) {
            return getAttribute(PATH_ATTRIBUTE);
        } else if (GdxMaps.isNotEmpty(getNamedAttributes())) {
            getParser().throwError(
                    "Import macro has to have a 'path' attribute. Attributes found: " + getNamedAttributes());
        }
        return getAttributes().get(0);
    }
protected String getTemplateFileName ( ) { if ( hasAttribute ( PATH_ATTRIBUTE ) ) { return getAttribute ( PATH_ATTRIBUTE ) ; } else if ( GdxMaps . isNotEmpty ( getNamedAttributes ( ) ) ) { getParser ( ) . throwError ( "Import macro has to have a 'path' attribute. Attributes found: " + getNamedAttributes ( ) ) ; } return getAttributes ( ) . get ( 0 ) ; }
@return attribute with the name of the template file. Validate attributes list before usage.