XslFoLoadOptions.ParsingErrorsHandlingTypes

遗产: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public static final class XslFoLoadOptions.ParsingErrorsHandlingTypes extends System.Enum

源 XSLFO 文档可能包含格式错误。此枚举列举了处理此类格式错误的可能策略

领域

场地描述
EnumSeparatorCharArray
InvokeCustomHandler这是最敏捷的方法 - 自定义代码必须提供(在 WarningCallback 属性中)在检测到格式错误时将调用的特殊处理程序。
ThrowExceptionImmediately在这种情况下,转换将立即停止,并在检测到第一个格式错误后立即抛出异常
TryIgnore在这种情况下,将指示转换器尝试继续转换并忽略发现的格式错误。

方法

MethodDescription
Clone()
CloneTo(T arg0)
CloneTo(System.Enum arg0)
equals(Object arg0)
format(System.Type arg0, Object arg1, String arg2)
format(Class arg0, long arg1, String arg2)
getClass()
getName(Class arg0, long arg1)
getNames(System.Type arg0)
getNames(Class arg0)
getUnderlyingType(System.Type arg0)
getUnderlyingType(Class arg0)
getValue(Class arg0, String arg1)
getValues(System.Type arg0)
get_Caption()
get_Value()
hashCode()
isDefined(System.Type arg0, Object arg1)
isDefined(System.Type arg0, String arg1)
isDefined(System.Type arg0, long arg1)
isDefined(Class arg0, long arg1)
notify()
notifyAll()
parse(System.Type arg0, String arg1)
parse(System.Type arg0, String arg1, Boolean arg2)
parse(Class arg0, String arg1)
parse(Class arg0, String arg1, Boolean arg2)
register(System.Enum.AbstractEnum arg0)
toObject(System.Type arg0, Object arg1)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

EnumSeparatorCharArray

public static final char[] EnumSeparatorCharArray

InvokeCustomHandler

public static final int InvokeCustomHandler

这是最敏捷的方法 - 自定义代码必须提供(在 WarningCallback 属性中)在检测到格式错误时将调用的特殊处理程序。该处理程序可以记录或计算错误等,并将决定是否可以继续处理这个或那个错误。

ThrowExceptionImmediately

public static final int ThrowExceptionImmediately

在这种情况下,转换将立即停止,并在检测到第一个格式错误后立即抛出异常

TryIgnore

public static final int TryIgnore

在这种情况下,将指示转换器尝试继续转换并忽略发现的格式错误。在这种情况下,不能保证成功,转换器稍后可能会出现严重问题,在糟糕的情况下,anf 将抛出异常并列出已发现的格式错误。

Clone()

public System.Enum Clone()

退货: com.aspose.ms.System.枚举

CloneTo(T arg0)

public abstract void CloneTo(T arg0)

参数:

范围类型描述
arg0T

CloneTo(System.Enum arg0)

public void CloneTo(System.Enum arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Enum

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

format(System.Type arg0, Object arg1, String arg2)

public static String format(System.Type arg0, Object arg1, String arg2)

参数:

范围类型描述
arg0com.aspose.ms.System.Type
arg1java.lang.Object
arg2java.lang.String

退货: java.lang.字符串

format(Class arg0, long arg1, String arg2)

public static String format(Class<?> arg0, long arg1, String arg2)

参数:

范围类型描述
arg0java.lang.Class
arg1long
arg2java.lang.String

退货: java.lang.字符串

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getName(Class arg0, long arg1)

public static String getName(Class<?> arg0, long arg1)

参数:

范围类型描述
arg0java.lang.Class
arg1long

退货: java.lang.字符串

getNames(System.Type arg0)

public static String[] getNames(System.Type arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Type

退货: java.lang.字符串[]

getNames(Class arg0)

public static Collection<String> getNames(Class<?> arg0)

参数:

范围类型描述
arg0java.lang.Class

退货: Collection

getUnderlyingType(System.Type arg0)

public static System.Type getUnderlyingType(System.Type arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Type

退货: com.aspose.ms.System.类型

getUnderlyingType(Class arg0)

public static Class<? extends Number> getUnderlyingType(Class<?> arg0)

参数:

范围类型描述
arg0java.lang.Class

退货: java.lang.Class<?扩展 java.lang.Number>

getValue(Class arg0, String arg1)

public static long getValue(Class<?> arg0, String arg1)

参数:

范围类型描述
arg0java.lang.Class
arg1java.lang.String

退货:

getValues(System.Type arg0)

public static System.Array getValues(System.Type arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Type

退货: com.aspose.ms.System.数组

get_Caption()

public String get_Caption()

退货: java.lang.字符串

get_Value()

public long get_Value()

退货:

hashCode()

public native int hashCode()

退货: 整数

isDefined(System.Type arg0, Object arg1)

public static boolean isDefined(System.Type arg0, Object arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Type
arg1java.lang.Object

退货: 布尔值

isDefined(System.Type arg0, String arg1)

public static boolean isDefined(System.Type arg0, String arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Type
arg1java.lang.String

退货: 布尔值

isDefined(System.Type arg0, long arg1)

public static boolean isDefined(System.Type arg0, long arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Type
arg1long

退货: 布尔值

isDefined(Class arg0, long arg1)

public static boolean isDefined(Class<?> arg0, long arg1)

参数:

范围类型描述
arg0java.lang.Class
arg1long

退货: 布尔值

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

parse(System.Type arg0, String arg1)

public static long parse(System.Type arg0, String arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Type
arg1java.lang.String

退货:

parse(System.Type arg0, String arg1, Boolean arg2)

public static long parse(System.Type arg0, String arg1, Boolean arg2)

参数:

范围类型描述
arg0com.aspose.ms.System.Type
arg1java.lang.String
arg2java.lang.Boolean

退货:

parse(Class arg0, String arg1)

public static long parse(Class<?> arg0, String arg1)

参数:

范围类型描述
arg0java.lang.Class
arg1java.lang.String

退货:

parse(Class arg0, String arg1, Boolean arg2)

public static long parse(Class<?> arg0, String arg1, Boolean arg2)

参数:

范围类型描述
arg0java.lang.Class
arg1java.lang.String
arg2java.lang.Boolean

退货:

register(System.Enum.AbstractEnum arg0)

public static void register(System.Enum.AbstractEnum arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Enum.AbstractEnum

toObject(System.Type arg0, Object arg1)

public static Object toObject(System.Type arg0, Object arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Type
arg1java.lang.Object

退货: java.lang.Object

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int