org.attoparser.markup.dom.impl
Class XmlDeclaration

Object
  extended by org.attoparser.markup.dom.impl.AbstractNode
      extended by org.attoparser.markup.dom.impl.XmlDeclaration
All Implemented Interfaces:
Serializable, INode, IXmlDeclaration

public class XmlDeclaration
extends AbstractNode
implements IXmlDeclaration, Serializable

Default implementation of the IXmlDeclaration interface.

Since:
1.1
Author:
Daniel Fernández
See Also:
Serialized Form

Constructor Summary
XmlDeclaration(String version, String encoding, String standalone)
           
 
Method Summary
 XmlDeclaration cloneNode(INestableNode parent)
           
 String getEncoding()
           
 String getStandalone()
           
 String getVersion()
           
 void setEncoding(String encoding)
           
 void setStandalone(String standalone)
           
 void setVersion(String version)
           
 
Methods inherited from class org.attoparser.markup.dom.impl.AbstractNode
getCol, getLine, getParent, hasCol, hasLine, hasParent, setCol, setLine, setParent
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.attoparser.markup.dom.INode
getCol, getLine, getParent, hasCol, hasLine, hasParent, setCol, setLine, setParent
 

Constructor Detail

XmlDeclaration

public XmlDeclaration(String version,
                      String encoding,
                      String standalone)
Method Detail

getVersion

public String getVersion()
Specified by:
getVersion in interface IXmlDeclaration

setVersion

public void setVersion(String version)
Specified by:
setVersion in interface IXmlDeclaration

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface IXmlDeclaration

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface IXmlDeclaration

getStandalone

public String getStandalone()
Specified by:
getStandalone in interface IXmlDeclaration

setStandalone

public void setStandalone(String standalone)
Specified by:
setStandalone in interface IXmlDeclaration

cloneNode

public XmlDeclaration cloneNode(INestableNode parent)
Specified by:
cloneNode in interface INode


Copyright © 2012 The ATTOPARSER team. All Rights Reserved.