1 55 package org.jboss.axis.deployment.wsdd; 56 57 import org.jboss.axis.encoding.SerializationContext; 58 import org.w3c.dom.Element ; 59 60 import javax.xml.namespace.QName ; 61 import java.io.IOException ; 62 63 64 67 public class WSDDDocumentation 68 extends WSDDElement 69 { 70 private String value; 71 72 protected QName getElementName() 73 { 74 return WSDDConstants.QNAME_DOC; 75 } 76 77 81 public WSDDDocumentation(Element e) 82 throws WSDDException 83 { 84 super(e); 85 } 86 87 90 public String getValue() 91 { 92 return value; 93 } 94 95 98 public void setValue(String value) 99 { 100 this.value = value; 101 } 102 103 106 public void writeToContext(SerializationContext context) 107 throws IOException 108 { 109 context.startElement(QNAME_DOC, null); 110 context.writeString(value); 111 context.endElement(); 112 } 113 } 114 | Popular Tags |