List of usage examples for org.dom4j Namespace detach
public Node detach()
From source file:org.mule.intents.AppBuilder.java
License:Open Source License
protected void addNamespaces(Document snippet) { List<Namespace> ns = snippet.getRootElement().declaredNamespaces(); for (Namespace n : ns) { config.getRootElement().add(n.detach()); }/*from www . j a v a 2 s . c o m*/ }
From source file:org.selenium.runner.dao.NameSpaceCleaner.java
License:Apache License
/** * {@inheritDoc} */ public void visit(Namespace namespace) { namespace.detach(); }