|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.ecore.xmi.impl.BasicResourceHandler
public class BasicResourceHandler
This is the basic implementation of the ResourceHandler interface. Implementations need to extend this class to overwrite the ResourceHandler behaviour.
| Constructor Summary | |
|---|---|
BasicResourceHandler()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicResourceHandler()
| Method Detail |
|---|
public void preLoad(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options)
XMLResource.ResourceHandler
preLoad in interface XMLResource.ResourceHandlerresource - 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.ResourceHandlerresource - 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.ResourceHandlerresource - 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.ResourceHandlerresource - the resource being saved.outputStream - the stream being written.options - the save options.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||