org.milyn.edisax.interchange
Interface ControlBlockHandlerFactory

All Known Implementing Classes:
UNEdifact41ControlBlockHandlerFactory

public interface ControlBlockHandlerFactory

Interchange control block handler factory.

Author:
tom.fennelly@gmail.com

Field Summary
static String ENVELOPE_PREFIX
           
static String NAMESPACE_ROOT
           
 
Method Summary
 ControlBlockHandler getControlBlockHandler(String segCode)
          Get a ControlBlockHandler instance for the specified interchange segment code.
 String getNamespace()
          Get the transmission namespace.
 

Field Detail

ENVELOPE_PREFIX

static final String ENVELOPE_PREFIX
See Also:
Constant Field Values

NAMESPACE_ROOT

static final String NAMESPACE_ROOT
See Also:
Constant Field Values
Method Detail

getNamespace

String getNamespace()
Get the transmission namespace.

Returns:
The transmission namespace.

getControlBlockHandler

ControlBlockHandler getControlBlockHandler(String segCode)
                                           throws SAXException
Get a ControlBlockHandler instance for the specified interchange segment code.

Parameters:
segCode - The segment code.
Returns:
The interchange control block handler.
Throws:
SAXException - Unknown control block segment code.


Copyright © 2018. All rights reserved.