public interface LoadListener
Load listener interface.
- Since:
- 9
- 
Method SummaryModifier and Type Method Description voidbeginCopyElement()Called when the loader has begun reading a copy element.voidbeginDefineElement()Called when the loader has begun reading a define element.voidbeginIncludeElement()Called when the loader has begun reading an include element.voidbeginInstanceDeclarationElement(Class<?> type)Called when the loader has begun reading an instance declaration element.voidbeginPropertyElement(String name, Class<?> sourceType)Called when the loader has begun reading a property element.voidbeginReferenceElement()Called when the loader has begun reading a reference element.voidbeginRootElement()Called when the loader has begun reading a root element.voidbeginScriptElement()Called when the loader has begun reading a script element.voidbeginUnknownStaticPropertyElement(String name)Called when the loader has begun reading a static property element defined by an unknown type.voidbeginUnknownTypeElement(String name)Called when the loader has begun reading an instance declaration element for an unknown type.voidendElement(Object value)Called when the loader has finished reading an element.voidreadComment(String comment)Called when the loader has read a comment.voidreadEventHandlerAttribute(String name, String value)Called when the loader has read an event handler attribute.voidreadImportProcessingInstruction(String target)Called when the loader has read an import processing instruction.voidreadInternalAttribute(String name, String value)Called when the loader has read an internal attribute.voidreadLanguageProcessingInstruction(String language)Called when the loader has read a language processing instruction.voidreadPropertyAttribute(String name, Class<?> sourceType, String value)Called when the loader has read a property attribute.voidreadUnknownStaticPropertyAttribute(String name, String value)Called when the loader has read an unknown static property attribute.
- 
Method Details- 
readImportProcessingInstructionCalled when the loader has read an import processing instruction.- Parameters:
- target- the target of the import
 
- 
readLanguageProcessingInstructionCalled when the loader has read a language processing instruction.- Parameters:
- language- the language instruction
 
- 
readCommentCalled when the loader has read a comment.- Parameters:
- comment- the comment
 
- 
beginInstanceDeclarationElementCalled when the loader has begun reading an instance declaration element.- Parameters:
- type- the type of the element
 
- 
beginUnknownTypeElementCalled when the loader has begun reading an instance declaration element for an unknown type.- Parameters:
- name- the name of the unknown type
 
- 
beginIncludeElementvoid beginIncludeElement()Called when the loader has begun reading an include element.
- 
beginReferenceElementvoid beginReferenceElement()Called when the loader has begun reading a reference element.
- 
beginCopyElementvoid beginCopyElement()Called when the loader has begun reading a copy element.
- 
beginRootElementvoid beginRootElement()Called when the loader has begun reading a root element.
- 
beginPropertyElementCalled when the loader has begun reading a property element.- Parameters:
- name- the name of the property
- sourceType- the type of the property
 
- 
beginUnknownStaticPropertyElementCalled when the loader has begun reading a static property element defined by an unknown type.- Parameters:
- name- the name of the unknown type
 
- 
beginScriptElementvoid beginScriptElement()Called when the loader has begun reading a script element.
- 
beginDefineElementvoid beginDefineElement()Called when the loader has begun reading a define element.
- 
readInternalAttributeCalled when the loader has read an internal attribute.- Parameters:
- name- the name of the attribute
- value- the value of the attribute
 
- 
readPropertyAttributeCalled when the loader has read a property attribute.- Parameters:
- name- the name of the attribute
- sourceType- the type of the attribute
- value- the value of the attribute
 
- 
readUnknownStaticPropertyAttributeCalled when the loader has read an unknown static property attribute.- Parameters:
- name- the name of the attribute
- value- the value of the attribute
 
- 
readEventHandlerAttributeCalled when the loader has read an event handler attribute.- Parameters:
- name- the name of the attribute
- value- the value of the attribute
 
- 
endElementCalled when the loader has finished reading an element.- Parameters:
- value- the value of the element
 
 
-