io.atlasmap.xml.core.XmlFieldWriter.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4,
?
!"
#
$ %&'()
*+
*,
*-&./
#
0
123454678&9: ;
<=>?@
$A
B C
D>E ]F
$G
@HI
@J
#
HKL
$M
N
O
PQRS3TQUVWX
D
DYZ
D[\ ]]^&_
`a&b
$cde ]f ]ghi
@j
<kl2m
no2pq
$r st
$u
nvwx
y
Az{ ]E2|}~???>?>?
@???
??Qj
??
????
@?
y?
?? ]??????F
@?
@?
@?
@?Q???Q?Qm ]?>?
???
???? LOG Lorg/slf4j/Logger; document Lorg/w3c/dom/Document; enableElementNamespaces Z enableAttributeNamespaces ignoreMissingNamespaces ()V Code LineNumberTable LocalVariableTable this %Lio/atlasmap/xml/core/XmlFieldWriter;
Exceptions ;(Ljava/lang/ClassLoader;Ljava/util/Map;Ljava/lang/String;)V classLoader Ljava/lang/ClassLoader;
namespaces Ljava/util/Map; seedDocument Ljava/lang/String; LocalVariableTypeTable 5Ljava/util/Map; Signature a(Ljava/lang/ClassLoader;Ljava/util/Map;Ljava/lang/String;)V write )(Lio/atlasmap/spi/AtlasInternalSession;)V rootNode Lorg/w3c/dom/Element; childNode segment XmlSegmentContext InnerClasses 0Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext; session &Lio/atlasmap/spi/AtlasInternalSession; targetField Lio/atlasmap/v2/Field; path Lio/atlasmap/xml/core/XmlPath; lastSegment
parentNode
parentSegment
StackMapTable??/7q? addNamespacesToElement '(Lorg/w3c/dom/Element;Ljava/util/Map;)V namespaceUri
attributeName namespaceAlias nodeT? M(Lorg/w3c/dom/Element;Ljava/util/Map;)V
writeValue ^(Lorg/w3c/dom/Element;Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;Lio/atlasmap/v2/Field;)V field value getChildNode ?(Lorg/w3c/dom/Element;Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;)Lorg/w3c/dom/Element; index I cleanedSegmentName children Ljava/util/List; 'Ljava/util/List;? createParentNode child Ljava/lang/Integer;?
createElement G(Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext;)Lorg/w3c/dom/Element; convertValue *(Lio/atlasmap/v2/Field;)Ljava/lang/String;
valueClass type Lio/atlasmap/v2/FieldType;
originalValue Ljava/lang/Object;?) createDocument 9(Ljava/util/Map;Ljava/lang/String;)Lorg/w3c/dom/Document; n Lorg/w3c/dom/Node; nodeName i oldRootNode
attributes Lorg/w3c/dom/NamedNodeMap; documentBuilderFactory *Ljavax/xml/parsers/DocumentBuilderFactory; documentBuilder #Ljavax/xml/parsers/DocumentBuilder; e Ljava/lang/Exception;?????? _(Ljava/util/Map;Ljava/lang/String;)Lorg/w3c/dom/Document; getDocument ()Lorg/w3c/dom/Document; isEnableElementNamespaces ()Z setEnableElementNamespaces (Z)V isEnableAttributeNamespaces setEnableAttributeNamespaces isIgnoreMissingNamespaces setIgnoreMissingNamespaces
SourceFile XmlFieldWriter.java #io/atlasmap/xml/core/XmlFieldWriter??? java/util/HashMap ? ? ? ? ?? ? ? ? ? ? ? ? ? ? ? ? ????????? io/atlasmap/api/AtlasException "java/lang/IllegalArgumentException Argument 'field' cannot be null ?? ?? ? ??? -Now processing field path={} type={} value={} java/lang/Object????????? io/atlasmap/xml/core/XmlPath??????????? .io/atlasmap/xml/core/XmlPath$XmlSegmentContext Now processing segment: {}?? Parent element is currently: {}???????? #Creating root element with name: {}?? ? ? ? ? ? ????????? FRoot element name '%s' does not match expected name '%s' from path: %s?? &Now processing field value segment: {} !Now processing parent segment: {}? ? ? ? ? ? ????? java/lang/String?? xmlns java/lang/StringBuilder?? :?? http://www.w3.org/2000/xmlns/?? 7Writing field value in parent node '{}', parentNode: {}?? ? ? 8Attribute namespaces are enabled, determining namespace.???? @Parsed namespace alias '{}', from segment '{}', namespaceUri: {} GCannot find namespace URI for attribute: '%s', available namespaces: %s???? #Parent node after value written: {} .Looking for child node '{}' in parent '{}': {}??? ,Found {} children in '{}' with the name '{}'??????? org/w3c/dom/Element????? ? -Could not find child node '{}' in parent '{}' 9Found child node '{}' in parent '{}', class: {}, node: {} 5Creating parent node '{}' under previous parent '{}'. UChild Element Array is too small, resizing to accomodate index: {}, current array: {}? &Child Element Array after resizing: {} 8Parent Node '{}' after adding child parent node '{}': {} "Creating element for segment '{}'. 6Element namespaces are enabled, determining namespace. VParsed namespace alias '{}', from segment '{}', namespaceUri: {}, known namespaces: {} ECannot find namespace URI for element: '%s', available namespaces: %s ?? null ?Converted field value. Type: {}, originalValue: {}({}), to: '{}?
java/io/ByteArrayInputStream UTF-8 ????? !?"?#$%&'?( java/lang/Exception)*+ (io/atlasmap/xml/core/XmlFieldTransformer io/atlasmap/spi/AtlasFieldWriter io/atlasmap/v2/Field $io/atlasmap/spi/AtlasInternalSession java/util/Iterator
java/util/Map java/util/List java/lang/Integer io/atlasmap/v2/FieldType (javax/xml/parsers/DocumentBuilderFactory !javax/xml/parsers/DocumentBuilder org/w3c/dom/Document org/w3c/dom/NamedNodeMap org/w3c/dom/Node java/lang/Class getClassLoader ()Ljava/lang/ClassLoader; )(Ljava/lang/ClassLoader;Ljava/util/Map;)V seedDocumentNamespaces (Lorg/w3c/dom/Document;)V head Head -()Lio/atlasmap/spi/AtlasInternalSession$Head; )io/atlasmap/spi/AtlasInternalSession$Head getTargetField ()Lio/atlasmap/v2/Field; (Ljava/lang/String;)V (Ljava/lang/Throwable;)V org/slf4j/Logger isDebugEnabled getPath ()Ljava/lang/String; getFieldType ()Lio/atlasmap/v2/FieldType; getValue ()Ljava/lang/Object; debug ((Ljava/lang/String;[Ljava/lang/Object;)V getLastSegment 2()Lio/atlasmap/xml/core/XmlPath$XmlSegmentContext; getXmlSegments (Z)Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext next '(Ljava/lang/String;Ljava/lang/Object;)V xmlHelper "Lio/atlasmap/xml/core/XmlIOHelper; io/atlasmap/xml/core/XmlIOHelper writeDocumentToString '(ZLorg/w3c/dom/Node;)Ljava/lang/String; getDocumentElement ()Lorg/w3c/dom/Element; getName appendChild &(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node; getNodeName getQName equals (Ljava/lang/Object;)Z format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; isAttribute keySet ()Ljava/util/Set;
java/util/Set get &(Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString setAttributeNS 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V getNamespace setAttribute '(Ljava/lang/String;Ljava/lang/String;)V setTextContent isEmpty getChildrenWithName 9(Ljava/lang/String;Lorg/w3c/dom/Element;)Ljava/util/List; size ()I valueOf (I)Ljava/lang/Integer; (I)Ljava/lang/Object; getCollectionType !()Lio/atlasmap/v2/CollectionType; io/atlasmap/v2/CollectionType NONE Lio/atlasmap/v2/CollectionType; getCollectionIndex ()Ljava/lang/Integer; intValue getClass ()Ljava/lang/Class; add createElementNS ;(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element; )(Ljava/lang/String;)Lorg/w3c/dom/Element; &(Ljava/lang/Object;)Ljava/lang/String; newInstance ,()Ljavax/xml/parsers/DocumentBuilderFactory; setNamespaceAware newDocumentBuilder %()Ljavax/xml/parsers/DocumentBuilder; getBytes (Ljava/lang/String;)[B ([B)V parse -(Ljava/io/InputStream;)Lorg/w3c/dom/Document;
getAttributes ()Lorg/w3c/dom/NamedNodeMap; getLength item (I)Lorg/w3c/dom/Node;
startsWith (Ljava/lang/String;)Z contains (Ljava/lang/CharSequence;)Z indexOf (Ljava/lang/String;)I substring (I)Ljava/lang/String; containsKey getNodeValue put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; cloneNode (Z)Lorg/w3c/dom/Node; removeChild newDocument org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? @ *? ? Y? ? ? ?
1 2 ? ? ? ? ? ? ? ? 2*+,? *? *? *? *?
*+? **,-? ? **? ?
? ? &