de.tsl2.nano.core.serialize.XmlUtil.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.terminal Show documentation
Show all versions of tsl2.nano.terminal Show documentation
TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)
???? 4(
? ?
!
"
#
$%
#
&' ()*
l+,
#-
?./
01
23
24
56
78
79:
;<=> ?@ABCD
' &E &F
?GH ?IJ ?KL ?MANOP
3"QR
7S ,T ,U ,V ,W ,X !YZ[
\]
;^
_`abc
de
?fg
Gh
dij
;klmn
?o
pqr
?st
V
Tu
Tv
pw
dxy
.z
d{
.|
}~?
?
??????
??
l"
6?
l?????
?
???
p???
x"
T?
?
T?
p?
??
?
T?
?????
???
???
???
???
?? InnerClasses LOG Lorg/apache/commons/logging/Log; ()V Code LineNumberTable LocalVariableTable this %Lde/tsl2/nano/core/serialize/XmlUtil; transformXsl 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V srcFile Ljava/lang/String; xsl
outputFile factory (Ljavax/xml/transform/TransformerFactory; xslStream )Ljavax/xml/transform/stream/StreamSource; transformer !Ljavax/xml/transform/Transformer; in out )Ljavax/xml/transform/stream/StreamResult;
Exceptions?? xpath 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; e Ljava/io/FileNotFoundException;
expression fileName
StackMapTable/ I(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
resultType Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class; Signature p(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)TRESULTTYPE; L(Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/Class;)Ljava/lang/Object; n Lorg/w3c/dom/Node; i I nodes Lorg/w3c/dom/NodeList; result Ljava/util/Map; xmlDocument Lorg/w3c/dom/Document; xPath Ljavax/xml/xpath/XPath; builder #Ljavax/xml/parsers/DocumentBuilder; Ljava/lang/Exception; stream Ljava/io/InputStream; 5Ljava/util/Map;???C:-??Q s(Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/Class;)TRESULTTYPE; add $(Lorg/w3c/dom/Node;Ljava/util/Map;)V v Ljava/lang/Object; childrenH? J(Lorg/w3c/dom/Node;Ljava/util/Map;)V replaceTagsAndNamespace 8(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/String; xml classes [Ljava/lang/Class; loadXml 7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; xmlFile type Ljava/lang/Class; C(Ljava/lang/String;Ljava/lang/Class;)TT; 8(Ljava/lang/String;Ljava/lang/Class;Z)Ljava/lang/Object;
renameOnError Z D(Ljava/lang/String;Ljava/lang/Class;Z)TT; i(Ljava/lang/String;Ljava/lang/Class;Lde/tsl2/nano/core/execution/CompatibilityLayer;ZZ)Ljava/lang/Object; compLayer 0Lde/tsl2/nano/core/execution/CompatibilityLayer; assignClassloader u(Ljava/lang/String;Ljava/lang/Class;Lde/tsl2/nano/core/execution/CompatibilityLayer;ZZ)TT; loadSimpleXml_ file Ljava/io/File; e1 printStream Ljava/io/PrintStream; stackTraceFile fileInputStream Ljava/io/FileInputStream;,?? saveXml '(Ljava/lang/String;Ljava/lang/Object;)V objc saveSimpleXml_ temp! getSimpleXmlProxyStrategy -()Lorg/simpleframework/xml/strategy/Strategy; persister (Lorg/simpleframework/xml/core/Persister; proxyConverter +Lorg/simpleframework/xml/convert/Converter; unpersistableClasses reflectConverter reg *Lorg/simpleframework/xml/convert/Registry; 5Ljava/util/Map;
SourceFile XmlUtil.java ? ? ? ? java/lang/StringBuilder creating xsl transformation for ?? with ???????? 'javax/xml/transform/stream/StreamSource java/io/File ?? ???? 'javax/xml/transform/stream/StreamResult???? ? ? xsl transformation result: ?? java/io/FileInputStream java/lang/String ? ? java/io/FileNotFoundException????????????????
java/util/Map???????????? org/w3c/dom/NodeList java/util/LinkedHashMap???? ? ? org/w3c/dom/Node?? java/lang/Boolean?? java/lang/Number???? "java/lang/IllegalArgumentException Rresulttype must be one of: Map, org.w3c.dom.Node, Boolean, Number, String or null! java/lang/Exception java/lang/RuntimeException ?????????????? (?)\w+[:] $1? ? ?????? [^>]*> .de/tsl2/nano/core/execution/CompatibilityLayer??? ? ? &org.simpleframework.xml.core.Persister??? ? loading type '?? ' from ' '?? ? ?? ?? &org/simpleframework/xml/core/Persister 4de/tsl2/nano/core/serialize/SimpleXmlArrayWorkaround ? ? app.mode.strict?
renaming corrupted file ' ' to: .failed?
couldn't rename corrupted file ' ' to '
.failed' !? .stacktrace java/io/PrintStream ? cant' write stacktrace to ?
saving file ' ' with object '? java/io/Serializable %org/simpleframework/xml/stream/Format & ??? %de/tsl2/nano/core/serialize/XmlUtil$1 ? java/lang/Object java/text/SimpleDateFormat pattern ! %de/tsl2/nano/core/serialize/XmlUtil$2 ?" %de/tsl2/nano/core/serialize/XmlUtil$3 ?# 0org/simpleframework/xml/convert/RegistryStrategy ?$ #de/tsl2/nano/core/serialize/XmlUtil%&' 5javax/xml/transform/TransformerConfigurationException (javax/xml/transform/TransformerException !javax/xml/parsers/DocumentBuilder org/w3c/dom/Document javax/xml/xpath/XPath java/io/InputStream java/lang/Class java/lang/Throwable append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; org/apache/commons/logging/Log info (Ljava/lang/Object;)V &javax/xml/transform/TransformerFactory newInstance *()Ljavax/xml/transform/TransformerFactory; (Ljava/lang/String;)V (Ljava/io/File;)V newTransformer ?(Ljavax/xml/transform/Source;)Ljavax/xml/transform/Transformer; javax/xml/transform/Transformer transform ;(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V java/lang/System println "de/tsl2/nano/core/ManagedException forward ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; (javax/xml/parsers/DocumentBuilderFactory ,()Ljavax/xml/parsers/DocumentBuilderFactory; newDocumentBuilder %()Ljavax/xml/parsers/DocumentBuilder; parse -(Ljava/io/InputStream;)Lorg/w3c/dom/Document; javax/xml/xpath/XPathFactory ()Ljavax/xml/xpath/XPathFactory; newXPath ()Ljavax/xml/xpath/XPath; isAssignableFrom (Ljava/lang/Class;)Z compile 5(Ljava/lang/String;)Ljavax/xml/xpath/XPathExpression; javax/xml/xpath/XPathConstants NODESET Ljavax/xml/namespace/QName; javax/xml/xpath/XPathExpression evaluate A(Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object; getLength ()I item (I)Lorg/w3c/dom/Node; NODE BOOLEAN NUMBER &(Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/Throwable;)V
getChildNodes ()Lorg/w3c/dom/NodeList; getNodeValue
getParentNode ()Lorg/w3c/dom/Node; getNodeName getTextContent put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
replaceAll
getSimpleName !de/tsl2/nano/core/util/StringUtil toFirstLower &(Ljava/lang/String;)Ljava/lang/String; de/tsl2/nano/core/ENV get %(Ljava/lang/Class;)Ljava/lang/Object; isAvailable (Ljava/lang/String;)Z assignClassloaderToCurrentThread getName debug de/tsl2/nano/core/util/FileUtil *(Ljava/lang/String;)Ljava/io/Serializable; Y(Lorg/simpleframework/xml/strategy/Strategy;Lorg/simpleframework/xml/transform/Matcher;)V read :(Ljava/lang/Class;Ljava/io/InputStream;)Ljava/lang/Object; close -(Ljava/io/InputStream;Z)Ljava/io/InputStream; ()Z valueOf (Z)Ljava/lang/Boolean; 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; booleanValue canWrite getPath renameTo (Ljava/io/File;)Z warn exists printStackTrace (Ljava/io/PrintStream;)V error -(Ljava/lang/Object;)Ljava/lang/StringBuilder; +(Ljava/io/Serializable;Ljava/lang/String;)V U(Lorg/simpleframework/xml/strategy/Strategy;Lorg/simpleframework/xml/stream/Format;)V getAbsoluteFile ()Ljava/io/File; write #(Ljava/lang/Object;Ljava/io/File;)V getFile )(Ljava/lang/String;)Ljava/io/InputStream; available delete +(Lorg/simpleframework/xml/core/Persister;)V de/tsl2/nano/core/util/MapUtil asMap $([Ljava/lang/Object;)Ljava/util/Map; :(Lorg/simpleframework/xml/core/Persister;Ljava/util/Map;)V h(Lorg/simpleframework/xml/convert/Converter;Ljava/util/Map;Lorg/simpleframework/xml/convert/Converter;)V -(Lorg/simpleframework/xml/convert/Registry;)V de/tsl2/nano/core/log/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! ? ? ? ? ? ? ? / *? ? ? Q ? ? ? ? ? ? ?? ? Y? ? *? ? +? ? ? ?
N? Y? Y+?
? :-? :? Y? Y*?
? :? Y? Y,?
? :? ? ? Y? ? ,? ? ? ? ? &