org.dom4j.io.STAXEventWriter.class Maven / Gradle / Ivy
The newest version!
???? /? g ?
h ?
? ?
? ? g ? ?
?
? ? g ?
? ? ? ? ?
g
g
g
g
g
g
g
g
g
g
! ?
!
!
!
g
g
g!
g" #
g$% &
1'( )*+
4'
?,
?-
g. # /
?0
g1
2
3
?4
g5 6
?7
g8 6
?9
g: 6
?;
g< = 6
?>
g? @
?A
gBC
S ? DEFG
WH
S
?I
gJ
gK L
?M
?N
?OP
QR
Q@
QS
bTUV NamespaceIterator InnerClasses AttributeIterator consumer (Ljavax/xml/stream/util/XMLEventConsumer; factory "Ljavax/xml/stream/XMLEventFactory;
outputFactory #Ljavax/xml/stream/XMLOutputFactory; ()V Code LineNumberTable LocalVariableTable this Lorg/dom4j/io/STAXEventWriter; (Ljava/io/File;)V file Ljava/io/File;
Exceptions (Ljava/io/Writer;)V writer Ljava/io/Writer; (Ljava/io/OutputStream;)V stream Ljava/io/OutputStream; +(Ljavax/xml/stream/util/XMLEventConsumer;)V getConsumer *()Ljavax/xml/stream/util/XMLEventConsumer; setConsumer getEventFactory $()Ljavax/xml/stream/XMLEventFactory; setEventFactory %(Ljavax/xml/stream/XMLEventFactory;)V eventFactory writeNode (Lorg/dom4j/Node;)V n Lorg/dom4j/Node; writeChildNodes (Lorg/dom4j/Branch;)V i I s branch Lorg/dom4j/Branch; writeElement (Lorg/dom4j/Element;)V elem Lorg/dom4j/Element; createStartElement ;(Lorg/dom4j/Element;)Ljavax/xml/stream/events/StartElement; tagName Ljavax/xml/namespace/QName; attrIter Ljava/util/Iterator; nsIter createEndElement 9(Lorg/dom4j/Element;)Ljavax/xml/stream/events/EndElement; writeAttribute (Lorg/dom4j/Attribute;)V attr Lorg/dom4j/Attribute; createAttribute :(Lorg/dom4j/Attribute;)Ljavax/xml/stream/events/Attribute; attrName value Ljava/lang/String; writeNamespace (Lorg/dom4j/Namespace;)V ns Lorg/dom4j/Namespace; createNamespace :(Lorg/dom4j/Namespace;)Ljavax/xml/stream/events/Namespace; prefix uri writeText (Lorg/dom4j/Text;)V text Lorg/dom4j/Text; createCharacters 6(Lorg/dom4j/Text;)Ljavax/xml/stream/events/Characters;
writeCDATA (Lorg/dom4j/CDATA;)V cdata Lorg/dom4j/CDATA; 7(Lorg/dom4j/CDATA;)Ljavax/xml/stream/events/Characters; writeComment (Lorg/dom4j/Comment;)V comment Lorg/dom4j/Comment;
createComment 6(Lorg/dom4j/Comment;)Ljavax/xml/stream/events/Comment; writeProcessingInstruction $(Lorg/dom4j/ProcessingInstruction;)V pi !Lorg/dom4j/ProcessingInstruction; createProcessingInstruction R(Lorg/dom4j/ProcessingInstruction;)Ljavax/xml/stream/events/ProcessingInstruction; target data writeEntity (Lorg/dom4j/Entity;)V entity Lorg/dom4j/Entity; createEntityReference =(Lorg/dom4j/Entity;)Ljavax/xml/stream/events/EntityReference; writeDocumentType (Lorg/dom4j/DocumentType;)V docType Lorg/dom4j/DocumentType; createDTD 7(Lorg/dom4j/DocumentType;)Ljavax/xml/stream/events/DTD; e Ljava/io/IOException; decl Ljava/io/StringWriter;
writeDocument (Lorg/dom4j/Document;)V doc Lorg/dom4j/Document; createStartDocument =(Lorg/dom4j/Document;)Ljavax/xml/stream/events/StartDocument; encoding createEndDocument ;(Lorg/dom4j/Document;)Ljavax/xml/stream/events/EndDocument; createQName .(Lorg/dom4j/QName;)Ljavax/xml/namespace/QName; qname Lorg/dom4j/QName;
access$000 B(Lorg/dom4j/io/STAXEventWriter;)Ljavax/xml/stream/XMLEventFactory; x0 Synthetic
SourceFile STAXEventWriter.java n o r sWX ?YXZ p q java/io/FileWriter r y[\ l m[]^_` org/dom4j/Element ? ? org/dom4j/Text ? ? org/dom4j/Attribute ? ? org/dom4j/Namespace ? ? org/dom4j/Comment ? ? org/dom4j/CDATA ? ? org/dom4j/ProcessingInstruction ? ? org/dom4j/Entity ? ? org/dom4j/Document ? ? org/dom4j/DocumentType ? ? #javax/xml/stream/XMLStreamException java/lang/StringBuffer Unsupported DOM4J Node: abacde rfghijk ? ? ? ?lmn ? ? ? ?op ? ? .org/dom4j/io/STAXEventWriter$AttributeIteratorqr rs .org/dom4j/io/STAXEventWriter$NamespaceIteratortuvwr ?x ?y ? ?ze ?{ ? ?|e}e ?~ ? ?e ?? ? ??? ? ? ?? ? ??e ?? ? ??e ?? ? ? java/io/StringWriter? } java/io/IOException java/lang/RuntimeException Error writing DTD r? ?? ? ? ? ??e ?? ?? ?? javax/xml/namespace/QName??e?e r? org/dom4j/io/STAXEventWriter java/lang/Object javax/xml/stream/XMLEventFactory newInstance !javax/xml/stream/XMLOutputFactory %()Ljavax/xml/stream/XMLOutputFactory; createXMLEventWriter 3(Ljava/io/Writer;)Ljavax/xml/stream/XMLEventWriter; 9(Ljava/io/OutputStream;)Ljavax/xml/stream/XMLEventWriter; org/dom4j/Node getNodeType ()S append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; (Ljava/lang/String;)V org/dom4j/Branch nodeCount ()I node (I)Lorg/dom4j/Node; &javax/xml/stream/util/XMLEventConsumer add %(Ljavax/xml/stream/events/XMLEvent;)V getQName ()Lorg/dom4j/QName; attributeIterator ()Ljava/util/Iterator; 5(Lorg/dom4j/io/STAXEventWriter;Ljava/util/Iterator;)V declaredNamespaces ()Ljava/util/List; java/util/List iterator k(Ljavax/xml/namespace/QName;Ljava/util/Iterator;Ljava/util/Iterator;)Ljavax/xml/stream/events/StartElement; U(Ljavax/xml/namespace/QName;Ljava/util/Iterator;)Ljavax/xml/stream/events/EndElement; getValue R(Ljavax/xml/namespace/QName;Ljava/lang/String;)Ljavax/xml/stream/events/Attribute; getPrefix getURI I(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Namespace; getText 8(Ljava/lang/String;)Ljavax/xml/stream/events/Characters; createCData 5(Ljava/lang/String;)Ljavax/xml/stream/events/Comment; getTarget U(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/ProcessingInstruction; getName h(Ljava/lang/String;Ljavax/xml/stream/events/EntityDeclaration;)Ljavax/xml/stream/events/EntityReference; write *(Ljava/lang/String;Ljava/lang/Throwable;)V 1(Ljava/lang/String;)Ljavax/xml/stream/events/DTD; getXMLEncoding ;(Ljava/lang/String;)Ljavax/xml/stream/events/StartDocument; )()Ljavax/xml/stream/events/StartDocument; '()Ljavax/xml/stream/events/EndDocument; org/dom4j/QName getNamespaceURI getNamespacePrefix 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V ! g h l m n o p q # r s t I *? *? ? *? ? ? u <