org.n52.security.common.xml
Class XMLPrefixRemover

java.lang.Object
  extended by org.n52.security.common.xml.XMLPrefixRemover

public class XMLPrefixRemover
extends java.lang.Object

Class XMLPrefixRemover removes prefixes from the a dom tree.

Version:
$Revision: $
Author:
Marko Reiprecht Created on 26.08.2008

Constructor Summary
XMLPrefixRemover()
           
 
Method Summary
 org.w3c.dom.Document removePrefixes(org.w3c.dom.Document document)
          Method removes the prefixes.
 org.w3c.dom.Element removePrefixes(org.w3c.dom.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 org.w3c.dom.Document removePrefixes(org.w3c.dom.Document document)
Method removes the prefixes.

Parameters:
document - the document.
Returns:
Document.

removePrefixes

public org.w3c.dom.Element removePrefixes(org.w3c.dom.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-2009 52north.org. All Rights Reserved.