org.n52.security.common.xml
Class XMLPrefixRemover
java.lang.Object
org.n52.security.common.xml.XMLPrefixRemover
public class XMLPrefixRemover
- extends Object
Removes prefixes from the a dom tree.
- Version:
- $Revision: $
- Author:
- Marko Reiprecht
Created on 26.08.2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLPrefixRemover
public XMLPrefixRemover()
removePrefixes
public Document removePrefixes(Document document)
removePrefixes
public Element removePrefixes(Element node)
- Method removes all prefixes from the given xml and change it to the default namespaces.
- Parameters:
node
- the root.
- Returns:
- Element.
Copyright © 2004–2013 52north.org. All rights reserved.