/** * Constructor for the <code>NodeWriter</code> object. This will * create the object that is used to control an output elements * access to the generated XML document. This keeps a stack of * active and uncommitted elements. * * @param result this is the output for the resulting document * @param format this is used to format the generated document * @param verbose this determines if we expand the namespaces */ private NodeWriter(Writer result, Format format, boolean verbose) { this.writer = new Formatter(result, format); this.active = new HashSet(); this.stack = new OutputStack(active); this.verbose = verbose; } /**
/** * Constructor for the <code>NodeWriter</code> object. This will * create the object that is used to control an output elements * access to the generated XML document. This keeps a stack of * active and uncommitted elements. * * @param result this is the output for the resulting document * @param format this is used to format the generated document * @param verbose this determines if we expand the namespaces */ private NodeWriter(Writer result, Format format, boolean verbose) { this.writer = new Formatter(result, format); this.active = new HashSet(); this.stack = new OutputStack(active); this.verbose = verbose; } /**
/** * Constructor for the <code>NodeWriter</code> object. This will * create the object that is used to control an output elements * access to the generated XML document. This keeps a stack of * active and uncommitted elements. * * @param result this is the output for the resulting document * @param format this is used to format the generated document * @param verbose this determines if we expand the namespaces */ private NodeWriter(Writer result, Format format, boolean verbose) { this.writer = new Formatter(result, format); this.active = new HashSet(); this.stack = new OutputStack(active); this.verbose = verbose; } /**