}
}
public void save() throws MetaDataException {
SourceResolver resolver = null;
JCRNodeSource source = null;
try {
resolver = (SourceResolver) this.manager.lookup(SourceResolver.ROLE);
source = (JCRNodeSource) resolver.resolveURI(this.sourceUri);
if (!source.exists()) {
OutputStream stream = source.getOutputStream();
stream.flush();
stream.close();
}
Node node = source.getNode();
String prefix = node.getSession()
.getWorkspace()
.getNamespaceRegistry()
.getPrefix(this.namespace);
if (!prefix.equals("")) {