com.borland.jbuilder.node
Class XMLFileNode

java.lang.Object
  |
  +--com.borland.primetime.node.Node
        |
        +--com.borland.primetime.node.UrlNode
              |
              +--com.borland.primetime.node.FileNode
                    |
                    +--com.borland.primetime.node.TextFileNode
                          |
                          +--com.borland.jbuilder.node.XMLFileNode

public class XMLFileNode
extends TextFileNode

XMLFileNode instances represent XML files.


Field Summary
static java.lang.String EXTENSION
           
static java.lang.String EXTENSION_XSL
           
static javax.swing.Icon ICON
           
 
Fields inherited from class com.borland.primetime.node.TextFileNode
EXTENSION, ICON
 
Fields inherited from class com.borland.primetime.node.Node
EMPTY_ARRAY, nodeListeners
 
Constructor Summary
XMLFileNode(Project project, Node parent, Url url)
          All FileNode subtypes must expose this constructor signature.
 
Method Summary
 javax.swing.Icon getDisplayIcon()
          Provides an image to be used for graphical representation of the node.
 java.lang.Class getEditorKitClass()
           
 java.lang.Class getTextStructureClass()
           
static void initOpenTool(byte majorVersion, byte minorVersion)
          OpenTool initialization
 
Methods inherited from class com.borland.primetime.node.TextFileNode
getEncoding, setCaretPosition
 
Methods inherited from class com.borland.primetime.node.FileNode
check, findBuffer, findFileNodeClass, findFileNodeClass, findFileNodeClass, getBuffer, getDisplayName, getDisplaySequence, getInputStream, getLongDisplayName, getOutputStream, getTimestamp, getUrl, isModified, isNew, isPersistant, isReadOnly, registerFileNodeClass, rename, revert, save, saveAs, setUrl
 
Methods inherited from class com.borland.primetime.node.UrlNode
getSuggestedUrl
 
Methods inherited from class com.borland.primetime.node.Node
addNodeListener, compareTo, dumpNodes, dumpNodes, dumpNodes, equals, fireNodeRenamed, getChildren, getDisplayChildren, getNodeID, getParent, getProject, getProperties, getProperty, getProperty, getProperty, hasChildren, hasDisplayChildren, hashCode, removeNodeListener, setParent, setProperty, setProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EXTENSION

public static final java.lang.String EXTENSION

ICON

public static final javax.swing.Icon ICON

EXTENSION_XSL

public static final java.lang.String EXTENSION_XSL
Constructor Detail

XMLFileNode

public XMLFileNode(Project project,
                   Node parent,
                   Url url)
            throws DuplicateNodeException
All FileNode subtypes must expose this constructor signature.
Method Detail

initOpenTool

public static void initOpenTool(byte majorVersion,
                                byte minorVersion)
OpenTool initialization

getEditorKitClass

public java.lang.Class getEditorKitClass()
Overrides:
getEditorKitClass in class TextFileNode

getDisplayIcon

public javax.swing.Icon getDisplayIcon()
Description copied from class: Node
Provides an image to be used for graphical representation of the node.
Overrides:
getDisplayIcon in class TextFileNode
Tags copied from class: Node
Returns:
An Icon instance.

getTextStructureClass

public java.lang.Class getTextStructureClass()
Overrides:
getTextStructureClass in class TextFileNode