public MetaData getMetaData() throws CoreException { if (documentRoot == null || documentRoot.getMetadata() == null) throw ExceptionUtils.fromMessage("No metadata available"); return documentRoot.getMetadata(); }