1 16 package org.apache.axis2.om; 17 18 import javax.activation.DataHandler ; 19 import javax.xml.namespace.QName ; 20 21 24 public interface OMFactory { 25 30 public OMElement createOMElement(String localName, OMNamespace ns); 31 32 39 public OMElement createOMElement(String localName, OMNamespace ns, 40 OMContainer parent, 41 OMXMLParserWrapper builder); 42 43 54 public OMElement createOMElement(String localName, 55 String namespaceURI, 56 String namespacePrefix); 57 58 68 public OMElement createOMElement(QName qname, OMContainer parent) 69 throws OMException; 70 71 76 public OMNamespace createOMNamespace(String uri, String prefix); 77 78 83 public OMText createText(OMElement parent, String text); 84 85 89 public OMText createText(String s); 90 public OMText createText(String s, String mimeType, boolean optimize); 91 public OMText createText(DataHandler dataHandler, boolean optimize); 92 public OMText createText(OMElement parent, String s, String mimeType, 93 boolean optimize); 94 95 public OMAttribute createOMAttribute(String localName, OMNamespace ns, String value); 96 97 98 99 101 102 103 } 104 | Popular Tags |