dk.brics.xsugar.xml
Class NamespaceAdder

java.lang.Object
  extended by dk.brics.xsugar.xml.NamespaceAdder

public class NamespaceAdder
extends Object

Inserts XML namespace declarations in the first start tag in an output string.


Constructor Summary
NamespaceAdder(Stylesheet stylesheet)
          Constructs a new namespace adder.
 
Method Summary
 String fix(String s)
          Fixes the given output string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceAdder

public NamespaceAdder(Stylesheet stylesheet)
Constructs a new namespace adder.

Parameters:
stylesheet - stylesheet
Method Detail

fix

public String fix(String s)
Fixes the given output string.

Parameters:
s - string
Returns:
fixed string


Copyright © 2004-2007 Anders Møller & Claus Brabrand.