com.aptana.ide.editor.html.parsing.nodes
Class HTMLDeclarationNode
java.lang.Object
com.aptana.ide.parsing.nodes.ParseNodeBase
com.aptana.ide.editor.html.parsing.nodes.HTMLParseNode
com.aptana.ide.editor.html.parsing.nodes.HTMLDeclarationNode
- All Implemented Interfaces:
- IRange, IParseNode
public class HTMLDeclarationNode
- extends HTMLParseNode
- Author:
- Robin Debreuil
| 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 |
HTMLDeclarationNode
public HTMLDeclarationNode(Lexeme startLexeme)
- XMLDeclarationNode
- Parameters:
startLexeme -
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.