public interface LoadListener
Modifier and Type | Method and Description |
---|---|
void |
beginCopyElement()
Called when the loader has begun reading a copy element.
|
void |
beginDefineElement()
Called when the loader has begun reading a define element.
|
void |
beginIncludeElement()
Called when the loader has begun reading an include element.
|
void |
beginInstanceDeclarationElement(java.lang.Class<?> type)
Called when the loader has begun reading an instance declaration
element.
|
void |
beginPropertyElement(java.lang.String name,
java.lang.Class<?> sourceType)
Called when the loader has begun reading a property element.
|
void |
beginReferenceElement()
Called when the loader has begun reading a reference element.
|
void |
beginRootElement()
Called when the loader has begun reading a root element.
|
void |
beginScriptElement()
Called when the loader has begun reading a script element.
|
void |
beginUnknownStaticPropertyElement(java.lang.String name)
Called when the loader has begun reading a static property element
defined by an unknown type.
|
void |
beginUnknownTypeElement(java.lang.String name)
Called when the loader has begun reading an instance declaration
element for an unknown type.
|
void |
endElement(java.lang.Object value)
Called when the loader has finished reading an element.
|
void |
readComment(java.lang.String comment)
Called when the loader has read a comment.
|
void |
readEventHandlerAttribute(java.lang.String name,
java.lang.String value)
Called when the loader has read an event handler attribute.
|
void |
readImportProcessingInstruction(java.lang.String target)
Called when the loader has read an import processing instruction.
|
void |
readInternalAttribute(java.lang.String name,
java.lang.String value)
Called when the loader has read an internal attribute.
|
void |
readLanguageProcessingInstruction(java.lang.String language)
Called when the loader has read a language processing instruction.
|
void |
readPropertyAttribute(java.lang.String name,
java.lang.Class<?> sourceType,
java.lang.String value)
Called when the loader has read a property attribute.
|
void |
readUnknownStaticPropertyAttribute(java.lang.String name,
java.lang.String value)
Called when the loader has read an unknown static property attribute.
|
void readImportProcessingInstruction(java.lang.String target)
target
- the target of the importvoid readLanguageProcessingInstruction(java.lang.String language)
language
- the language instructionvoid readComment(java.lang.String comment)
comment
- the commentvoid beginInstanceDeclarationElement(java.lang.Class<?> type)
type
- the type of the elementvoid beginUnknownTypeElement(java.lang.String name)
name
- the name of the unknown typevoid beginIncludeElement()
void beginReferenceElement()
void beginCopyElement()
void beginRootElement()
void beginPropertyElement(java.lang.String name, java.lang.Class<?> sourceType)
name
- the name of the propertysourceType
- the type of the propertyvoid beginUnknownStaticPropertyElement(java.lang.String name)
name
- the name of the unknown typevoid beginScriptElement()
void beginDefineElement()
void readInternalAttribute(java.lang.String name, java.lang.String value)
name
- the name of the attributevalue
- the value of the attributevoid readPropertyAttribute(java.lang.String name, java.lang.Class<?> sourceType, java.lang.String value)
name
- the name of the attributesourceType
- the type of the attributevalue
- the value of the attributevoid readUnknownStaticPropertyAttribute(java.lang.String name, java.lang.String value)
name
- the name of the attributevalue
- the value of the attributevoid readEventHandlerAttribute(java.lang.String name, java.lang.String value)
name
- the name of the attributevalue
- the value of the attributevoid endElement(java.lang.Object value)
value
- the value of the element