question: public void loadWorkspaceContents ( String xml ) throws BlocklyParserException { loadWorkspaceContents ( new ByteArrayInputStream ( xml . getBytes ( ) ) ) ; }
target:  Reads the workspace in from a XML stream. This will clear the workspace and replace it with the contents of the xml.