private void write ( String attribute , String content ) { Check . notNull ( attribute ) ; Check . notNull ( content ) ; try { root . setAttribute ( attribute , content ) ; } catch ( final DOMException exception ) { throw new LionEngineException ( exception , ERROR_WRITE_ATTRIBUTE + attribute + ERROR_WRITE_CONTENT + content ) ; } }
Write a data to the root .