org.dom4j.DocumentHelper.class Maven / Gradle / Ivy
The newest version!
???? /
> ?
? ?
= ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
= ? ? ? ? ? ? ? ?
?
= ? ? ?
?
?
?
? 4 ? 4 ?
? ? ?
? ? ?
? ?
? ? ? ?
, ?
, ?
, ? ?
? ? ? ? 4 ? 4 ? ?
? ? 7 ? 7 ? 7 ? 7 ? ? ? ()V Code LineNumberTable LocalVariableTable this Lorg/dom4j/DocumentHelper; getDocumentFactory ()Lorg/dom4j/DocumentFactory; createDocument ()Lorg/dom4j/Document; )(Lorg/dom4j/Element;)Lorg/dom4j/Document; rootElement Lorg/dom4j/Element;
createElement &(Lorg/dom4j/QName;)Lorg/dom4j/Element; qname Lorg/dom4j/QName; '(Ljava/lang/String;)Lorg/dom4j/Element; name Ljava/lang/String; createAttribute M(Lorg/dom4j/Element;Lorg/dom4j/QName;Ljava/lang/String;)Lorg/dom4j/Attribute; owner value N(Lorg/dom4j/Element;Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/Attribute; createCDATA %(Ljava/lang/String;)Lorg/dom4j/CDATA; text
createComment '(Ljava/lang/String;)Lorg/dom4j/Comment;
createText $(Ljava/lang/String;)Lorg/dom4j/Text; createEntity 8(Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/Entity; createNamespace ;(Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/Namespace; prefix uri createProcessingInstruction G(Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/ProcessingInstruction; pi d D(Ljava/lang/String;Ljava/util/Map;)Lorg/dom4j/ProcessingInstruction; data Ljava/util/Map; createQName :(Ljava/lang/String;Lorg/dom4j/Namespace;)Lorg/dom4j/QName; localName namespace Lorg/dom4j/Namespace; %(Ljava/lang/String;)Lorg/dom4j/QName; createXPath %(Ljava/lang/String;)Lorg/dom4j/XPath; xpathExpression
Exceptions ? @(Ljava/lang/String;Lorg/jaxen/VariableContext;)Lorg/dom4j/XPath; context Lorg/jaxen/VariableContext; createXPathFilter *(Ljava/lang/String;)Lorg/dom4j/NodeFilter; xpathFilterExpression
createPattern ,(Ljava/lang/String;)Lorg/dom4j/rule/Pattern; xpathPattern selectNodes 4(Ljava/lang/String;Ljava/util/List;)Ljava/util/List; nodes Ljava/util/List; xpath Lorg/dom4j/XPath; 4(Ljava/lang/String;Lorg/dom4j/Node;)Ljava/util/List; node Lorg/dom4j/Node; sort %(Ljava/util/List;Ljava/lang/String;)V list &(Ljava/util/List;Ljava/lang/String;Z)V
expression distinct Z parseText ((Ljava/lang/String;)Lorg/dom4j/Document; result Lorg/dom4j/Document; reader Lorg/dom4j/io/SAXReader; encoding source Lorg/xml/sax/InputSource; ? getEncoding &(Ljava/lang/String;)Ljava/lang/String; token end I sub tokens Ljava/util/StringTokenizer; xml makeElement 9(Lorg/dom4j/Branch;Ljava/lang/String;)Lorg/dom4j/Element; document parent Lorg/dom4j/Branch; path element
SourceFile DocumentHelper.java ? @ ? ? G F G H I H J M N M Q T U T X Y Z \ ] ^ _ ` a b c f g f j m n m r s t s x { | ~ ? ? ? ? ? ? ? org/dom4j/io/SAXReader ? ? org/xml/sax/InputSource java/io/StringReader ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/util/StringTokenizer ="' ? ? / org/dom4j/Document
Q org/dom4j/Element ? r ? N ? Q org/dom4j/DocumentHelper java/lang/Object org/dom4j/InvalidXPathException org/dom4j/DocumentException org/dom4j/DocumentFactory getInstance org/dom4j/XPath $(Ljava/lang/Object;)Ljava/util/List; (Ljava/util/List;)V (Ljava/util/List;Z)V (Ljava/lang/String;)V (Ljava/io/Reader;)V setEncoding read /(Lorg/xml/sax/InputSource;)Lorg/dom4j/Document; getXMLEncoding ()Ljava/lang/String; setXMLEncoding java/lang/String trim
startsWith (Ljava/lang/String;)Z indexOf (Ljava/lang/String;)I substring (II)Ljava/lang/String; '(Ljava/lang/String;Ljava/lang/String;)V
hasMoreTokens ()Z nextToken equals (Ljava/lang/Object;)Z getRootElement ()Lorg/dom4j/Element;
addElement (I)I getQName 1 = > ? @ A 3 *? ? B
! C D E
F G A ? ? B $ H I A ? ? ? B ) H J A 2 ? *? ? B - C K L M N A 2 ? *? ? B 1 C O P M Q A 2 ? *? ? B 5 C R S T U A H
? *+,? ? B : C
V L
O P
W S T X A H
? *+,? ? B ? C
V L
R S
W S Y Z A 2 ? *?
? B C C [ S \ ] A 2 ? *? ? B G C [ S ^ _ A 2 ? *? ? B K C [ S ` a A = ? *+?
? B O C R S [ S b c A = ? *+? ? B S C d S e S f g A = ? *+? ? B X C h S i S f j A = ? *+? ? B ] C h S k l m n A = ? *+? ? B a C o S p q m r A 2 ? *? ? B e C o S s t A 2 ? *? ? B y C u S v w s x A = ? *+? ? B ? C u S y z v w { | A 2 ? *? ? B ? C } S ~ A 2 ? *? ? B ? C ? S ? ? A O
*? M,+? ? B
? ? C
} S
? ? ? ? ? ? A O
*? M,+? ? B
? ? C
} S
? ? ? ? ? ? A S
+? M,*? ? B ? ? ? C
? ?
u S ? ? ? ? A ^ +? N-*? ? B ? ?
? C * ? ? ? S ? ? ? ? ? ? A ? ?L? Y? M*? N? Y? Y*? ? !:-? ",? #L+? $ ?
+-? % +? B &