@Override
    protected String doRender(final RenderConfiguration config, final Node node) {

        // Do we have a non-empty NodeAttributes within the supplied Node?
        // Don't add the extra newline after the attributes - so call doRender directly.
        final NodeAttributes nodeAttributes = node.getAttributes();
        final String renderedNodeAttributes = attributeRenderer.doRender(config, nodeAttributes);

        // All Done.
        return config.getIndent() + nodeIdRenderer.doRender(config, node.getNodeID())
                + (renderedNodeAttributes.isEmpty() ? "" : " " + renderedNodeAttributes);
    }
@Override
    protected String doRender(final RenderConfiguration config, final Node node) {

        
        
        final NodeAttributes nodeAttributes = node.getAttributes();
        final String renderedNodeAttributes = attributeRenderer.doRender(config, nodeAttributes);

        
        return config.getIndent() + nodeIdRenderer.doRender(config, node.getNodeID())
                + (renderedNodeAttributes.isEmpty() ? "" : " " + renderedNodeAttributes);
    }
@ Override protected String doRender ( final RenderConfiguration config , final Node node ) { // Do we have a non-empty NodeAttributes within the supplied Node? // Don't add the extra newline after the attributes - so call doRender directly. final NodeAttributes nodeAttributes = node . getAttributes ( ) ; final String renderedNodeAttributes = attributeRenderer . doRender ( config , nodeAttributes ) ; // All Done. return config . getIndent ( ) + nodeIdRenderer . doRender ( config , node . getNodeID ( ) ) + ( renderedNodeAttributes . isEmpty ( ) ? "" : " " + renderedNodeAttributes ) ; }
{@inheritDoc}
{