public class BasicResourceHandler extends java.lang.Object implements XMLResource.ResourceHandler
Constructor and Description |
---|
BasicResourceHandler() |
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.
|
public void preLoad(XMLResource resource, java.io.InputStream inputStream, java.util.Map<?,?> options)
XMLResource.ResourceHandler
preLoad
in interface XMLResource.ResourceHandler
resource
- the resource being loaded.inputStream
- the stream being read.options
- the load options.public void postLoad(XMLResource resource, java.io.InputStream inputStream, java.util.Map<?,?> options)
XMLResource.ResourceHandler
postLoad
in interface XMLResource.ResourceHandler
resource
- the resource being loaded.inputStream
- the stream being read.options
- the load options.public void preSave(XMLResource resource, java.io.OutputStream outputStream, java.util.Map<?,?> options)
XMLResource.ResourceHandler
preSave
in interface XMLResource.ResourceHandler
resource
- the resource being saved.outputStream
- the stream being written.options
- the save options.public void postSave(XMLResource resource, java.io.OutputStream outputStream, java.util.Map<?,?> options)
XMLResource.ResourceHandler
postSave
in interface XMLResource.ResourceHandler
resource
- the resource being saved.outputStream
- the stream being written.options
- the save options.