com.borland.jbuilder.node
Class HTMLFileNode

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.HTMLFileNode
Direct Known Subclasses:
JspFileNode

public class HTMLFileNode
extends TextFileNode
implements HTMLParserCallBack

HTMLFileNode instances represent HTML and ASP files.


Field Summary
static java.lang.String EXTENSION
           
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
HTMLFileNode(Project project, Node parent, Url url)
          All FileNode subtypes must expose this constructor signature.
 
Method Summary
 void endHTMLTag(java.lang.String name, int line, int col)
           
 void endText(java.lang.String value)
           
 javax.swing.Icon getDisplayIcon()
          Provides an image to be used for graphical representation of the node.
 java.lang.Class getEditorKitClass()
           
 java.lang.String getEncoding()
          Describes the encoding used to read and write this text file.
 JspCompiledPage getJspCompiledPage()
           
 java.lang.Class getTextStructureClass()
           
static void initOpenTool(byte majorVersion, byte minorVersion)
          OpenTool initialization
 void parseApplet(java.util.ArrayList attributes, java.util.ArrayList names, java.util.ArrayList values)
           
 boolean searchForApplet()
           
 void setJspCompiledPage(JspCompiledPage j)
           
 void startHTMLTag(java.lang.String name, java.util.ArrayList attributes, int line, int col)
           
 void startText(java.lang.String value, int line, int col)
           
 
Methods inherited from class com.borland.primetime.node.TextFileNode
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
Constructor Detail

HTMLFileNode

public HTMLFileNode(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

getEncoding

public java.lang.String getEncoding()
Description copied from class: TextFileNode
Describes the encoding used to read and write this text file.
Overrides:
getEncoding in class TextFileNode
Tags copied from class: TextFileNode
Returns:
A Java encoding name, or null if the default encoding should be used.

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

searchForApplet

public boolean searchForApplet()

parseApplet

public void parseApplet(java.util.ArrayList attributes,
                        java.util.ArrayList names,
                        java.util.ArrayList values)

startHTMLTag

public void startHTMLTag(java.lang.String name,
                         java.util.ArrayList attributes,
                         int line,
                         int col)
Specified by:
startHTMLTag in interface HTMLParserCallBack

endHTMLTag

public void endHTMLTag(java.lang.String name,
                       int line,
                       int col)
                throws HTMLParseException
Specified by:
endHTMLTag in interface HTMLParserCallBack

startText

public void startText(java.lang.String value,
                      int line,
                      int col)
Specified by:
startText in interface HTMLParserCallBack

endText

public void endText(java.lang.String value)
Specified by:
endText in interface HTMLParserCallBack

setJspCompiledPage

public void setJspCompiledPage(JspCompiledPage j)

getJspCompiledPage

public JspCompiledPage getJspCompiledPage()