io.atlasmap.xml.core.XmlIOHelper.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4 ?
/ r
s t
s u
s v
w x . y z
r { | } | ~ ? ?
? ? ?
. ?
? ?
? ? ? ? ? ?
w ? ? ? ?
? ? ?
r ?
? ?
?
? ?
?
? ? ?
? ? ? ? ?
) ? ?
?
? ? ? transformerFactory (Ljavax/xml/transform/TransformerFactory; (Ljava/lang/ClassLoader;)V Code LineNumberTable LocalVariableTable this "Lio/atlasmap/xml/core/XmlIOHelper; cl Ljava/lang/ClassLoader; origTccl
StackMapTable ? ? ? getChildrenWithName 9(Ljava/lang/String;Lorg/w3c/dom/Element;)Ljava/util/List; child Lorg/w3c/dom/Node; i I name Ljava/lang/String;
parentNode Lorg/w3c/dom/Element; children Ljava/util/List; nodeChildren Lorg/w3c/dom/NodeList; LocalVariableTypeTable 'Ljava/util/List; ? ? Signature P(Ljava/lang/String;Lorg/w3c/dom/Element;)Ljava/util/List; getChildrenWithNameStripAlias M(Ljava/lang/String;Ljava/util/Optional;Lorg/w3c/dom/Element;)Ljava/util/List; nodeName namespace Ljava/util/Optional; (Ljava/util/Optional; ? ? x(Ljava/lang/String;Ljava/util/Optional;Lorg/w3c/dom/Element;)Ljava/util/List; writeDocumentToString '(ZLorg/w3c/dom/Node;)Ljava/lang/String; transformer !Ljavax/xml/transform/Transformer; writer Ljava/io/StringWriter; result e Ljava/lang/Exception; stripSpaces Z node ? ? ?
Exceptions getNodeNameWithoutNamespaceAlias &(Lorg/w3c/dom/Node;)Ljava/lang/String; index
SourceFile XmlIOHelper.java 2 ? ? ? ? ? ? ? 3 ? ? ? 0 1 java/util/LinkedList ? ? ? ? ? ? ? org/w3c/dom/Element ? ? ? ? ? ? ? ? m n ? ? ? ? ? java/lang/String ? ? ? ? javax/xml/transform/OutputKeys omit-xml-declaration yes ? ? ? java/io/StringWriter !javax/xml/transform/dom/DOMSource 2 ? 'javax/xml/transform/stream/StreamResult 2 ? ? ? ? ? ? ? ?
|
? ? > *?< >< java/lang/Exception io/atlasmap/api/AtlasException 2 ? : ? ? ? ? io/atlasmap/xml/core/XmlIOHelper java/lang/Object java/lang/ClassLoader java/lang/Throwable java/util/List org/w3c/dom/NodeList org/w3c/dom/Node javax/xml/transform/Transformer ()V java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader ()Ljava/lang/ClassLoader; setContextClassLoader &javax/xml/transform/TransformerFactory newInstance *()Ljavax/xml/transform/TransformerFactory;
getChildNodes ()Lorg/w3c/dom/NodeList; getLength ()I item (I)Lorg/w3c/dom/Node; getNodeName ()Ljava/lang/String; equals (Ljava/lang/Object;)Z add java/util/Optional isPresent ()Z get ()Ljava/lang/Object; getNamespaceURI newTransformer #()Ljavax/xml/transform/Transformer; setOutputProperty '(Ljava/lang/String;Ljava/lang/String;)V (Lorg/w3c/dom/Node;)V (Ljava/io/Writer;)V transform ;(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V getBuffer ()Ljava/lang/StringBuffer; java/lang/StringBuffer toString
replaceAll 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; (Ljava/lang/Throwable;)V indexOf (Ljava/lang/String;)I substring (I)Ljava/lang/String; 1 . / 0 1 2 3 4 ? .*? ? ? M? +? *? ? ? ,? ?
N? ,? -?? # 5 &