| com.bostechcorp.cbesb.common.mdl.IDocLocationResolver
All known Subclasses: com.bostechcorp.cbesb.common.mdl.x12.X12DocLocationResolver, com.bostechcorp.cbesb.common.mdl.hl7.Hl7DocLocationResolver, com.bostechcorp.cbesb.common.mdl.DefaultDocLocationResolver,
IDocLocationResolver | public interface IDocLocationResolver (Code) | | Provides a method used by MDLDocumentFactory to resolve the locations of
referenced MDL files. This will mainly be used in the JBI Components that use
the Parser or Serializer to be able to provide a dynamic location of the MDL
files in the Service Unit or Service Assembly.
|
getCacheIDFromDocLocation | public String getCacheIDFromDocLocation(String docLocation, String currentWorkingDirectory) throws MDLException(Code) | | Method to assign a unique identifier to an MDL document to access
it from the cache. This could be the absolute path to the MDL file,
or a combination of variant name and message or segment name or any
other unique identifier.
Parameters: docLocation - Parameters: currentWorkingDirectory - |
getCacheIDFromFormatSpec | public String getCacheIDFromFormatSpec(String formatSpec) throws MDLException(Code) | | Method to assign a unique identifier to an MDL document to access
it from the cache. This could be the absolute path to the MDL file,
or a combination of variant name and message or segment name or any
other unique identifier.
Parameters: formatSpec - |
resolveDocLocation | public InputSource resolveDocLocation(String docLocation, String currentWorkingDir) throws MDLException(Code) | | Method used to return a new InputSource for the MDL document referenced
by docLocation. The currentWorkingDir parameter may be used as a clue
to resolve relative paths in docLocation.
Parameters: docLocation - The location of the MDL file to load. This may be anabsolute path or relative path. Parameters: currentWorkingDir - The path to use as the current working directory. a parsable InputSource that references the MDL document. |
resolveFormatSpec | public InputSource resolveFormatSpec(String formatSpec) throws MDLException(Code) | | Method used to resolve a new InputSource for the MDL document referenced
by a format specification. The format specification is usually of the form:
projName::src/formats/foldername/def.mdl:messageName
with some variations for specialized formats. This method should
return an InputSource for the MDL document defining the specified message.
Parameters: formatSpec - |
|
|