io.atlasmap.java.core.JavaFieldWriter.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4?
? ] ? ?
? ] ? ? ? ] ? ] ? ] ? ? ? ? ? ? ?
? ?
D ?
?
?
? ? ? ?
?
?
% ? ? ?
?
? ?
% ?
? ?
? ?
? ?
? ? ? ? ? ? ? ? ] ? ? ? ?
( ? ?
( ?
( ?
( ? ? ? ?
] ?
?
? ?
? ?
? ?
? ? ? ? ?
? ? ]
? A A
D
?
H
J
D
?
?
?
]
]
]
]
?
?!"#$%
&'( LOG Lorg/slf4j/Logger;
rootObject Ljava/lang/Object;
writerUtil +Lio/atlasmap/java/core/JavaFieldWriterUtil; converter ,Lio/atlasmap/java/core/TargetValueConverter; fieldParentQueue Ljava/util/Map; Signature 9Ljava/util/Map; collectionType Lio/atlasmap/v2/CollectionType; collectionItemClass Ljava/lang/Class; Ljava/lang/Class<*>; .(Lio/atlasmap/java/core/JavaFieldWriterUtil;)V Code LineNumberTable LocalVariableTable this 'Lio/atlasmap/java/core/JavaFieldWriter; util prepareParentObject :(Lio/atlasmap/spi/AtlasInternalSession;)Ljava/lang/Object; adjusted item childObject segmentContext SegmentContext InnerClasses +Lio/atlasmap/core/AtlasPath$SegmentContext; path Lio/atlasmap/core/AtlasPath; rootSegment parentObject t Ljava/lang/Throwable; session &Lio/atlasmap/spi/AtlasInternalSession; targetField Lio/atlasmap/v2/Field;
StackMapTable ? ? ?)%* ?
Exceptions populateTargetFieldValue ;(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;)V sourceField lookupTable Lio/atlasmap/v2/LookupTable; enqueueFieldAndParent +(Lio/atlasmap/v2/Field;Ljava/lang/Object;)V field
commitWriting )(Lio/atlasmap/spi/AtlasInternalSession;)V
collection lastSegment targetClassName Ljava/lang/String; e Entry Ljava/util/Map$Entry; LocalVariableTypeTable ?Ljava/util/Map$Entry;+ write
getRootObject ()Ljava/lang/Object;
setRootObject (Ljava/lang/Object;)V setTargetValueConverter /(Lio/atlasmap/java/core/TargetValueConverter;)V setCollectionType "(Lio/atlasmap/v2/CollectionType;)V type setCollectionItemClass (Ljava/lang/Class;)V clazz (Ljava/lang/Class<*>;)V writeDocumentToString '(ZLjava/lang/Object;)Ljava/lang/String; result Ljava/lang/Exception; stripSpaces Z object$ ()V
SourceFile JavaFieldWriter.java q ? b c java/util/LinkedHashMap h i,- m l m n o d e*.0123 io/atlasmap/api/AtlasException Target field cannot be null q4 io/atlasmap/core/AtlasPath56789:; "java/lang/IllegalArgumentException (A root object must be set before process<=>? KCollection item class must be specified to handle topmost collection, path= java/lang/Object@6+ABCDEFGHGIJKLMNO)P;Q ? )io/atlasmap/core/AtlasPath$SegmentContext ` aRS; java/lang/StringBuilder Now processing segment: TUTVW4 Parent object is currently: ? ?X=YGZG[\I] java/lang/Throwable 1Error occured while preparing parent object for: W^ q_`3ab f gcdefghijk java/util/Map$Entryl ?m ? io/atlasmap/v2/Fieldnop\ io/atlasmap/java/v2/JavaFieldq6 !io/atlasmap/java/v2/JavaEnumFieldrstuvw;xyZz{ ? y z ? ? ? ? ? ?
|
|} > *?< >< java/lang/Exception %io/atlasmap/java/core/JavaFieldWriter~? io/atlasmap/spi/AtlasFieldWriter java/util/Iterator $io/atlasmap/spi/AtlasInternalSession java/lang/String io/atlasmap/v2/CollectionType NONE head Head -()Lio/atlasmap/spi/AtlasInternalSession$Head; )io/atlasmap/spi/AtlasInternalSession$Head getTargetField ()Lio/atlasmap/v2/Field; (Ljava/lang/String;)V getPath ()Ljava/lang/String; isRoot ()Ljava/lang/Boolean; java/lang/Boolean booleanValue ()Z getRootSegment -()Lio/atlasmap/core/AtlasPath$SegmentContext; getCollectionType !()Lio/atlasmap/v2/CollectionType; toString format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; getCollectionIndex ()Ljava/lang/Integer; )io/atlasmap/java/core/JavaFieldWriterUtil getCollectionItem Q(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object; adjustCollectionSize createComplexCollectionItem b(Ljava/lang/Object;Ljava/lang/Class;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object; getSegments (Z)Ljava/util/List; java/util/List iterator ()Ljava/util/Iterator; hasNext next org/slf4j/Logger isDebugEnabled append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; debug getLastSegment getChildObject createComplexChildObject setChildObject R(Ljava/lang/Object;Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)V c(Ljava/lang/Object;Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/Object; *(Ljava/lang/String;Ljava/lang/Throwable;)V (Ljava/lang/Throwable;)V getSourceField getLookupTable ()Lio/atlasmap/v2/LookupTable; *io/atlasmap/java/core/TargetValueConverter populateTargetField ?(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/v2/LookupTable;Lio/atlasmap/v2/Field;Ljava/lang/Object;Lio/atlasmap/v2/Field;)V
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; entrySet ()Ljava/util/Set;
java/util/Set getValue getKey convertTargetValue Q(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;Lio/atlasmap/v2/Field;)V setCollectionItem getClassName getFieldType ()Lio/atlasmap/v2/FieldType; io/atlasmap/v2/FieldType COMPLEX Lio/atlasmap/v2/FieldType; isEmpty loadClass %(Ljava/lang/String;)Ljava/lang/Class; b(Ljava/lang/Object;Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Class;)Ljava/lang/Object; clear
replaceAll 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! ] _ ` a b c d e f g h i j k l m n o j p
q r s r &*? *? *? Y? ? *? ? *? *+? ? t 0 ) , - . 1 % 2 u &