org.milyn.edisax.unedifact.handlers.r41
Class UNEdifact41ControlBlockHandlerFactory

java.lang.Object
  extended by org.milyn.edisax.unedifact.handlers.r41.UNEdifact41ControlBlockHandlerFactory
All Implemented Interfaces:
ControlBlockHandlerFactory

public class UNEdifact41ControlBlockHandlerFactory
extends Object
implements ControlBlockHandlerFactory

UN/EDIFACT control block handler factory (Version 4, Release 1).

Author:
tom.fennelly@gmail.com

Field Summary
static String NAMESPACE
           
 
Fields inherited from interface org.milyn.edisax.interchange.ControlBlockHandlerFactory
ENVELOPE_PREFIX, NAMESPACE_ROOT
 
Constructor Summary
UNEdifact41ControlBlockHandlerFactory(org.milyn.xml.hierarchy.HierarchyChangeListener hierarchyChangeListener)
           
 
Method Summary
 ControlBlockHandler getControlBlockHandler(String segCode)
          Get a ControlBlockHandler instance for the specified interchange segment code.
 String getNamespace()
          Get the transmission namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final String NAMESPACE
See Also:
Constant Field Values
Constructor Detail

UNEdifact41ControlBlockHandlerFactory

public UNEdifact41ControlBlockHandlerFactory(org.milyn.xml.hierarchy.HierarchyChangeListener hierarchyChangeListener)
Method Detail

getNamespace

public String getNamespace()
Description copied from interface: ControlBlockHandlerFactory
Get the transmission namespace.

Specified by:
getNamespace in interface ControlBlockHandlerFactory
Returns:
The transmission namespace.

getControlBlockHandler

public ControlBlockHandler getControlBlockHandler(String segCode)
                                           throws SAXException
Description copied from interface: ControlBlockHandlerFactory
Get a ControlBlockHandler instance for the specified interchange segment code.

Specified by:
getControlBlockHandler in interface ControlBlockHandlerFactory
Parameters:
segCode - The segment code.
Returns:
The interchange control block handler.
Throws:
SAXException - Unknown control block segment code.


Copyright © 2018. All rights reserved.