org.dom4j.io.STAXEventReader.class Maven / Gradle / Ivy
The newest version!
???? /?
m ?
? ? l ?
? ? l ?
l ?
l ?
? ?
l ? ? ?
? ? ? ? ? ?
l ? ? ?
l ? ? ? ? ?
l ? ? ?
l ? ? ?
l ? ? ?
l ? ? ?
? ?
?
?
?
? ? ? ? ? ? ? ? % ? % ?
? ?
? ? %
l ?
l ? ?
l
l ?
l
l
l!"#
l$%
l&
?'
() ?)* ; ;+,
- >. >/0
?1
?23435
?6
?7 D8
?9 G: G;<=
?> J? J4
?@
A
.
/
?BCD factory Lorg/dom4j/DocumentFactory; inputFactory "Ljavax/xml/stream/XMLInputFactory; ()V Code LineNumberTable LocalVariableTable this Lorg/dom4j/io/STAXEventReader; (Lorg/dom4j/DocumentFactory;)V setDocumentFactory documentFactory readDocument +(Ljava/io/InputStream;)Lorg/dom4j/Document; is Ljava/io/InputStream;
Exceptions &(Ljava/io/Reader;)Lorg/dom4j/Document; reader Ljava/io/Reader; =(Ljava/io/InputStream;Ljava/lang/String;)Lorg/dom4j/Document; systemId Ljava/lang/String; eventReader !Ljavax/xml/stream/XMLEventReader; 8(Ljava/io/Reader;Ljava/lang/String;)Lorg/dom4j/Document; readNode 3(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/Node; event "Ljavax/xml/stream/events/XMLEvent; 7(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/Document; encodingScheme msg 'Ljavax/xml/stream/events/StartDocument; n Lorg/dom4j/Node; nextEvent type I doc Lorg/dom4j/Document; readElement 6(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/Element; endElem $Ljavax/xml/stream/events/EndElement; child startTag &Ljavax/xml/stream/events/StartElement; elem Lorg/dom4j/Element;
readAttribute 8(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/Attribute; attr #Ljavax/xml/stream/events/Attribute;
readNamespace 8(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/Namespace; ns #Ljavax/xml/stream/events/Namespace; readCharacters <(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/CharacterData;
characters $Ljavax/xml/stream/events/Characters; readComment 6(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/Comment; readEntityReference 5(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/Entity; entityRef )Ljavax/xml/stream/events/EntityReference; readProcessingInstruction D(Ljavax/xml/stream/XMLEventReader;)Lorg/dom4j/ProcessingInstruction; pi /Ljavax/xml/stream/events/ProcessingInstruction;
createElement ;(Ljavax/xml/stream/events/StartElement;)Lorg/dom4j/Element; i Ljava/util/Iterator;
startEvent qname Ljavax/xml/namespace/QName; elemName Lorg/dom4j/QName; createAttribute M(Lorg/dom4j/Element;Ljavax/xml/stream/events/Attribute;)Lorg/dom4j/Attribute; createNamespace :(Ljavax/xml/stream/events/Namespace;)Lorg/dom4j/Namespace; createCharacterData ?(Ljavax/xml/stream/events/Characters;)Lorg/dom4j/CharacterData; data
createComment 6(Ljavax/xml/stream/events/Comment;)Lorg/dom4j/Comment; comment !Ljavax/xml/stream/events/Comment; createEntity =(Ljavax/xml/stream/events/EntityReference;)Lorg/dom4j/Entity; createProcessingInstruction R(Ljavax/xml/stream/events/ProcessingInstruction;)Lorg/dom4j/ProcessingInstruction; createQName .(Ljavax/xml/namespace/QName;)Lorg/dom4j/QName;
SourceFile STAXEventReader.java r sEFG p qHIJ n o | ? | ?KL | ?MN sKOPQRST ? ?UT ? ?VTWT ? ?XT ? ?YT ? ?ZT ? ? #javax/xml/stream/XMLStreamException java/lang/StringBuffer Unsupported event: [\[]^_ r`aTbc ?Q %javax/xml/stream/events/StartDocumentdTe_fgfh Unexpected StartDocument eventij rk ? ?lmnop ? ? 6Unexpected end of stream while reading element contentqTrstuvwxyz Expected end-tag, but found{ Expected Element event, found: !javax/xml/stream/events/Attribute ? ? !Expected Attribute event, found: !javax/xml/stream/events/Namespace ? ? !Expected Namespace event, found: |} ? ? "Expected Characters event, found: javax/xml/stream/events/Comment ? ? Expected Comment event, found: 'javax/xml/stream/events/EntityReference ? ? !Expected EntityRef event, found: -javax/xml/stream/events/ProcessingInstruction ? ? Expected PI event, found: ? ? ?~?????_?????_?_?? ?? ????_?T?????_ ??u_????_ ???_ ???_ ?? org/dom4j/io/STAXEventReader java/lang/Object javax/xml/stream/XMLInputFactory newInstance $()Ljavax/xml/stream/XMLInputFactory; org/dom4j/DocumentFactory getInstance ()Lorg/dom4j/DocumentFactory; createXMLEventReader J(Ljava/lang/String;Ljava/io/InputStream;)Ljavax/xml/stream/XMLEventReader; javax/xml/stream/XMLEventReader close E(Ljava/lang/String;Ljava/io/Reader;)Ljavax/xml/stream/XMLEventReader; peek $()Ljavax/xml/stream/events/XMLEvent; javax/xml/stream/events/XMLEvent isStartElement ()Z isCharacters isStartDocument isProcessingInstruction isEntityReference isAttribute isNamespace append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; (Ljava/lang/String;)V hasNext getEventType ()I encodingSet getCharacterEncodingScheme createDocument ((Ljava/lang/String;)Lorg/dom4j/Document; ()Lorg/dom4j/Document; getLocation ()Ljavax/xml/stream/Location; 0(Ljava/lang/String;Ljavax/xml/stream/Location;)V org/dom4j/Document add (Lorg/dom4j/Node;)V asStartElement (()Ljavax/xml/stream/events/StartElement; isEndElement asEndElement &()Ljavax/xml/stream/events/EndElement; "javax/xml/stream/events/EndElement getName ()Ljavax/xml/namespace/QName; $javax/xml/stream/events/StartElement javax/xml/namespace/QName equals (Ljava/lang/Object;)Z org/dom4j/Element asCharacters &()Ljavax/xml/stream/events/Characters; &(Lorg/dom4j/QName;)Lorg/dom4j/Element;
getAttributes ()Ljava/util/Iterator; java/util/Iterator next ()Ljava/lang/Object; getValue addAttribute 8(Lorg/dom4j/QName;Ljava/lang/String;)Lorg/dom4j/Element;
getNamespaces getPrefix getNamespaceURI addNamespace 9(Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/Element; M(Lorg/dom4j/Element;Lorg/dom4j/QName;Ljava/lang/String;)Lorg/dom4j/Attribute; ;(Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/Namespace; "javax/xml/stream/events/Characters getData isCData createCDATA %(Ljava/lang/String;)Lorg/dom4j/CDATA;
createText $(Ljava/lang/String;)Lorg/dom4j/Text; getText '(Ljava/lang/String;)Lorg/dom4j/Comment; getDeclaration -()Ljavax/xml/stream/events/EntityDeclaration; )javax/xml/stream/events/EntityDeclaration getReplacementText 8(Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/Entity; getTarget G(Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/ProcessingInstruction; getLocalPart I(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/dom4j/QName; ! l m n o p q r s t I *? *? ? *? ? ? u 6 0 7 8 v w x r y t g *? *? ? +? *+? ?
*? ? ? u B 0 C D F H v w x n o z y t T +? *+? ?
*? ? ? u R S U W v w x { o | } t ; *+? ? u f v w x ~ ? | ? t ; *+? ? u v v w x ? ? ? | ? t ? %*? ,+? N*-? :-?
?:-?
?
u ?
? ? v * % w x % ~ % ? ?
? ? ? | ? t ? %*? ,+? N*-? :-?
?:-?
?
u ?
? ? v * % w x % ? ? % ? ?
? ? ? ? ? t ?+? M,?
? *+? ?,? ? *+? ?,? ? *+? ?,? ? *+? ?,? ? *+? ?,? ? *+? ?,? ? *+? ?? Y? Y? ? ,? ? ? !? u B ? ? ? ? ? % ? . ? 4 ? = ? C ? L ? R ? [ ? a ? j ? p ? v ? w x ? ? ? ? ? ? ? | ? t ?M+? " ? ?+? N-? # 6? } s } s $ s+? $ ? %:,? .? & ? ? ' :*? ? (M? H*? ? )M? =*:? Y? + ? ,?+? $ W? ,? *? ? )M*+? -:,? . ??N,? u R ? ? ? ? ? @ ? K ? O ? Y ? b ? o ? z ? ~ ? ? ?
? ? ? ? ? v \ b
? ? ~ ? ? K D ? ? ? ? ? ? ? ? ? ? ? ? w x ? ? ? ? ? ? ? ? ? t ? ?+? M,?
? ?+? $ ? / N*-? 0:+? " ? 1:? Y? !?+? :? 2 ? R+? $ ? 3 :? 4 -? 5 ? 6? E? Y? Y? 7? -? 5 ? 8? ? 4 ? ? ? !?*+? -:? 9 ??x?? Y? Y? :? ,? ? ? !? u B , . 0 1 #5 ,6 08 :; B= L> Y@ lA ?I ?J ?M ?O v \ 0
? ? Y B ? ? B i ? ? ? ? ? ? ? ? # ? ? ? ? w x ? ? ? ? ? ? ? ? ? t ? <+? M,? ? +? $ ? ;N*-? ? Y? Y? =? ,? ? ? !? u c e f h !j v * ? ? <