public class BaseXMLUtils
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
protected static ClassNameParser |
createCompatibleParser() |
protected static ClassNameParser |
createEmbedParser() |
static java.lang.String |
getRectangleText(java.awt.Rectangle rec)
transfer rectangle to text.
|
static boolean |
isFRFontTagName(java.lang.String tagName)
为了兼容,因为Font被修改过3次, CellFont, ReportFont和FRFont.
|
protected static java.lang.Class<?> |
parseClazz(XMLableReader reader) |
static Style |
readAuthorityStyle(XMLableReader reader) |
static Background |
readBackground(XMLableReader reader)
Read background
|
static Style |
readBorderStyle(XMLableReader reader,
Style baseStyle)
Read BorderStyle.
|
static DynamicNumberList |
readDynamicNumberList(XMLableReader reader) |
static java.text.Format |
readFormat(XMLableReader reader)
Read format.
|
static FRFont |
readFRFont(XMLableReader reader)
Read FRfont.
|
static Style |
readFullStyle(XMLableReader reader)
Read Full Style.
|
static Parameter |
readMultiFieldParameter(XMLableReader reader)
Read multifieldparameter.
|
static Parameter |
readParameter(XMLableReader reader)
Read parameter.
|
static Parameter[] |
readParameters(XMLableReader reader)
Read parameters.
|
static java.awt.Rectangle |
readRectangle(java.lang.String recText)
rarse rectangle.
|
static StoreProcedureParameter |
readStoreParameter(XMLableReader reader)
read StoreProcedureParameter
|
static StoreProcedureParameter[] |
readStoreParameters(XMLableReader reader)
read StoreProcedureParameters
|
static java.awt.TexturePaint |
readTexturePaint(XMLableReader reader)
Read background
|
static java.lang.Object |
readXMLFile(java.io.InputStream in,
XMLFileReader fileReader) |
static void |
writeBackground(XMLPrintWriter writer,
Background background)
Write background.
|
static void |
writeBorderStyle(XMLPrintWriter writer,
Style style)
Write Border
|
static void |
writeDynamicNumberList(XMLPrintWriter writer,
DynamicNumberList valueList) |
static void |
writeFormat(XMLPrintWriter writer,
java.text.Format format)
Write format.ReportXMLUtils转过来的.
|
static void |
writeFRFont(XMLPrintWriter writer,
FRFont frFont)
Write FRFont
|
static void |
writeParameter(XMLPrintWriter writer,
ParameterProvider param)
将参数写入xml
|
static void |
writeParameters(XMLPrintWriter writer,
ParameterProvider[] parameters)
将一系列参数写入xml
|
static void |
writeStyle(XMLPrintWriter writer,
Style style) |
static void |
writeStyle(XMLPrintWriter writer,
Style style,
boolean writeFullNameStyle)
Write Style
|
static void |
writeTexturePaint(XMLPrintWriter writer,
java.awt.TexturePaint texturePaint)
Write texture paint.
|
static void |
writeXMLFile(java.io.OutputStream out,
XMLWriter fileWriter) |
public static java.lang.Object readXMLFile(java.io.InputStream in, XMLFileReader fileReader) throws java.lang.Exception
java.lang.Exception
public static void writeXMLFile(java.io.OutputStream out, XMLWriter fileWriter)
public static Background readBackground(XMLableReader reader)
protected static java.lang.Class<?> parseClazz(XMLableReader reader) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
protected static ClassNameParser createEmbedParser()
protected static ClassNameParser createCompatibleParser()
public static void writeFormat(XMLPrintWriter writer, java.text.Format format)
public static java.text.Format readFormat(XMLableReader reader)
public static void writeBackground(XMLPrintWriter writer, Background background)
public static FRFont readFRFont(XMLableReader reader)
public static void writeFRFont(XMLPrintWriter writer, FRFont frFont)
public static boolean isFRFontTagName(java.lang.String tagName)
public static void writeTexturePaint(XMLPrintWriter writer, java.awt.TexturePaint texturePaint)
public static java.awt.TexturePaint readTexturePaint(XMLableReader reader)
public static java.awt.Rectangle readRectangle(java.lang.String recText)
public static java.lang.String getRectangleText(java.awt.Rectangle rec)
public static Parameter[] readParameters(XMLableReader reader)
public static Parameter readParameter(XMLableReader reader)
public static Parameter readMultiFieldParameter(XMLableReader reader)
public static void writeParameters(XMLPrintWriter writer, ParameterProvider[] parameters)
writer
- xml写入对象parameters
- 要写入xml的参数数组public static void writeParameter(XMLPrintWriter writer, ParameterProvider param)
writer
- xml写入对象param
- 要写入xml的参数public static StoreProcedureParameter[] readStoreParameters(XMLableReader reader)
reader
- public static StoreProcedureParameter readStoreParameter(XMLableReader reader)
reader
- public static Style readAuthorityStyle(XMLableReader reader)
public static Style readFullStyle(XMLableReader reader)
public static Style readBorderStyle(XMLableReader reader, Style baseStyle)
public static void writeStyle(XMLPrintWriter writer, Style style)
public static void writeStyle(XMLPrintWriter writer, Style style, boolean writeFullNameStyle)
public static void writeBorderStyle(XMLPrintWriter writer, Style style)
public static void writeDynamicNumberList(XMLPrintWriter writer, DynamicNumberList valueList)
public static DynamicNumberList readDynamicNumberList(XMLableReader reader)