org.n52.security.common.xml
Class XMLPrefixRemover

java.lang.Object
  extended by 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

Constructor Summary
XMLPrefixRemover()
           
 
Method Summary
 Document removePrefixes(Document document)
           
 Element removePrefixes(Element node)
          Method removes all prefixes from the given xml and change it to the default namespaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPrefixRemover

public XMLPrefixRemover()
Method Detail

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.