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 io.atlasmap.spi.AtlasCollectionHelper |
createCollectionHelper(io.atlasmap.spi.AtlasFieldActionService fieldActionService) |
io.atlasmap.xml.v2.XmlField |
createField() |
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, getDocName, 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, setDocName, setFieldActionService, setMode, setStatisticsEnabled, setUri
public void init() throws io.atlasmap.api.AtlasException
init
in interface io.atlasmap.spi.AtlasModule
init
in class io.atlasmap.core.BaseAtlasModule
io.atlasmap.api.AtlasException
public void processPreValidation(io.atlasmap.spi.AtlasInternalSession atlasSession) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
protected XmlValidationService createValidationService()
public void processPreSourceExecution(io.atlasmap.spi.AtlasInternalSession session) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
protected Document convertToXmlDocument(String source, boolean namespaced) throws io.atlasmap.api.AtlasException
source
- some document which can be converted to XMLio.atlasmap.api.AtlasException
public void processPreTargetExecution(io.atlasmap.spi.AtlasInternalSession session) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
public void readSourceValue(io.atlasmap.spi.AtlasInternalSession session) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
public void populateTargetField(io.atlasmap.spi.AtlasInternalSession session) throws io.atlasmap.api.AtlasException
populateTargetField
in interface io.atlasmap.spi.AtlasModule
populateTargetField
in class io.atlasmap.core.BaseAtlasModule
io.atlasmap.api.AtlasException
protected io.atlasmap.spi.AtlasCollectionHelper createCollectionHelper(io.atlasmap.spi.AtlasFieldActionService fieldActionService)
createCollectionHelper
in class io.atlasmap.core.BaseAtlasModule
public void writeTargetValue(io.atlasmap.spi.AtlasInternalSession session) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
public void processPostSourceExecution(io.atlasmap.spi.AtlasInternalSession session) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
public void processPostTargetExecution(io.atlasmap.spi.AtlasInternalSession session) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
protected String convertFromXmlDocument(Document xml) throws io.atlasmap.api.AtlasException
xml
- XML document written by XML field writerio.atlasmap.api.AtlasException
public Boolean isSupportedField(io.atlasmap.v2.Field field)
isSupportedField
in interface io.atlasmap.spi.AtlasModule
isSupportedField
in class io.atlasmap.core.BaseAtlasModule
public io.atlasmap.v2.Field cloneField(io.atlasmap.v2.Field field) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
public io.atlasmap.xml.v2.XmlField createField()
protected io.atlasmap.xml.core.XmlIOHelper getXmlIOHelper()
Copyright © 2017–2021 Red Hat, Inc.. All rights reserved.