org.netbeans.modules.xml.xam/1 1.18.0 1

org.netbeans.modules.xml.xam.spi
Interface DocumentModelAccessProvider

All Superinterfaces:
ModelAccessProvider
All Known Implementing Classes:
ReadOnlyAccess.Provider

public interface DocumentModelAccessProvider
extends ModelAccessProvider

Provide document model access service.


Method Summary
 DocumentModelAccess createModelAccess(AbstractDocumentModel model)
          Returns the access to the given model source and model.
 Document loadSwingDocument(InputStream in)
          Loads the swing document from the given input stream.
 
Methods inherited from interface org.netbeans.modules.xml.xam.spi.ModelAccessProvider
getModelSourceKey
 

Method Detail

createModelAccess

DocumentModelAccess createModelAccess(AbstractDocumentModel model)
Returns the access to the given model source and model.


loadSwingDocument

Document loadSwingDocument(InputStream in)
                           throws IOException,
                                  BadLocationException
Loads the swing document from the given input stream.

Throws:
IOException
BadLocationException

org.netbeans.modules.xml.xam/1 1.18.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.