-
public interface LoadListener加载侦听器界面。- 从以下版本开始:
- 9
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 voidbeginCopyElement()当加载程序开始读取复制元素时调用。voidbeginDefineElement()当加载程序已经开始阅读define元素时被调用。voidbeginIncludeElement()当加载程序开始读取包含元素时调用。voidbeginInstanceDeclarationElement(Class<?> type)当加载程序开始读取实例声明元素时调用。voidbeginPropertyElement(String name, Class<?> sourceType)当加载程序开始读取属性元素时调用。voidbeginReferenceElement()当加载程序开始读取参考元素时调用。voidbeginRootElement()当加载程序开始读取根元素时调用。voidbeginScriptElement()当加载程序开始读取脚本元素时调用。voidbeginUnknownStaticPropertyElement(String name)当加载程序开始读取由未知类型定义的静态属性元素时调用。voidbeginUnknownTypeElement(String name)当加载程序已经开始读取未知类型的实例声明元素时调用。voidendElement(Object value)加载程序完成读取元素后调用。voidreadComment(String comment)当加载程序读取注释时调用。voidreadEventHandlerAttribute(String name, String value)当加载程序读取事件处理程序属性时调用。voidreadImportProcessingInstruction(String target)当加载程序读取导入处理指令时调用。voidreadInternalAttribute(String name, String value)加载程序读取内部属性时调用。voidreadLanguageProcessingInstruction(String language)当加载程序读取语言处理指令时调用。voidreadPropertyAttribute(String name, Class<?> sourceType, String value)加载程序读取属性属性时调用。voidreadUnknownStaticPropertyAttribute(String name, String value)当加载程序读取未知的静态属性属性时调用。
-
-
-
方法详细信息
-
readImportProcessingInstruction
void readImportProcessingInstruction(String target)
当加载程序读取导入处理指令时调用。- 参数
-
target- 进口目标
-
readLanguageProcessingInstruction
void readLanguageProcessingInstruction(String language)
当加载程序读取语言处理指令时调用。- 参数
-
language- 语言教学
-
readComment
void readComment(String comment)
当加载程序读取注释时调用。- 参数
-
comment- 评论
-
beginInstanceDeclarationElement
void beginInstanceDeclarationElement(Class<?> type)
当加载程序开始读取实例声明元素时调用。- 参数
-
type- 元素的类型
-
beginUnknownTypeElement
void beginUnknownTypeElement(String name)
当加载程序已经开始读取未知类型的实例声明元素时调用。- 参数
-
name- 未知类型的名称
-
beginIncludeElement
void beginIncludeElement()
当加载程序开始读取包含元素时调用。
-
beginReferenceElement
void beginReferenceElement()
当加载程序开始读取参考元素时调用。
-
beginCopyElement
void beginCopyElement()
当加载程序开始读取复制元素时调用。
-
beginRootElement
void beginRootElement()
当加载程序开始读取根元素时调用。
-
beginPropertyElement
void beginPropertyElement(String name, Class<?> sourceType)
当加载程序开始读取属性元素时调用。- 参数
-
name- 物业的名称 -
sourceType- 属性的类型
-
beginUnknownStaticPropertyElement
void beginUnknownStaticPropertyElement(String name)
当加载程序开始读取由未知类型定义的静态属性元素时调用。- 参数
-
name- 未知类型的名称
-
beginScriptElement
void beginScriptElement()
当加载程序开始读取脚本元素时调用。
-
beginDefineElement
void beginDefineElement()
当加载程序已经开始阅读define元素时被调用。
-
readInternalAttribute
void readInternalAttribute(String name, String value)
加载程序读取内部属性时调用。- 参数
-
name- 属性的名称 -
value- 属性的值
-
readPropertyAttribute
void readPropertyAttribute(String name, Class<?> sourceType, String value)
加载程序读取属性属性时调用。- 参数
-
name- 属性的名称 -
sourceType- 属性的类型 -
value- 属性的值
-
readUnknownStaticPropertyAttribute
void readUnknownStaticPropertyAttribute(String name, String value)
当加载程序读取未知的静态属性属性时调用。- 参数
-
name- 属性的名称 -
value- 属性的值
-
readEventHandlerAttribute
void readEventHandlerAttribute(String name, String value)
当加载程序读取事件处理程序属性时调用。- 参数
-
name- 属性的名称 -
value- 属性的值
-
endElement
void endElement(Object value)
加载程序完成读取元素后调用。- 参数
-
value- 元素的值
-
-