public static interface XMLResource.ResourceHandler
Modifier and Type | Method and Description |
---|---|
void |
postLoad(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options)
Called after loading is done.
|
void |
postSave(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options)
Called before saving begins.
|
void |
preLoad(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options)
Called before loading begins.
|
void |
preSave(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options)
Called before saving begins.
|
void preLoad(XMLResource resource, java.io.InputStream inputStream, java.util.Map<?,?> options)
resource
- the resource being loaded.inputStream
- the stream being read.options
- the load options.void postLoad(XMLResource resource, java.io.InputStream inputStream, java.util.Map<?,?> options)
resource
- the resource being loaded.inputStream
- the stream being read.options
- the load options.void preSave(XMLResource resource, java.io.OutputStream outputStream, java.util.Map<?,?> options)
resource
- the resource being saved.outputStream
- the stream being written.options
- the save options.void postSave(XMLResource resource, java.io.OutputStream outputStream, java.util.Map<?,?> options)
resource
- the resource being saved.outputStream
- the stream being written.options
- the save options.