com.aptana.ide.editor.html.parsing.nodes
Class HTMLDeclarationNode

java.lang.Object
  extended by com.aptana.ide.parsing.nodes.ParseNodeBase
      extended by com.aptana.ide.editor.html.parsing.nodes.HTMLParseNode
          extended by com.aptana.ide.editor.html.parsing.nodes.HTMLDeclarationNode
All Implemented Interfaces:
IRange, IParseNode

public class HTMLDeclarationNode
extends HTMLParseNode

Author:
Robin Debreuil

Constructor Summary
HTMLDeclarationNode(Lexeme startLexeme)
          XMLDeclarationNode
 
Method Summary
 java.lang.String getEncoding()
           
 void getSource(SourceWriter writer)
          getSource
 java.lang.String getStandalone()
           
 java.lang.String getVersion()
           
 void setEncoding(java.lang.String encoding)
           
 void setStandalone(java.lang.String standalone)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class com.aptana.ide.parsing.nodes.ParseNodeBase
appendChild, containsOffset, createAttribute, getAttribute, getAttributeNode, getAttributes, getChild, getChildCount, getChildIndex, getChildren, getEndingLexeme, getEndingOffset, getLanguage, getLength, getName, getNodeAtOffset, getParent, getRootNode, getSource, getStartingLexeme, getStartingOffset, getText, getType, getTypeIndex, getXML, getXML, hasAttribute, hasAttributes, hasChildren, isEmpty, setAttribute, setEndingLexeme, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLDeclarationNode

public HTMLDeclarationNode(Lexeme startLexeme)
XMLDeclarationNode

Parameters:
startLexeme -
Method Detail

getEncoding

public java.lang.String getEncoding()
Returns:
Returns the encoding.

getSource

public void getSource(SourceWriter writer)
Description copied from interface: IParseNode
getSource

Specified by:
getSource in interface IParseNode
Overrides:
getSource in class ParseNodeBase
See Also:
ParseNodeBase.getSource(com.aptana.ide.io.SourceWriter)

getStandalone

public java.lang.String getStandalone()
Returns:
Returns the standalone.

getVersion

public java.lang.String getVersion()
Returns:
Returns the version.

setEncoding

public void setEncoding(java.lang.String encoding)
Parameters:
encoding - The encoding to set.

setStandalone

public void setStandalone(java.lang.String standalone)
Parameters:
standalone - The standalone to set.

setVersion

public void setVersion(java.lang.String version)
Parameters:
version - The version to set.