FileDocCategorySizeDatePackage
WSDDHandler.javaAPI DocApache Axis 1.42180Sat Apr 22 18:57:28 BST 2006org.apache.axis.deployment.wsdd

WSDDHandler

public class WSDDHandler extends WSDDDeployableItem

Fields Summary
Constructors Summary
public WSDDHandler()
Default constructor

    
public WSDDHandler(Element e)

param
e (Element) XXX
throws
WSDDException XXX

        super(e);
        if (type == null && (this.getClass() == WSDDHandler.class)) {
            throw new WSDDException(Messages.getMessage("noTypeAttr00"));
        }
    
Methods Summary
public voiddeployToRegistry(WSDDDeployment deployment)

        deployment.addHandler(this);
    
protected javax.xml.namespace.QNamegetElementName()

        return QNAME_HANDLER;
    
public voidwriteToContext(org.apache.axis.encoding.SerializationContext context)

        AttributesImpl attrs = new AttributesImpl();
        QName name = getQName();
        if (name != null) {
            attrs.addAttribute("", ATTR_NAME, ATTR_NAME,
                               "CDATA", context.qName2String(name));
        }

        attrs.addAttribute("", ATTR_TYPE, ATTR_TYPE,
                           "CDATA", context.qName2String(getType()));
        context.startElement(WSDDConstants.QNAME_HANDLER, attrs);
        writeParamsToContext(context);
        context.endElement();