io.atlasmap.xml.core.XmlFieldReader.class Maven / Gradle / Ivy
???? 4@
? ?
? ?
. !"
.#
G$ %&
'()*+
,
-./0
1
,
?2 ?3456
78
9
:4;
?<=
",>?
?@
"A
"B
CD
EFGHFIFJK
.L
.MN
17
"OP
QR
.S TU
?VFW
XYZ
?[
\]
;^
_`
Ga
bc
;d
?e
bf
bgh Si
Gjk
l
;m
_nFopq
;r stu
;v
Qwxy
z
X{
[|}
[,
[~
[:
.F?????
"?
??F?
#
"?
"~
":
S T?
?
;? S? S?
M
????
?
#?
???
z? ??
?j
z??
??
??
?
b??
???
??
???
???? LOG Lorg/slf4j/Logger; conversionService (Lio/atlasmap/spi/AtlasConversionService; document Lorg/w3c/dom/Document; B(Ljava/lang/ClassLoader;Lio/atlasmap/spi/AtlasConversionService;)V Code LineNumberTable LocalVariableTable this %Lio/atlasmap/xml/core/XmlFieldReader; cl Ljava/lang/ClassLoader; Q(Ljava/lang/ClassLoader;Lio/atlasmap/spi/AtlasConversionService;Ljava/util/Map;)V
namespaces Ljava/util/Map; LocalVariableTypeTable 5Ljava/util/Map; Signature w(Ljava/lang/ClassLoader;Lio/atlasmap/spi/AtlasConversionService;Ljava/util/Map;)V read >(Lio/atlasmap/spi/AtlasInternalSession;)Lio/atlasmap/v2/Field;
fieldGroup Lio/atlasmap/v2/FieldGroup; session &Lio/atlasmap/spi/AtlasInternalSession; field Lio/atlasmap/v2/Field;
xmlNamespaces Ljava/util/Optional; path Lio/atlasmap/xml/core/XmlPath; fields Ljava/util/List; 8Ljava/util/Optional; (Ljava/util/List;
StackMapTableK?=?
Exceptions getFieldsForPath ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/util/Optional;Lorg/w3c/dom/Element;Lio/atlasmap/v2/Field;Lio/atlasmap/xml/core/XmlPath;I)Ljava/util/List; group xmlField Lio/atlasmap/xml/v2/XmlField;
rootNamespace
attrFields childFields arrayFields itemField itemPath Lio/atlasmap/core/AtlasPath; i I node Lorg/w3c/dom/Element; depth segments segment XmlSegmentContext InnerClasses 0Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext; fieldName Ljava/lang/String; fieldNamespace namespace children index Ljava/lang/Integer; (Ljava/util/Optional; BLjava/util/List; 'Ljava/util/List;Z??uh? ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/util/Optional;Lorg/w3c/dom/Element;Lio/atlasmap/v2/Field;Lio/atlasmap/xml/core/XmlPath;I)Ljava/util/List; populateChildFields ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/util/Optional;Lorg/w3c/dom/Element;Lio/atlasmap/v2/FieldGroup;Lio/atlasmap/core/AtlasPath;)V
childGroup childPath child newChildren?/} ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/util/Optional;Lorg/w3c/dom/Element;Lio/atlasmap/v2/FieldGroup;Lio/atlasmap/core/AtlasPath;)V populateCollectionItems }(Lio/atlasmap/spi/AtlasInternalSession;Ljava/util/Optional;Ljava/util/List;Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/FieldGroup; itemGroup elements? SegmentContext =Ljava/util/List; ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/util/Optional;Ljava/util/List;Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/FieldGroup; copyValue ?(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;Lorg/w3c/dom/Element;Lio/atlasmap/xml/v2/XmlField;)V
attributeName value convertedValue Ljava/lang/Object; e *Lio/atlasmap/api/AtlasConversionException; sc? setDocument (Lorg/w3c/dom/Document;)V getSourceNamespaces R(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/v2/Field;)Ljava/util/Optional; source Lio/atlasmap/v2/DataSource;
dataSource mapping Lio/atlasmap/v2/AtlasMapping; dataSources
xmlDataSource "Lio/atlasmap/xml/v2/XmlDataSource; -Ljava/util/List;??? v(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/v2/Field;)Ljava/util/Optional; getNamespace <(Ljava/util/Optional;Ljava/lang/String;)Ljava/util/Optional; xmlNamespace !Lio/atlasmap/xml/v2/XmlNamespace; namespaceAlias? t(Ljava/util/Optional;Ljava/lang/String;)Ljava/util/Optional; ()V
SourceFile XmlFieldReader.java ?? ? ? ???????? ? ??? 9Cannot read field '%s' of document '%s', document is null java/lang/Object?????????? io/atlasmap/api/AtlasException "java/lang/IllegalArgumentException Argument 'field' cannot be null ?? ?? io/atlasmap/xml/v2/XmlField io/atlasmap/v2/FieldGroup Unsupported field type '%s'??? ? ? ???? java/lang/StringBuilder ? Reading source value for field: ?????? ? ? io/atlasmap/xml/core/XmlPath??? ? ??????????????????? io/atlasmap/v2/Field???? java/util/ArrayList?? $depth '%s' exceeds segment size '%s'???????? ? ?????? .io/atlasmap/xml/core/XmlPath$XmlSegmentContext ? ??? Now processing segment: ??????????
?
???? java/lang/String?? ? Skipping root segment: ??? =Skipping source value set, couldn't find children with name ' ', for segment:
org/w3c/dom/Element
? 9Skipping source value set, children list can't fit index , children list size: ? io/atlasmap/core/AtlasPath???? ? ??? !?"#$?%?&'( (io/atlasmap/api/AtlasConversionException 1Failed to convert field value '%s' into type '%s')*?+? io/atlasmap/v2/DataSource,-./01? io/atlasmap/xml/v2/XmlDataSource23?456789 io/atlasmap/xml/v2/XmlNamespaces:? io/atlasmap/xml/v2/XmlNamespace;?<? #io/atlasmap/xml/core/XmlFieldReader=>? (io/atlasmap/xml/core/XmlFieldTransformer io/atlasmap/spi/AtlasFieldReader java/util/Optional java/util/List $io/atlasmap/spi/AtlasInternalSession java/lang/Integer java/util/Iterator )io/atlasmap/core/AtlasPath$SegmentContext io/atlasmap/v2/AtlasMapping (Ljava/lang/ClassLoader;)V )(Ljava/lang/ClassLoader;Ljava/util/Map;)V head Head -()Lio/atlasmap/spi/AtlasInternalSession$Head; )io/atlasmap/spi/AtlasInternalSession$Head getSourceField ()Lio/atlasmap/v2/Field; getDocId ()Ljava/lang/String; getPath format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; io/atlasmap/v2/AuditStatus ERROR 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 (Ljava/lang/String;)V (Ljava/lang/Throwable;)V getClass ()Ljava/lang/Class; seedDocumentNamespaces org/slf4j/Logger isDebugEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString debug org/w3c/dom/Document getDocumentElement ()Lorg/w3c/dom/Element;
hasCollection isIndexedCollection io/atlasmap/v2/AtlasModelFactory createFieldGroupFrom 4(Lio/atlasmap/v2/Field;Z)Lio/atlasmap/v2/FieldGroup; getField ()Ljava/util/List; addAll (Ljava/util/Collection;)Z setSourceField C(Lio/atlasmap/v2/Field;)Lio/atlasmap/spi/AtlasInternalSession$Head; size ()I get (I)Ljava/lang/Object; getValue ()Ljava/lang/Object; setValue (Ljava/lang/Object;)V getXmlSegments (Z)Ljava/util/List; valueOf (I)Ljava/lang/Integer; getFieldType ()Lio/atlasmap/v2/FieldType; io/atlasmap/v2/FieldType COMPLEX Lio/atlasmap/v2/FieldType; add (Ljava/lang/Object;)Z 'io/atlasmap/xml/v2/AtlasXmlModelFactory
cloneField =(Lio/atlasmap/xml/v2/XmlField;Z)Lio/atlasmap/xml/v2/XmlField; setIndex (Ljava/lang/Integer;)V getName io/atlasmap/xml/core/XmlIOHelper getNodeNameWithoutNamespaceAlias &(Lorg/w3c/dom/Node;)Ljava/lang/String;
startsWith (Ljava/lang/String;)Z empty ()Ljava/util/Optional; isPresent getNamespaceURI equals -(Ljava/lang/Object;)Ljava/lang/StringBuilder; isAttribute getChildrenWithNameStripAlias M(Ljava/lang/String;Ljava/util/Optional;Lorg/w3c/dom/Element;)Ljava/util/List; isEmpty getCollectionType !()Lio/atlasmap/v2/CollectionType; io/atlasmap/v2/CollectionType NONE Lio/atlasmap/v2/CollectionType; getCollectionIndex ()Ljava/lang/Integer; intValue (I)Ljava/lang/StringBuilder; cloneFieldGroup 8(Lio/atlasmap/v2/FieldGroup;)Lio/atlasmap/v2/FieldGroup; setCollectionIndexRecursively (Lio/atlasmap/v2/FieldGroup;II)V setCollectionIndex A(ILjava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; setPath iterator ()Ljava/util/Iterator; hasNext next getLastSegment 2()Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext; clear getSegments STRING setFieldType (Lio/atlasmap/v2/FieldType;)V getQName getAttribute &(Ljava/lang/String;)Ljava/lang/String; getTextContent getFormat &io/atlasmap/spi/AtlasConversionService convertType d(Ljava/lang/Object;Ljava/lang/String;Lio/atlasmap/v2/FieldType;Ljava/lang/String;)Ljava/lang/Object;
getMapping ()Lio/atlasmap/v2/AtlasMapping;
getDataSource getDataSourceType !()Lio/atlasmap/v2/DataSourceType; io/atlasmap/v2/DataSourceType SOURCE Lio/atlasmap/v2/DataSourceType; getId java/lang/Class
isInstance cast &(Ljava/lang/Object;)Ljava/lang/Object; getXmlNamespaces $()Lio/atlasmap/xml/v2/XmlNamespaces; of ((Ljava/lang/Object;)Ljava/util/Optional; getXmlNamespace getAlias getUri org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? Q *+? *,? ? ? <