📄 jco$record$xmlwriter.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: JCO.java
package com.sap.mw.jco;
import com.sap.mw.jco.util.XMLWriterBase;
import java.io.IOException;
import java.io.Writer;
// Referenced classes of package com.sap.mw.jco:
// JCO
protected static class JCO$Record$XMLWriter extends XMLWriterBase
{
public static String createXMLDocument(m_record record, String root_tag)
{
return createXMLDocument(record, root_tag, null, null);
}
public static String createXMLDocument(JCO$Record record, String root_tag, String namespace, String namespace_urn)
{
String document = null;
try
{
JCO$Record$XMLWriter w = new JCO$Record$XMLWriter();
w.encode(record, root_tag, namespace, namespace_urn);
document = w.toString();
if(JCO.trace_level > 9)
{
StringBuffer buffer = new StringBuffer(document);
for(int i = 0; i < buffer.length(); i += 80)
buffer.insert(i, "\n");
JCO.fireTrace(10, "[JAV-LAYER] JCO.Record.XMLWriter.createXMLDocument(" + record.getName() + ") " + buffer);
}
}
catch(IOException ex)
{
throw new on(ex.getMessage());
}
return document;
}
public static void writeXMLDocument(on record, String root_tag, Writer writer)
throws IOException
{
JCO$Record$XMLWriter w = new JCO$Record$XMLWriter(writer);
w.encode(record, root_tag,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -