public interface IXMLDeclaration extends ITemplateEvent
Event interface defining an XML declaration.
Note that any implementations of this interface should be immutable.
Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
Returns the value of the encoding attribute specified at the
XML Declaration (if specified).
|
String |
getKeyword()
Returns the keyword of the XML Declaration in its original
case (usually xml).
|
String |
getStandalone()
Returns the value of the standalone attribute specified at the
XML Declaration (if specified).
|
String |
getVersion()
Returns the XML version specified at the XML Declaration (if specified).
|
String |
getXmlDeclaration()
Returns the complete XML Declaration as a String.
|
accept, getCol, getLine, getTemplateName, hasLocation, write
String getKeyword()
Returns the keyword of the XML Declaration in its original case (usually xml).
String getVersion()
Returns the XML version specified at the XML Declaration (if specified).
String getEncoding()
Returns the value of the encoding attribute specified at the XML Declaration (if specified).
String getStandalone()
Returns the value of the standalone attribute specified at the XML Declaration (if specified).
String getXmlDeclaration()
Returns the complete XML Declaration as a String.
Copyright © 2016 The THYMELEAF team. All rights reserved.