Interface IMessageBuilder


  • public interface IMessageBuilder
    Message builder interface.
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.xml.namespace.QName getBuiltInName​(java.lang.String name)
      Gets the built-in name with W3C Schema namespace and prefix.
      javax.xml.namespace.QName getPrefixedName​(javax.xml.namespace.QName name)
      Gets the name of an element with the name adjusted to use the prefix when a namespace is used.
    • Method Detail

      • getPrefixedName

        javax.xml.namespace.QName getPrefixedName​(javax.xml.namespace.QName name)
                                           throws javax.xml.soap.SOAPException
        Gets the name of an element with the name adjusted to use the prefix when a namespace is used.
        Parameters:
        name - The name to prefix.
        Returns:
        The QName with prefix and local name as the name parameter local name without namespace URI if the prefix is not set and a namespace URI is present, otherwise if the namespace URI is empty or the prefix is set, the same name is returned.
        Throws:
        javax.xml.soap.SOAPException - For name schema errors.
      • getBuiltInName

        javax.xml.namespace.QName getBuiltInName​(java.lang.String name)
                                          throws javax.xml.soap.SOAPException
        Gets the built-in name with W3C Schema namespace and prefix.
        Parameters:
        name - The built-in name, e.g. "string".
        Returns:
        The QName with prefix and local name as the built-in name.
        Throws:
        javax.xml.soap.SOAPException - For name schema errors.