io.atlasmap.xml.module.XmlModule.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4?
?R
?ST
?U
V ?WXY ?Z[\]^_
`
?a
bXc
defg\hi
Rj
kfl
mn
o\pq
?r\st
?u
?v
w
?x
y
zX{|}~
( ??
??
??????
(??
??
???
6?
6?X??
(?
??
??
????
(?
??
????\?
??f?????? ??
K?
???
K?
(?
O?
O??
TR
??f??
X?
X????
\?X??X???X?
{r?
{? ??
6??
{?
{?\????
m`
m?
m?
????
*???
{??
v?
{?
??f???
????
???
?R
??
????
??
??f?
m?
mo
???X?
\?X??
\?
??
??X??
??X??
??
?
??
??
??
??
??
?? ??
???
?V
?
\
?
?
D\\
LOG Lorg/slf4j/Logger; ioHelper "Lio/atlasmap/xml/core/XmlIOHelper; ()V Code LineNumberTable LocalVariableTable this "Lio/atlasmap/xml/module/XmlModule; init
Exceptions processPreValidation )(Lio/atlasmap/spi/AtlasInternalSession;)V atlasSession &Lio/atlasmap/spi/AtlasInternalSession; xmlValidations Ljava/util/List; LocalVariableTypeTable -Ljava/util/List;
StackMapTable createValidationService /()Lio/atlasmap/xml/module/XmlValidationService; xmlValidationService -Lio/atlasmap/xml/module/XmlValidationService; processPreSourceExecution param Ljava/lang/String; session sourceDocument Ljava/lang/Object; sourceDocumentString enableNamespaces Z sourceXmlDocument Lorg/w3c/dom/Document; reader %Lio/atlasmap/xml/core/XmlFieldReader;~|? convertToXmlDocument +(Ljava/lang/String;Z)Lorg/w3c/dom/Document; dbf *Ljavax/xml/parsers/DocumentBuilderFactory; b #Ljavax/xml/parsers/DocumentBuilder; e Ljava/lang/Exception; source
namespaced? processPreTargetExecution ds Lio/atlasmap/v2/DataSource; ns !Lio/atlasmap/xml/v2/XmlNamespace; xmlNs "Lio/atlasmap/xml/v2/XmlNamespaces; template nsMap Ljava/util/Map; writer %Lio/atlasmap/xml/core/XmlFieldWriter; 5Ljava/util/Map;? ? readSourceValue sourceField Lio/atlasmap/v2/Field;? populateTargetField index Ljava/lang/Integer; subFields sourceSubField targetSubField Lio/atlasmap/xml/v2/XmlField; i I previousTargetSubField targetField path Lio/atlasmap/xml/core/XmlPath; targetFieldGroup Lio/atlasmap/v2/FieldGroup; (Ljava/util/List;!??"? writeTargetValue f processPostSourceExecution processPostTargetExecution doc targetDocumentString convertFromXmlDocument *(Lorg/w3c/dom/Document;)Ljava/lang/String; xml isSupportedField +(Lio/atlasmap/v2/Field;)Ljava/lang/Boolean; field
cloneField .(Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/Field; getXmlIOHelper $()Lio/atlasmap/xml/core/XmlIOHelper;
enforceSchema .(Lorg/w3c/dom/Document;)Lorg/w3c/dom/Document; bytes [B schemaParser 5Lio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser; schemaSet Lcom/sun/xml/xsom/XSSchemaSet;
sourceRoot Lorg/w3c/dom/Element; namespaceUri localName rootDecl Lcom/sun/xml/xsom/XSElementDecl; targetDoc1?#$%&
SourceFile XmlModule.java RuntimeVisibleAnnotations #Lio/atlasmap/spi/AtlasModuleDetail; name XmlModule uri atlas:xml modes SOURCE TARGET dataFormats configPackages io.atlasmap.xml.v2 ? ? ? ? io/atlasmap/xml/core/XmlIOHelper'( ?) ? ?!*+ ? ? ;Invalid session: Session and AtlasMapping must be specified&,- (io/atlasmap/api/AtlasValidationException Invalid session ?- ? ?./012345678 java/lang/StringBuilder Detected 9:;<9= xml validation notices>?@- "{}: processPreValidation completedA?@B +io/atlasmap/xml/module/XmlValidationServiceCDEF ?GHIJKL-MN java/lang/String .Null or non-String source document: docId='%s' java/lang/ObjectOPQRSTUVWX disableNamespaces YZ true[\ Disabling namespace support]^Z ? ? #io/atlasmap/xml/core/XmlFieldReader ?_`abc '{}: processPreSourceExecution completedd8efghijk java/io/ByteArrayInputStream UTF-8lm ?nopq java/lang/Exception Failed to parse XML documentrstu4vwx8yz io/atlasmap/v2/DataSource{N|}~? io/atlasmap/xml/v2/XmlDataSource?????? java/util/HashMap?4 io/atlasmap/xml/v2/XmlNamespace?????? #io/atlasmap/xml/core/XmlFieldWriter ???? &{}: processPreTargetExcution completed??????? "Source document '%s' doesn't exist???S?? [{}: processSourceFieldMapping completed: SourceField:[docId={}, path={}, type={}, value={}]???z@??? io/atlasmap/xml/core/XmlPath?8?8???????????? io/atlasmap/v2/FieldGroup?4??"?<Y? io/atlasmap/v2/Field MThe number of source fields (%s) is smaller than target index (%s) - ignoring???? ? io/atlasmap/xml/v2/XmlField?????????????- ?{}: processTargetFieldMapping completed: SourceField:[docId={}, path={}, type={}, value={}], TargetField:[docId={}, path={}, type={}, value={}]??? ??? ({}: processPostSourceExecution completed??./$%?B 9No target document created for DataSource:[id=%s, uri=%s]?? ({}: processPostTargetExecution completed,-??'(??8??*??????????? 3io/atlasmap/xml/core/schema/AtlasXmlSchemaSetParserp???$?? javax/xml/XMLConstants ????#?? @Declaration of the root element '{}' was not found in the schema :rB?? 3io/atlasmap/xml/core/schema/AtlasRewritingXSVisitor ??%?? >Failed to load XML schema for the document '{}': {} - ignoring??r?@s io/atlasmap/xml/module/XmlModule??? io/atlasmap/core/BaseAtlasModule io/atlasmap/api/AtlasException java/util/List org/w3c/dom/Document io/atlasmap/xml/v2/XmlNamespaces java/util/Iterator
java/util/Map $io/atlasmap/spi/AtlasInternalSession java/lang/Integer com/sun/xml/xsom/XSSchemaSet org/w3c/dom/Element com/sun/xml/xsom/XSElementDecl org/slf4j/Logger getClassLoader ()Ljava/lang/ClassLoader; (Ljava/lang/ClassLoader;)V
getMapping ()Lio/atlasmap/v2/AtlasMapping; error (Ljava/lang/String;)V validateMapping /(Lio/atlasmap/v2/AtlasMapping;)Ljava/util/List; getValidations ()Lio/atlasmap/v2/Validations; io/atlasmap/v2/Validations
getValidation ()Ljava/util/List; addAll (Ljava/util/Collection;)Z isDebugEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; size ()I (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; debug getDocId '(Ljava/lang/String;Ljava/lang/Object;)V getConversionService *()Lio/atlasmap/spi/AtlasConversionService; getFieldActionService +()Lio/atlasmap/spi/AtlasFieldActionService; T(Lio/atlasmap/spi/AtlasConversionService;Lio/atlasmap/spi/AtlasFieldActionService;)V getMode #()Lio/atlasmap/spi/AtlasModuleMode; setMode $(Lio/atlasmap/spi/AtlasModuleMode;)V setDocId getSourceDocument &(Ljava/lang/String;)Ljava/lang/Object; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; io/atlasmap/v2/AuditStatus WARN Lio/atlasmap/v2/AuditStatus; io/atlasmap/core/AtlasUtil addAudit ?(Lio/atlasmap/api/AtlasSession;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/atlasmap/v2/AuditStatus;Ljava/lang/String;)V getUriParameters ()Ljava/util/Map; get &(Ljava/lang/Object;)Ljava/lang/Object; equalsIgnoreCase (Ljava/lang/String;)Z java/lang/Class cast B(Ljava/lang/ClassLoader;Lio/atlasmap/spi/AtlasConversionService;)V setDocument (Lorg/w3c/dom/Document;)V setFieldReader 7(Ljava/lang/String;Lio/atlasmap/spi/AtlasFieldReader;)V isEmpty (javax/xml/parsers/DocumentBuilderFactory newInstance ,()Ljavax/xml/parsers/DocumentBuilderFactory; setNamespaceAware (Z)V newDocumentBuilder %()Ljavax/xml/parsers/DocumentBuilder; getBytes (Ljava/lang/String;)[B ([B)V !javax/xml/parsers/DocumentBuilder parse -(Ljava/io/InputStream;)Lorg/w3c/dom/Document; warn *(Ljava/lang/String;Ljava/lang/Throwable;)V io/atlasmap/v2/AtlasMapping
getDataSource iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; io/atlasmap/v2/DataSourceType Lio/atlasmap/v2/DataSourceType; getDataSourceType !()Lio/atlasmap/v2/DataSourceType; equals (Ljava/lang/Object;)Z getId getXmlNamespaces $()Lio/atlasmap/xml/v2/XmlNamespaces; getTemplate getXmlNamespace getAlias getUri put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ;(Ljava/lang/ClassLoader;Ljava/util/Map;Ljava/lang/String;)V setFieldWriter 7(Ljava/lang/String;Lio/atlasmap/spi/AtlasFieldWriter;)V head Head InnerClasses -()Lio/atlasmap/spi/AtlasInternalSession$Head; )io/atlasmap/spi/AtlasInternalSession$Head getSourceField ()Lio/atlasmap/v2/Field; getFieldReader G(Ljava/lang/String;Ljava/lang/Class;)Lio/atlasmap/spi/AtlasFieldReader; getPath ERROR read >(Lio/atlasmap/spi/AtlasInternalSession;)Lio/atlasmap/v2/Field; getFieldType ()Lio/atlasmap/v2/FieldType; getValue ((Ljava/lang/String;[Ljava/lang/Object;)V getTargetField
hasCollection isIndexedCollection io/atlasmap/v2/AtlasModelFactory createFieldGroupFrom 4(Lio/atlasmap/v2/Field;Z)Lio/atlasmap/v2/FieldGroup; setTargetField C(Lio/atlasmap/v2/Field;)Lio/atlasmap/spi/AtlasInternalSession$Head; getClass ()Ljava/lang/Class; &io/atlasmap/spi/AtlasConversionService fieldTypeFromClass -(Ljava/lang/Class;)Lio/atlasmap/v2/FieldType; setFieldType (Lio/atlasmap/v2/FieldType;)V getField getIndex ()Ljava/lang/Integer; intValue (I)Ljava/lang/Object; valueOf (I)Ljava/lang/Integer; setSourceField 'io/atlasmap/xml/v2/AtlasXmlModelFactory copyField 0(Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Z)V getCollectionHelper )()Lio/atlasmap/spi/AtlasCollectionHelper; %io/atlasmap/spi/AtlasCollectionHelper copyCollectionIndexes [(Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;)V add setVacantCollectionIndex? SegmentContext @(Ljava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; setPath getFieldWriter G(Ljava/lang/String;Ljava/lang/Class;)Lio/atlasmap/spi/AtlasFieldWriter; write removeFieldReader 6(Ljava/lang/String;)Lio/atlasmap/spi/AtlasFieldReader; getDocument ()Lorg/w3c/dom/Document; setTargetDocument removeFieldWriter 6(Ljava/lang/String;)Lio/atlasmap/spi/AtlasFieldWriter; writeDocumentToString '(ZLorg/w3c/dom/Node;)Ljava/lang/String; java/lang/Boolean booleanValue (Z)Ljava/lang/Boolean; =(Lio/atlasmap/xml/v2/XmlField;Z)Lio/atlasmap/xml/v2/XmlField; getDataSourceMetadata %()Lio/atlasmap/v2/DataSourceMetadata; !io/atlasmap/v2/DataSourceMetadata getInspectionType !()Lio/atlasmap/v2/InspectionType; io/atlasmap/v2/InspectionType SCHEMA Lio/atlasmap/v2/InspectionType; getSpecification ()[B 5(Ljava/io/InputStream;)Lcom/sun/xml/xsom/XSSchemaSet; getDocumentElement ()Lorg/w3c/dom/Element; getNamespaceURI getLocalName
getTagName getElementDecl F(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/xml/xsom/XSElementDecl; newDocument '(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V visit '(Lcom/sun/xml/xsom/visitor/XSVisitor;)V
getMessage 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;? )io/atlasmap/core/AtlasPath$SegmentContext io/atlasmap/core/AtlasPath ! ? ? ? ? ? ? ? ? ? / *? ? ? ? ? ? ? ? ? ? F *? *? Y*? ? ? ? ? F G H ? ? ? ? ? ? ? ? ?+? +? ? ? ?
? Y?
?*? +? ? M+? ? ,? W? ? ? (? ? Y? ? ,? ? ? ? ? ? ? ? ? *? ? ? ? *
L
M N ! Q / R ? T J U o X z Y ? [ ? ? ? ? ? ? ? / Z ? ? ? / Z ? ? ?
? M ? ? ? ? ? ? b "? Y*? !*? "? #L+*? $? %+*? ? &+? ? ^ _ ` a ? " ? ? ? ? ? ? ? ? ?+*? ? ' MN6,?
,? (? #+*? )? *Y*? S? +? ,? -? G6*? ./? 0 ? (:? %1? 2? ? ? ?
? 3? 6(,? 4? (N*-? 5:? 6Y*? *? !? 7:? 8+*? ? 9 ? ? ? ? :*? ? ? ? V f g
h i j ) k - j ; n > o N p ] q h r r t u v x ? y ? z ? { ? } ? ~ ? ? ? R N 1 ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? > ? ? ? - ? ? ? ? ? ?? 6 ?? ? E ? ? ? ? ? ? ? ? =+?
+? ;? ??