public abstract class com.ctc.wstx.sw.XmlWriter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.ctc.wstx.sw.XmlWriter
super_class: java.lang.Object
{
protected static final int SURR1_FIRST;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 55296
protected static final int SURR1_LAST;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 56319
protected static final int SURR2_FIRST;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 56320
protected static final int SURR2_LAST;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 57343
protected static final char DEFAULT_QUOTE_CHAR;
descriptor: C
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 34
protected final com.ctc.wstx.api.WriterConfig mConfig;
descriptor: Lcom/ctc/wstx/api/WriterConfig;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String mEncoding;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean mNsAware;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean mCheckStructure;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean mCheckContent;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean mCheckNames;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean mFixContent;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
final boolean mEscapeCR;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean mAddSpaceAfterEmptyElem;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean mUseDoubleQuotesInXmlDecl;
descriptor: Z
flags: (0x0010) ACC_FINAL
protected final boolean mAutoCloseOutput;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.io.Writer mTextWriter;
descriptor: Ljava/io/Writer;
flags: (0x0004) ACC_PROTECTED
protected java.io.Writer mAttrValueWriter;
descriptor: Ljava/io/Writer;
flags: (0x0004) ACC_PROTECTED
protected boolean mXml11;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected com.ctc.wstx.sw.XmlWriterWrapper mRawWrapper;
descriptor: Lcom/ctc/wstx/sw/XmlWriterWrapper;
flags: (0x0004) ACC_PROTECTED
protected com.ctc.wstx.sw.XmlWriterWrapper mTextWrapper;
descriptor: Lcom/ctc/wstx/sw/XmlWriterWrapper;
flags: (0x0004) ACC_PROTECTED
protected int mLocPastChars;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mLocRowNr;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mLocRowStartOffset;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected void <init>(com.ctc.wstx.api.WriterConfig, java.lang.String, boolean);
descriptor: (Lcom/ctc/wstx/api/WriterConfig;Ljava/lang/String;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.ctc.wstx.sw.XmlWriter.mXml11:Z
2: aload 0
aconst_null
putfield com.ctc.wstx.sw.XmlWriter.mRawWrapper:Lcom/ctc/wstx/sw/XmlWriterWrapper;
3: aload 0
aconst_null
putfield com.ctc.wstx.sw.XmlWriter.mTextWrapper:Lcom/ctc/wstx/sw/XmlWriterWrapper;
4: aload 0
iconst_0
putfield com.ctc.wstx.sw.XmlWriter.mLocPastChars:I
5: aload 0
iconst_1
putfield com.ctc.wstx.sw.XmlWriter.mLocRowNr:I
6: aload 0
iconst_0
putfield com.ctc.wstx.sw.XmlWriter.mLocRowStartOffset:I
7: aload 0
aload 1
putfield com.ctc.wstx.sw.XmlWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
8: aload 0
aload 2
putfield com.ctc.wstx.sw.XmlWriter.mEncoding:Ljava/lang/String;
9: aload 0
iload 3
putfield com.ctc.wstx.sw.XmlWriter.mAutoCloseOutput:Z
10: aload 1
invokevirtual com.ctc.wstx.api.WriterConfig.getConfigFlags:()I
istore 4
start local 4 11: aload 0
iload 4
iconst_1
iand
ifeq 12
iconst_1
goto 13
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter
12: iconst_0
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter int
13: putfield com.ctc.wstx.sw.XmlWriter.mNsAware:Z
14: aload 0
iload 4
sipush 256
iand
ifeq 15
iconst_1
goto 16
StackMap locals:
StackMap stack: com.ctc.wstx.sw.XmlWriter
15: iconst_0
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter int
16: putfield com.ctc.wstx.sw.XmlWriter.mCheckStructure:Z
17: aload 0
iload 4
sipush 512
iand
ifeq 18
iconst_1
goto 19
StackMap locals:
StackMap stack: com.ctc.wstx.sw.XmlWriter
18: iconst_0
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter int
19: putfield com.ctc.wstx.sw.XmlWriter.mCheckContent:Z
20: aload 0
iload 4
sipush 1024
iand
ifeq 21
iconst_1
goto 22
StackMap locals:
StackMap stack: com.ctc.wstx.sw.XmlWriter
21: iconst_0
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter int
22: putfield com.ctc.wstx.sw.XmlWriter.mCheckNames:Z
23: aload 0
iload 4
sipush 4096
iand
ifeq 24
iconst_1
goto 25
StackMap locals:
StackMap stack: com.ctc.wstx.sw.XmlWriter
24: iconst_0
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter int
25: putfield com.ctc.wstx.sw.XmlWriter.mFixContent:Z
26: aload 0
iload 4
bipush 32
iand
ifeq 27
iconst_1
goto 28
StackMap locals:
StackMap stack: com.ctc.wstx.sw.XmlWriter
27: iconst_0
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter int
28: putfield com.ctc.wstx.sw.XmlWriter.mEscapeCR:Z
29: aload 0
iload 4
bipush 64
iand
ifeq 30
iconst_1
goto 31
StackMap locals:
StackMap stack: com.ctc.wstx.sw.XmlWriter
30: iconst_0
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter int
31: putfield com.ctc.wstx.sw.XmlWriter.mAddSpaceAfterEmptyElem:Z
32: aload 0
iload 4
sipush 16384
iand
ifeq 33
iconst_1
goto 34
StackMap locals:
StackMap stack: com.ctc.wstx.sw.XmlWriter
33: iconst_0
StackMap locals: com.ctc.wstx.sw.XmlWriter com.ctc.wstx.api.WriterConfig java.lang.String int int
StackMap stack: com.ctc.wstx.sw.XmlWriter int
34: putfield com.ctc.wstx.sw.XmlWriter.mUseDoubleQuotesInXmlDecl:Z
35: aload 0
getfield com.ctc.wstx.sw.XmlWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.getTextEscaperFactory:()Lorg/codehaus/stax2/io/EscapingWriterFactory;
astore 5
start local 5 36: aload 5
ifnonnull 39
37: aload 0
aconst_null
putfield com.ctc.wstx.sw.XmlWriter.mTextWriter:Ljava/io/Writer;
38: goto 44
39: StackMap locals: org.codehaus.stax2.io.EscapingWriterFactory
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mEncoding:Ljava/lang/String;
ifnull 40
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mEncoding:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 41
40: StackMap locals:
StackMap stack:
ldc "UTF-8"
goto 42
StackMap locals:
StackMap stack:
41: aload 0
getfield com.ctc.wstx.sw.XmlWriter.mEncoding:Ljava/lang/String;
42: StackMap locals:
StackMap stack: java.lang.String
astore 6
start local 6 43: aload 0
aload 5
aload 0
invokevirtual com.ctc.wstx.sw.XmlWriter.wrapAsRawWriter:()Ljava/io/Writer;
aload 6
invokeinterface org.codehaus.stax2.io.EscapingWriterFactory.createEscapingWriterFor:(Ljava/io/Writer;Ljava/lang/String;)Ljava/io/Writer;
putfield com.ctc.wstx.sw.XmlWriter.mTextWriter:Ljava/io/Writer;
end local 6 44: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.getAttrValueEscaperFactory:()Lorg/codehaus/stax2/io/EscapingWriterFactory;
astore 5
45: aload 5
ifnonnull 48
46: aload 0
aconst_null
putfield com.ctc.wstx.sw.XmlWriter.mAttrValueWriter:Ljava/io/Writer;
47: goto 53
48: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mEncoding:Ljava/lang/String;
ifnull 49
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mEncoding:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 50
49: StackMap locals:
StackMap stack:
ldc "UTF-8"
goto 51
StackMap locals:
StackMap stack:
50: aload 0
getfield com.ctc.wstx.sw.XmlWriter.mEncoding:Ljava/lang/String;
51: StackMap locals:
StackMap stack: java.lang.String
astore 6
start local 6 52: aload 0
aload 5
aload 0
invokevirtual com.ctc.wstx.sw.XmlWriter.wrapAsRawWriter:()Ljava/io/Writer;
aload 6
invokeinterface org.codehaus.stax2.io.EscapingWriterFactory.createEscapingWriterFor:(Ljava/io/Writer;Ljava/lang/String;)Ljava/io/Writer;
putfield com.ctc.wstx.sw.XmlWriter.mAttrValueWriter:Ljava/io/Writer;
end local 6 53: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 54 0 this Lcom/ctc/wstx/sw/XmlWriter;
0 54 1 cfg Lcom/ctc/wstx/api/WriterConfig;
0 54 2 encoding Ljava/lang/String;
0 54 3 autoclose Z
11 54 4 flags I
36 54 5 f Lorg/codehaus/stax2/io/EscapingWriterFactory;
43 44 6 enc Ljava/lang/String;
52 53 6 enc Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cfg
encoding
autoclose
public void enableXml11();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.ctc.wstx.sw.XmlWriter.mXml11:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/sw/XmlWriter;
protected abstract java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.io.Writer getWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public abstract void close(boolean);
descriptor: (Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
forceRealClose
public abstract void flush();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void writeRaw(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
offset
len
public void writeRaw(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual com.ctc.wstx.sw.XmlWriter.writeRaw:(Ljava/lang/String;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/sw/XmlWriter;
0 2 1 str Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
public abstract void writeRaw(char[], int, int);
descriptor: ([CII)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
offset
len
public abstract void writeRawAscii(char[], int, int);
descriptor: ([CII)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
offset
len
public abstract void writeCDataStart();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void writeCDataEnd();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void ();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void ();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void writePIStart(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
addSpace
public abstract void writePIEnd();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract int writeCData(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
data
public abstract int writeCData(char[], int, int);
descriptor: ([CII)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
cbuf
offset
len
public abstract void writeCharacters(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
public abstract void writeCharacters(char[], int, int);
descriptor: ([CII)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
offset
len
public abstract int (java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
data
public abstract void writeDTD(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
data
public abstract void writeDTD(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
rootName
systemId
publicId
internalSubset
public abstract void writeEntityReference(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
name
public abstract int writePI(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
target
data
public abstract void writeXmlDeclaration(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
version
enc
standalone
public abstract void writeStartTagStart(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
localName
public abstract void writeStartTagStart(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
localName
public abstract void writeStartTagEnd();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void writeStartTagEmptyEnd();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void writeEndTag(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
localName
public abstract void writeEndTag(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
prefix
localName
public abstract void writeAttribute(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
localName
value
public abstract void writeAttribute(java.lang.String, char[], int, int);
descriptor: (Ljava/lang/String;[CII)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
localName
value
offset
len
public abstract void writeAttribute(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
localName
value
public abstract void writeAttribute(java.lang.String, java.lang.String, char[], int, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;[CII)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
localName
value
offset
len
public abstract void writeTypedElement(org.codehaus.stax2.ri.typed.AsciiValueEncoder);
descriptor: (Lorg/codehaus/stax2/ri/typed/AsciiValueEncoder;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
enc
public abstract void writeTypedElement(org.codehaus.stax2.ri.typed.AsciiValueEncoder, org.codehaus.stax2.validation.XMLValidator, char[]);
descriptor: (Lorg/codehaus/stax2/ri/typed/AsciiValueEncoder;Lorg/codehaus/stax2/validation/XMLValidator;[C)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
enc
validator
copyBuffer
public abstract void writeTypedAttribute(java.lang.String, org.codehaus.stax2.ri.typed.AsciiValueEncoder);
descriptor: (Ljava/lang/String;Lorg/codehaus/stax2/ri/typed/AsciiValueEncoder;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
localName
enc
public abstract void writeTypedAttribute(java.lang.String, java.lang.String, org.codehaus.stax2.ri.typed.AsciiValueEncoder);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/codehaus/stax2/ri/typed/AsciiValueEncoder;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
localName
enc
public abstract void writeTypedAttribute(java.lang.String, java.lang.String, java.lang.String, org.codehaus.stax2.ri.typed.AsciiValueEncoder, org.codehaus.stax2.validation.XMLValidator, char[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/codehaus/stax2/ri/typed/AsciiValueEncoder;Lorg/codehaus/stax2/validation/XMLValidator;[C)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
localName
nsURI
enc
validator
copyBuffer
protected abstract int getOutputPtr();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public int getRow();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.sw.XmlWriter.mLocRowNr:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/sw/XmlWriter;
public int getColumn();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.ctc.wstx.sw.XmlWriter.getOutputPtr:()I
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mLocRowStartOffset:I
isub
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/sw/XmlWriter;
public int getAbsOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.sw.XmlWriter.mLocPastChars:I
aload 0
invokevirtual com.ctc.wstx.sw.XmlWriter.getOutputPtr:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/sw/XmlWriter;
public final java.io.Writer wrapAsRawWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.sw.XmlWriter.mRawWrapper:Lcom/ctc/wstx/sw/XmlWriterWrapper;
ifnonnull 2
1: aload 0
aload 0
invokestatic com.ctc.wstx.sw.XmlWriterWrapper.wrapWriteRaw:(Lcom/ctc/wstx/sw/XmlWriter;)Lcom/ctc/wstx/sw/XmlWriterWrapper;
putfield com.ctc.wstx.sw.XmlWriter.mRawWrapper:Lcom/ctc/wstx/sw/XmlWriterWrapper;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mRawWrapper:Lcom/ctc/wstx/sw/XmlWriterWrapper;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/sw/XmlWriter;
public final java.io.Writer wrapAsTextWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.sw.XmlWriter.mTextWrapper:Lcom/ctc/wstx/sw/XmlWriterWrapper;
ifnonnull 2
1: aload 0
aload 0
invokestatic com.ctc.wstx.sw.XmlWriterWrapper.wrapWriteCharacters:(Lcom/ctc/wstx/sw/XmlWriter;)Lcom/ctc/wstx/sw/XmlWriterWrapper;
putfield com.ctc.wstx.sw.XmlWriter.mTextWrapper:Lcom/ctc/wstx/sw/XmlWriterWrapper;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mTextWrapper:Lcom/ctc/wstx/sw/XmlWriterWrapper;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/sw/XmlWriter;
public final void verifyNameValidity(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
getstatic com.ctc.wstx.cfg.ErrorConsts.WERR_NAME_EMPTY:Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.XmlWriter.reportNwfName:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
getfield com.ctc.wstx.sw.XmlWriter.mXml11:Z
invokestatic com.ctc.wstx.io.WstxInputData.findIllegalNameChar:(Ljava/lang/String;ZZ)I
istore 3
start local 3 3: iload 3
iflt 18
4: iload 3
ifne 11
5: getstatic com.ctc.wstx.cfg.ErrorConsts.WERR_NAME_ILLEGAL_FIRST_CHAR:Ljava/lang/String;
6: iconst_2
anewarray java.lang.Object
dup
iconst_0
7: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.ctc.wstx.io.WstxInputData.getCharDesc:(C)Ljava/lang/String;
aastore
dup
iconst_1
8: aload 1
aastore
9: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 10: goto 17
end local 4 11: StackMap locals: int
StackMap stack:
getstatic com.ctc.wstx.cfg.ErrorConsts.WERR_NAME_ILLEGAL_CHAR:Ljava/lang/String;
12: iconst_3
anewarray java.lang.Object
dup
iconst_0
13: aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.ctc.wstx.io.WstxInputData.getCharDesc:(C)Ljava/lang/String;
aastore
dup
iconst_1
14: aload 1
aastore
dup
iconst_2
15: iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
16: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 17: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 4
invokevirtual com.ctc.wstx.sw.XmlWriter.reportNwfName:(Ljava/lang/String;)V
end local 4 18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/ctc/wstx/sw/XmlWriter;
0 19 1 name Ljava/lang/String;
0 19 2 checkNs Z
3 19 3 illegalIx I
10 11 4 msg Ljava/lang/String;
17 18 4 msg Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
name
checkNs
protected void reportNwfName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.ctc.wstx.sw.XmlWriter.throwOutputError:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/sw/XmlWriter;
0 2 1 msg Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
msg
protected void reportNwfContent(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.ctc.wstx.sw.XmlWriter.throwOutputError:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/sw/XmlWriter;
0 2 1 msg Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
msg
protected void throwOutputError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.ctc.wstx.sw.XmlWriter.flush:()V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 2
start local 2 3: new com.ctc.wstx.exc.WstxIOException
dup
aload 2
invokespecial com.ctc.wstx.exc.WstxIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
new javax.xml.stream.XMLStreamException
dup
aload 1
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/sw/XmlWriter;
0 5 1 msg Ljava/lang/String;
3 4 2 ioe Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
msg
protected void throwOutputError(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.XmlWriter.throwOutputError:(Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/sw/XmlWriter;
0 2 1 format Ljava/lang/String;
0 2 2 arg Ljava/lang/Object;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
format
arg
protected char handleInvalidChar(int);
descriptor: (I)C
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.ctc.wstx.sw.XmlWriter.flush:()V
1: aload 0
getfield com.ctc.wstx.sw.XmlWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.getInvalidCharHandler:()Lcom/ctc/wstx/api/InvalidCharHandler;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: invokestatic com.ctc.wstx.api.InvalidCharHandler$FailingHandler.getInstance:()Lcom/ctc/wstx/api/InvalidCharHandler$FailingHandler;
astore 2
4: StackMap locals: com.ctc.wstx.api.InvalidCharHandler
StackMap stack:
aload 2
iload 1
invokeinterface com.ctc.wstx.api.InvalidCharHandler.convertInvalidChar:(I)C
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/sw/XmlWriter;
0 5 1 c I
2 5 2 h Lcom/ctc/wstx/api/InvalidCharHandler;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
}
SourceFile: "XmlWriter.java"
InnerClasses:
public FailingHandler = com.ctc.wstx.api.InvalidCharHandler$FailingHandler of com.ctc.wstx.api.InvalidCharHandler