KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > xpdl > elements > Namespaces


1 package org.enhydra.shark.xpdl.elements;
2
3 import org.enhydra.shark.xpdl.XMLCollection;
4 import org.enhydra.shark.xpdl.XMLElement;
5
6 /**
7  * Helper class to properly write namespaces in XML.
8  *
9  * @author Sasa Bojanic
10  */

11 public class Namespaces extends XMLCollection {
12
13    public Namespaces (Package JavaDoc parent) {
14       super(parent, true);
15    }
16
17
18    public XMLElement generateNewElement() {
19       return new Namespace(this);
20    }
21
22 }
Popular Tags