com.vmware.vim.rest.RestManagedObject.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vijava Show documentation
Show all versions of vijava Show documentation
Java API for accessing VMWare web services API
The newest version!
???? 2 ? %com/vmware/vim/rest/RestManagedObject java/lang/Object rc Lcom/vmware/vim/rest/RestClient; moid Ljava/lang/String; xpath Ljavax/xml/xpath/XPath; 5(Lcom/vmware/vim/rest/RestClient;Ljava/lang/String;)V Code
()V
javax/xml/xpath/XPathFactory newInstance ()Ljavax/xml/xpath/XPathFactory;
newXPath ()Ljavax/xml/xpath/XPath; LineNumberTable LocalVariableTable this 'Lcom/vmware/vim/rest/RestManagedObject;
getPropertyDO &(Ljava/lang/String;)Ljava/lang/String;
Exceptions ) java/io/IOException
+ - , java/lang/String . / length ()I 1 java/lang/StringBuilder 3 moid=
0 5 6 (Ljava/lang/String;)V
0 8 9 : append -(Ljava/lang/String;)Ljava/lang/StringBuilder; < doPath=
0 > ? @ toString ()Ljava/lang/String;
B D C com/vmware/vim/rest/RestClient E & get path
StackMapTable getAllProperties getPropertyAsString K (javax/xml/xpath/XPathExpressionException M O .
+ Q R S lastIndexOf (Ljava/lang/String;)I
+ U V W substring (II)Ljava/lang/String;
+ Y V Z (I)Ljava/lang/String;
\ % & ^ ` _ javax/xml/xpath/XPath a reset c // e /text() g org/xml/sax/InputSource i java/io/StringReader
h 5
f l m (Ljava/io/Reader;)V ^ o p q evaluate ?(Ljava/lang/String;Lorg/xml/sax/InputSource;)Ljava/lang/String; propName doName last I doXml invoke 5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; z java/lang/Exception Signature [(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; ~ &method=
B ? ? x post method para Ljava/util/Map; LocalVariableTypeTable 5Ljava/util/Map;
B ? ? &
SourceFile RestManagedObject.java !
? (*? *? *? *? *+? *,? *? ? ? ? ! " . * + , 0 1 2 ' 3 " ( # $ ( ( % &