public Node loadContent ( URL contentDefinition ) throws RepositoryException { LOG . info ( "Loading Content" ) ; final Session session = repository . getAdminSession ( ) ; final XMLContentLoader loader = new XMLContentLoader ( ) ; return loader . loadContent ( session , contentDefinition ) ; }
Loads content from an external content definition into the underlying repository .