Message Parsing Definition provides an interface that represents a loaded message definition for parsing messages.

Method Description

MessageFactory getEdiMessageFactory()

Retrieves the loaded EDI message definition.

Exceptions:

  • IllegalStateException - if this is not an EDI definition.
Mapper getMapper()

Retrieves the loaded Mapping definition.

Exceptions:

  • IllegalStateException - if this is not a Mapping definition.
XPFDefinition getXmlMessageDefinition()

Retrieves the loaded XML message definition (W3C schemas only).

Exceptions:

  • IllegalStateException - if this is not a W3C XML definition.

DefinitionType getDefinitionType()

Returns the definition type of the loaded definition.

Definition getDefinition()

Retrieves the message definition object for this loaded definition.

MessageXPathContext getXPathContext()

Retrieves an XPath context associated with this loaded definition.

Exceptions:

  • XPathException.

Save

Save