public class UNEdifactInterchangeParser extends Object implements XMLReader, NamespaceDeclarationStackAware, HierarchyChangeReader
| Modifier and Type | Field and Description | 
|---|---|
| static Delimiters | defaultUNEdifactDelimiters | 
| protected MappingsRegistry | registryBy default we are using  LazyMappingsRegistryinstance | 
| Constructor and Description | 
|---|
| UNEdifactInterchangeParser() | 
public static final Delimiters defaultUNEdifactDelimiters
protected MappingsRegistry registry
LazyMappingsRegistry instancepublic void parse(InputSource unedifactInterchange) throws IOException, SAXException
parse in interface XMLReaderIOExceptionSAXExceptionprotected InterchangeContext createInterchangeContext(BufferedSegmentReader segmentReader, boolean validate, ControlBlockHandlerFactory controlBlockHandlerFactory, NamespaceDeclarationStack namespaceDeclarationStack)
public InterchangeContext getInterchangeContext()
public UNEdifactInterchangeParser setMappingsRegistry(MappingsRegistry registry)
EDIParser.registry - The mapping model registry.public ContentHandler getContentHandler()
getContentHandler in interface XMLReaderpublic void setContentHandler(ContentHandler contentHandler)
setContentHandler in interface XMLReaderpublic void ignoreNewLines(boolean ignoreNewLines)
public void ignoreEmptyNodes(boolean ignoreEmptyNodes)
public void validate(boolean validate)
public void setFeature(String name, boolean value)
setFeature in interface XMLReaderpublic boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getFeature in interface XMLReaderSAXNotRecognizedExceptionSAXNotSupportedExceptionpublic void setNamespaceDeclarationStack(NamespaceDeclarationStack namespaceDeclarationStack)
NamespaceDeclarationStackAwaresetNamespaceDeclarationStack in interface NamespaceDeclarationStackAwarenamespaceDeclarationStack - Namespace Declaration Stack.public void setHierarchyChangeListener(HierarchyChangeListener listener)
HierarchyChangeReaderreader hierarchy change listener.setHierarchyChangeListener in interface HierarchyChangeReaderlistener - The listener.public void parse(String systemId) throws IOException, SAXException
parse in interface XMLReaderIOExceptionSAXExceptionpublic DTDHandler getDTDHandler()
getDTDHandler in interface XMLReaderpublic void setDTDHandler(DTDHandler arg0)
setDTDHandler in interface XMLReaderpublic EntityResolver getEntityResolver()
getEntityResolver in interface XMLReaderpublic void setEntityResolver(EntityResolver arg0)
setEntityResolver in interface XMLReaderpublic ErrorHandler getErrorHandler()
getErrorHandler in interface XMLReaderpublic void setErrorHandler(ErrorHandler arg0)
setErrorHandler in interface XMLReaderpublic Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getProperty in interface XMLReaderSAXNotRecognizedExceptionSAXNotSupportedExceptionpublic void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException
setProperty in interface XMLReaderSAXNotRecognizedExceptionSAXNotSupportedExceptionCopyright © 2020. All rights reserved.