io.atlasmap.xml.core.XmlFieldReader.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4;
? ?
? ?
?
?
!
"
#$
?%&'(
)*+
#
#,-./0/123
)4
#5
678
9
?:
?;<
2 = ?>
?@
)A-B
)C
?DE
?F-GHI
)J KL
)M-N
OP-QRS
T-U
V WX
Y
#Z
#[
\]^
\_
O`
#a
b
##
c
de f
)g h
i
jklm
n
G
op
oq
orst
u
fv
wxyz{|
}~
??
q? ??
??
q?
??
?
w?
?
?
??
}??
?
??
???? 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; sc XmlSegmentContext InnerClasses 0Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext; session &Lio/atlasmap/spi/AtlasInternalSession; field Lio/atlasmap/v2/Field; xmlField Lio/atlasmap/xml/v2/XmlField;
xmlNamespaces Ljava/util/Optional; lastSegment parentNodes Ljava/util/List; path Lio/atlasmap/xml/core/XmlPath; 8Ljava/util/Optional; 'Ljava/util/List;
StackMapTable????2?+?
Exceptions extractSegment f(Ljava/util/List;Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;Ljava/util/Optional;)Ljava/util/List; index Ljava/lang/Integer; childrenElementName Ljava/lang/String; namespaceAlias namespace children
parentNode Lorg/w3c/dom/Element; answer (Ljava/util/Optional;&?? ?(Ljava/util/List;Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;Ljava/util/Optional;)Ljava/util/List; readValue ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/util/List;Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;Lio/atlasmap/xml/v2/XmlField;)V subPath
attributeName convertedValue Ljava/lang/Object; e *Lio/atlasmap/api/AtlasConversionException; targetField value i I
fieldGroup Lio/atlasmap/v2/FieldGroup;?m ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/util/List;Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;Lio/atlasmap/xml/v2/XmlField;)V setDocument (Ljava/lang/String;Z)V dbf *Ljavax/xml/parsers/DocumentBuilderFactory; b #Ljavax/xml/parsers/DocumentBuilder; Ljava/lang/Exception; docString
namespaced Zy getSourceNamespaces Y(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/xml/v2/XmlField;)Ljava/util/Optional; source Lio/atlasmap/v2/DataSource;
dataSource mapping Lio/atlasmap/v2/AtlasMapping; dataSources
xmlDataSource "Lio/atlasmap/xml/v2/XmlDataSource; -Ljava/util/List;?? }(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/xml/v2/XmlField;)Ljava/util/Optional; getNamespace <(Ljava/util/Optional;Ljava/lang/String;)Ljava/util/Optional; xmlNamespace !Lio/atlasmap/xml/v2/XmlNamespace; 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??? ? ???? java/lang/StringBuilder ? ? Reading source value for field: ?????? ? ? org/w3c/dom/Element?????? io/atlasmap/xml/core/XmlPath?????????? .io/atlasmap/xml/core/XmlPath$XmlSegmentContext Now processing segment: ??????? Skipping root segment: ?? ? ? ? ? java/util/LinkedList Parent element is currently: ????????? ?? ? ? )Looking for children elements with name: ???? =Skipping source value set, couldn't find children with name ' ', for segment: ?????????????? 9Skipping source value set, children list can't fit index , children list size: ?????????????????????? ?? ?
?
? (io/atlasmap/api/AtlasConversionException 1Failed to convert field value '%s' into type '%s' java/io/ByteArrayInputStream UTF-8 ? java/lang/Exception Failed to parse XML document !"#?$?%& io/atlasmap/v2/DataSource'()*+,?-? io/atlasmap/xml/v2/XmlDataSource.?/0123??? io/atlasmap/xml/v2/XmlNamespaces4 io/atlasmap/xml/v2/XmlNamespace5?6? #io/atlasmap/xml/core/XmlFieldReader789 (io/atlasmap/xml/core/XmlFieldTransformer io/atlasmap/spi/AtlasFieldReader io/atlasmap/v2/Field $io/atlasmap/spi/AtlasInternalSession java/util/Optional java/util/List java/util/Iterator java/lang/String java/lang/Integer io/atlasmap/v2/FieldGroup 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 seedDocumentNamespaces (Lorg/w3c/dom/Document;)V java/lang/Class cast &(Ljava/lang/Object;)Ljava/lang/Object; org/slf4j/Logger isDebugEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString debug org/w3c/dom/Document getDocumentElement ()Lorg/w3c/dom/Element; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; getXmlSegments (Z)Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getName getParentSegmentOf SegmentContext X(Lio/atlasmap/core/AtlasPath$SegmentContext;)Lio/atlasmap/core/AtlasPath$SegmentContext;: )io/atlasmap/core/AtlasPath$SegmentContext isRoot -(Ljava/lang/Object;)Ljava/lang/StringBuilder; xmlHelper "Lio/atlasmap/xml/core/XmlIOHelper; io/atlasmap/xml/core/XmlIOHelper writeDocumentToString '(ZLorg/w3c/dom/Node;)Ljava/lang/String; isAttribute add (Ljava/lang/Object;)Z 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; addAll (Ljava/util/Collection;)Z intValue ()I size (I)Ljava/lang/StringBuilder; get (I)Ljava/lang/Object; getFieldType ()Lio/atlasmap/v2/FieldType; io/atlasmap/v2/FieldType STRING Lio/atlasmap/v2/FieldType; setFieldType (Lio/atlasmap/v2/FieldType;)V
hasCollection isIndexedCollection io/atlasmap/v2/AtlasModelFactory createFieldGroupFrom 3(Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/FieldGroup; setSourceField C(Lio/atlasmap/v2/Field;)Lio/atlasmap/spi/AtlasInternalSession$Head; copyField 0(Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Z)V valueOf (I)Ljava/lang/Integer; setVacantCollectionIndex @(Ljava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; setIndex (Ljava/lang/Integer;)V setPath getField ()Ljava/util/List; getTextContent getQName getAttribute &(Ljava/lang/String;)Ljava/lang/String; setValue (Ljava/lang/Object;)V getFormat &io/atlasmap/spi/AtlasConversionService convertType d(Ljava/lang/Object;Ljava/lang/String;Lio/atlasmap/v2/FieldType;Ljava/lang/String;)Ljava/lang/Object; (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
getMapping ()Lio/atlasmap/v2/AtlasMapping;
getDataSource empty ()Ljava/util/Optional; getDataSourceType !()Lio/atlasmap/v2/DataSourceType; io/atlasmap/v2/DataSourceType SOURCE Lio/atlasmap/v2/DataSourceType; equals getId
isInstance getXmlNamespaces $()Lio/atlasmap/xml/v2/XmlNamespaces; of ((Ljava/lang/Object;)Ljava/util/Optional; isPresent getXmlNamespace getAlias getUri org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; io/atlasmap/core/AtlasPath ! ? ? ? ? ? ? ? ? ? ? ? ? Q *+? *,? ? ? > ?
@ ? ? ? ? ? ? ? ? ? ? n *+-? *,? ? ? C D E ? * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
u+? ? M*? ? ,+,? ? Y,?
SY,? S? ,?
? ?
,?,? ? Y? Y? ? ?**? ? ,? ? N? ? ? !? ? Y? ? -? ? ? ? *+-? ::? Y*? ? ! S? ":? #Y-? ? $:? %? & :? ' ? ?? ( ? ): :? ? ? "? ? Y? *? ? +? ? ? ? ,? ? ,? -? -? ? ???? ? Y? .? ? /? ? ??~* ? 0:??o?
*+-? 1+? ? ? ? z H I J ! L , K 0 M 7 J : N <