public class XmlModule
extends io.atlasmap.core.BaseAtlasModule
| Constructor and Description |
|---|
XmlModule() |
| Modifier and Type | Method and Description |
|---|---|
io.atlasmap.v2.Field |
cloneField(io.atlasmap.v2.Field field) |
protected String |
convertFromXmlDocument(Document xml)
Convert a target XML document into some format.
|
protected Document |
convertToXmlDocument(String source,
boolean namespaced)
Convert a source document into XML.
|
protected XmlValidationService |
createValidationService() |
protected io.atlasmap.xml.core.XmlIOHelper |
getXmlIOHelper() |
void |
init() |
Boolean |
isSupportedField(io.atlasmap.v2.Field field) |
void |
populateTargetField(io.atlasmap.spi.AtlasInternalSession session) |
void |
processPostSourceExecution(io.atlasmap.spi.AtlasInternalSession session) |
void |
processPostTargetExecution(io.atlasmap.spi.AtlasInternalSession session) |
void |
processPreSourceExecution(io.atlasmap.spi.AtlasInternalSession session) |
void |
processPreTargetExecution(io.atlasmap.spi.AtlasInternalSession session) |
void |
processPreValidation(io.atlasmap.spi.AtlasInternalSession atlasSession) |
void |
readSourceValue(io.atlasmap.spi.AtlasInternalSession session) |
void |
writeTargetValue(io.atlasmap.spi.AtlasInternalSession session) |
applySourceFieldActions, applyTargetFieldActions, destroy, getClassLoader, getClassName, getCollectionHelper, getConversionService, getDataFormats, getDataSourceMetadata, getDocId, getFieldActionService, getMode, getModeName, getName, getPackageNames, getSourceCount, getSourceErrorCount, getSourceMaxExecutionTime, getSourceMinExecutionTime, getSourceSuccessCount, getSourceTotalExecutionTime, getTargetCount, getTargetErrorCount, getTargetMaxExecutionTime, getTargetMinExecutionTime, getTargetSuccessCount, getTargetTotalExecutionTime, getUri, getUriDataType, getUriParameters, getUuid, getVersion, isAutomaticallyProcessOutputFieldActions, isSourceSupported, isStatisticsEnabled, isStatisticsSupported, isTargetSupported, listSupportedModes, processLookupField, processPostValidation, readAndResetStatistics, setAutomaticallyProcessOutputFieldActions, setClassLoader, setConversionService, setDataSourceMetadata, setDocId, setFieldActionService, setMode, setStatisticsEnabled, setUripublic void init()
throws io.atlasmap.api.AtlasException
init in interface io.atlasmap.spi.AtlasModuleinit in class io.atlasmap.core.BaseAtlasModuleio.atlasmap.api.AtlasExceptionpublic void processPreValidation(io.atlasmap.spi.AtlasInternalSession atlasSession)
throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionprotected XmlValidationService createValidationService()
public void processPreSourceExecution(io.atlasmap.spi.AtlasInternalSession session)
throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionprotected Document convertToXmlDocument(String source, boolean namespaced) throws io.atlasmap.api.AtlasException
source - some document which can be converted to XMLio.atlasmap.api.AtlasExceptionpublic void processPreTargetExecution(io.atlasmap.spi.AtlasInternalSession session)
throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionpublic void readSourceValue(io.atlasmap.spi.AtlasInternalSession session)
throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionpublic void populateTargetField(io.atlasmap.spi.AtlasInternalSession session)
throws io.atlasmap.api.AtlasException
populateTargetField in interface io.atlasmap.spi.AtlasModulepopulateTargetField in class io.atlasmap.core.BaseAtlasModuleio.atlasmap.api.AtlasExceptionpublic void writeTargetValue(io.atlasmap.spi.AtlasInternalSession session)
throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionpublic void processPostSourceExecution(io.atlasmap.spi.AtlasInternalSession session)
throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionpublic void processPostTargetExecution(io.atlasmap.spi.AtlasInternalSession session)
throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionprotected String convertFromXmlDocument(Document xml) throws io.atlasmap.api.AtlasException
xml - XML document written by XML field writerio.atlasmap.api.AtlasExceptionpublic Boolean isSupportedField(io.atlasmap.v2.Field field)
isSupportedField in interface io.atlasmap.spi.AtlasModuleisSupportedField in class io.atlasmap.core.BaseAtlasModulepublic io.atlasmap.v2.Field cloneField(io.atlasmap.v2.Field field)
throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionprotected io.atlasmap.xml.core.XmlIOHelper getXmlIOHelper()
Copyright © 2021 JBoss by Red Hat. All rights reserved.