public class Messages extends MessageBundle
Constructor and Description |
---|
Messages() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
msgAlreadyDefinedIn(java.lang.String thing,
java.lang.String name,
java.lang.String origin,
java.lang.String redef)
Format an error message about a
thing being
(inappropriately) redefined. |
java.lang.String |
msgCannotBeDocumentRootElement(java.lang.String qname)
Format an error message about an element not being permissable as the root
element in a WSDL document.
|
java.lang.String |
msgElementMustBeEmpty(java.lang.String element)
Format an error message about the
<X> element having
content when it should be empty. |
java.lang.String |
msgElementRequiresAttr(java.lang.String element,
java.lang.String attribute)
Format an error message about the
<X> element
requiring the Y attribute. |
java.lang.String |
msgElementRequiresChild(java.lang.String element,
java.lang.String child)
Format an error message about a child element being required.
|
java.lang.String |
msgExtensibilityElementsMustBeLast(java.lang.String qname)
Format an error message about an extensibility element occurring out of
order with respect to other WSDL elements.
|
java.lang.String |
msgInvalidNamespacePrefix(java.lang.String prefix)
BPEL extension error: invalid namespace prefix \"{0}\".
|
java.lang.String |
msgMalformedQName(java.lang.String str)
The string \"{0}\" is not a properly formatted QName.
|
java.lang.String |
msgMissingRoleForPartnerLinkType(java.lang.String name)
The formatted error message The partnerLinkType {0} does not define any
roles.
|
java.lang.String |
msgMustBeChildOfDef(java.lang.String qname)
Format an error message about a WSDL extensibility element requiring to be
a first level child of the definition element.
|
java.lang.String |
msgNoMoreThanNumberOfElements(int n,
java.lang.String x,
java.lang.String y)
Format an error message that at most
n things of type
x may be defined with each y . |
java.lang.String |
msgNoSuchMessageTypeForPropertyAlias(java.lang.String messageType)
Format a message about a
<propertyAlias> referring to
a non-existent WSDL message type. |
java.lang.String |
msgNoSuchPartForPropertyAlias(java.lang.String message,
java.lang.String part)
Format a message about a
<propertyAlias> referring to
a non-existent part of a a WSDL message type. |
java.lang.String |
msgNoSuchPortTypeForRole(java.lang.String roleName,
java.lang.String portType)
Format an error message about a
<role> referring to a
portType that can't be dereferenced. |
java.lang.String |
msgNoSuchProperty(java.lang.String name,
java.lang.String documentBaseURI)
Format an error message about a reference to a
<property> that does not exist. |
java.lang.String |
msgRoleAlreadyDefined(javax.xml.namespace.QName linkName,
java.lang.String roleName)
Format an error message about a named
<role> already
being declared within a <partnerLink> . |
format, format, getKeys, getMessages, getMessages, handleGetObject, todo
public java.lang.String msgInvalidNamespacePrefix(java.lang.String prefix)
public java.lang.String msgMalformedQName(java.lang.String str)
public java.lang.String msgMissingRoleForPartnerLinkType(java.lang.String name)
public java.lang.String msgElementRequiresAttr(java.lang.String element, java.lang.String attribute)
<X>
element
requiring the Y
attribute.element
- the QName
of the elementattribute
- the name of the attributepublic java.lang.String msgElementMustBeEmpty(java.lang.String element)
<X>
element having
content when it should be empty.element
- the QName
of the elementpublic java.lang.String msgRoleAlreadyDefined(javax.xml.namespace.QName linkName, java.lang.String roleName)
<role>
already
being declared within a <partnerLink>
.linkName
- the QName
of the <partnerLink>
roleName
- the name of the <role>
public java.lang.String msgNoMoreThanNumberOfElements(int n, java.lang.String x, java.lang.String y)
n
things of type
x
may be defined with each y
.n
- the maximum number of things.x
- the things.y
- the thing that contains the things.public java.lang.String msgElementRequiresChild(java.lang.String element, java.lang.String child)
element
- the QName
of the parent elementchild
- the QName
of the child elementpublic java.lang.String msgNoSuchPortTypeForRole(java.lang.String roleName, java.lang.String portType)
<role>
referring to a
portType
that can't be dereferenced.roleName
- the name of the <role>
portType
- the QName
of the portType
public java.lang.String msgNoSuchMessageTypeForPropertyAlias(java.lang.String messageType)
<propertyAlias>
referring to
a non-existent WSDL message type.messageType
- the non-existent WSDL message type namepublic java.lang.String msgCannotBeDocumentRootElement(java.lang.String qname)
qname
- the stringified QName
of the elementpublic java.lang.String msgMustBeChildOfDef(java.lang.String qname)
qname
- the stringified QName
of the elementpublic java.lang.String msgExtensibilityElementsMustBeLast(java.lang.String qname)
qname
- the stringified QName
of the elementpublic java.lang.String msgNoSuchPartForPropertyAlias(java.lang.String message, java.lang.String part)
<propertyAlias>
referring to
a non-existent part of a a WSDL message type.message
- the stringified QName
of the messagepart
- the name of the partpublic java.lang.String msgAlreadyDefinedIn(java.lang.String thing, java.lang.String name, java.lang.String origin, java.lang.String redef)
thing
being
(inappropriately) redefined.thing
- the thing, e.g., a message, a port type, etc.name
- the name of the thingorigin
- where it was first definedredef
- where it was redefinedpublic java.lang.String msgNoSuchProperty(java.lang.String name, java.lang.String documentBaseURI)
<property>
that does not exist.name
- the stringified QName
of the propertydocumentBaseURI
- the URI of the WSDL that contains the reference.