1 package org.apache.velocity.anakia; 2 3 18 19 import org.jdom.Element; 20 import org.jdom.Namespace; 21 import org.jdom.input.DefaultJDOMFactory; 22 23 30 public class AnakiaJDOMFactory extends DefaultJDOMFactory 31 { 32 public AnakiaJDOMFactory() 33 { 34 } 35 36 public Element element(String name, Namespace namespace) 37 { 38 return new AnakiaElement(name, namespace); 39 } 40 41 public Element element(String name) 42 { 43 return new AnakiaElement(name); 44 } 45 46 public Element element(String name, String uri) 47 { 48 return new AnakiaElement(name, uri); 49 } 50 51 public Element element(String name, String prefix, String uri) 52 { 53 return new AnakiaElement(name, prefix, uri); 54 } 55 } 56 | Popular Tags |