Java源码示例:com.sun.tools.internal.ws.wsdl.document.mime.MIMEConstants

示例1
/**
 * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element
 * that it can't understand.
 *
 * @param parent  The Parent element within which the extensibility element is defined
 * @param e       The extensibility elemenet
 * @return false if there was some error during the extension handling otherwise returns true. If returned false
 *         then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true
 */
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
    if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) {
        return handleMIMEPartExtension(context, parent, e);
    } else {
        return super.doHandleExtension(context, parent, e);
    }
}
 
示例2
/**
 * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element
 * that it can't understand.
 *
 * @param parent  The Parent element within which the extensibility element is defined
 * @param e       The extensibility elemenet
 * @return false if there was some error during the extension handling otherwise returns true. If returned false
 *         then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true
 */
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
    if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) {
        return handleMIMEPartExtension(context, parent, e);
    } else {
        return super.doHandleExtension(context, parent, e);
    }
}
 
示例3
/**
 * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element
 * that it can't understand.
 *
 * @param parent  The Parent element within which the extensibility element is defined
 * @param e       The extensibility elemenet
 * @return false if there was some error during the extension handling otherwise returns true. If returned false
 *         then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true
 */
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
    if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) {
        return handleMIMEPartExtension(context, parent, e);
    } else {
        return super.doHandleExtension(context, parent, e);
    }
}
 
示例4
/**
 * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element
 * that it can't understand.
 *
 * @param parent  The Parent element within which the extensibility element is defined
 * @param e       The extensibility elemenet
 * @return false if there was some error during the extension handling otherwise returns true. If returned false
 *         then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true
 */
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
    if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) {
        return handleMIMEPartExtension(context, parent, e);
    } else {
        return super.doHandleExtension(context, parent, e);
    }
}
 
示例5
/**
 * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element
 * that it can't understand.
 *
 * @param parent  The Parent element within which the extensibility element is defined
 * @param e       The extensibility elemenet
 * @return false if there was some error during the extension handling otherwise returns true. If returned false
 *         then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true
 */
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
    if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) {
        return handleMIMEPartExtension(context, parent, e);
    } else {
        return super.doHandleExtension(context, parent, e);
    }
}
 
示例6
/**
 * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element
 * that it can't understand.
 *
 * @param parent  The Parent element within which the extensibility element is defined
 * @param e       The extensibility elemenet
 * @return false if there was some error during the extension handling otherwise returns true. If returned false
 *         then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true
 */
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
    if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) {
        return handleMIMEPartExtension(context, parent, e);
    } else {
        return super.doHandleExtension(context, parent, e);
    }
}
 
示例7
/**
 * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element
 * that it can't understand.
 *
 * @param parent  The Parent element within which the extensibility element is defined
 * @param e       The extensibility elemenet
 * @return false if there was some error during the extension handling otherwise returns true. If returned false
 *         then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true
 */
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
    if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) {
        return handleMIMEPartExtension(context, parent, e);
    } else {
        return super.doHandleExtension(context, parent, e);
    }
}
 
示例8
/**
 * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element
 * that it can't understand.
 *
 * @param parent  The Parent element within which the extensibility element is defined
 * @param e       The extensibility elemenet
 * @return false if there was some error during the extension handling otherwise returns true. If returned false
 *         then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true
 */
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
    if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) {
        return handleMIMEPartExtension(context, parent, e);
    } else {
        return super.doHandleExtension(context, parent, e);
    }
}