Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.xml
Class XMLDocument  view XMLDocument download XMLDocument.java

java.lang.Object
  extended byjavax.ide.model.Element
      extended byjavax.ide.model.Document
          extended byjavax.ide.model.text.TextDocument
              extended byjavax.ide.model.xml.XMLDocument

public class XMLDocument
extends javax.ide.model.text.TextDocument

The XMLDocument class.


Field Summary
 
Fields inherited from class javax.ide.model.Document
 
Constructor Summary
XMLDocument()
           
 
Method Summary
private  javax.ide.model.spi.XMLDocumentImpl getXMLDocumentImpl()
           
 XMLModel getXMLModel(javax.ide.model.Project project)
          Fetches the XMLModel.
 
Methods inherited from class javax.ide.model.text.TextDocument
getTextModel
 
Methods inherited from class javax.ide.model.Document
addDocumentListener, close, equals, getDisplayInfo, getElementImpl, getReader, getTimestamp, getURI, hashCode, isDirty, isNew, isOpen, isReadOnly, markDirty, open, removeDocumentListener, save, setDisplayInfo, setURI
 
Methods inherited from class javax.ide.model.Element
getIcon, getLabel, getLongLabel, getToolTip
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDocument

public XMLDocument()
Method Detail

getXMLDocumentImpl

private javax.ide.model.spi.XMLDocumentImpl getXMLDocumentImpl()

getXMLModel

public final XMLModel getXMLModel(javax.ide.model.Project project)
                           throws java.io.IOException
Fetches the XMLModel. This calls opens the document and loads its contents. The XMLModel instance returned lives while clients refer to it. Once a model instance is not referred by clients it may be garbage collected at any time.