public interface IDocType extends ITemplateEvent
Event interface defining a DOCTYPE clause.
Note that any implementations of this interface should be immutable.
Modifier and Type | Method and Description |
---|---|
String |
getDocType()
Returns the complete DOCTYPE clause as a String.
|
String |
getElementName()
Returns the root element name in the DOCTYPE clause.
|
String |
getInternalSubset()
Returns the internal subset in the DOCTYPE, if it has been specified.
|
String |
getKeyword()
Returns the keyword of the DOCTYPE clause in its original
case (usually DOCTYPE).
|
String |
getPublicId()
Returns the PUBLIC ID, if it has been specified.
|
String |
getSystemId()
Returns the SYSTEM ID, if it has been specified.
|
String |
getType()
Returns the type of DOCTYPE, usually null, PUBLIC or SYSTEM.
|
accept, getCol, getLine, getTemplateName, hasLocation, write
String getKeyword()
Returns the keyword of the DOCTYPE clause in its original case (usually DOCTYPE).
String getElementName()
Returns the root element name in the DOCTYPE clause. Will normally be html in HTML or XHTML documents.
String getType()
Returns the type of DOCTYPE, usually null, PUBLIC or SYSTEM.
String getPublicId()
Returns the PUBLIC ID, if it has been specified.
String getSystemId()
Returns the SYSTEM ID, if it has been specified.
String getInternalSubset()
Returns the internal subset in the DOCTYPE, if it has been specified.
String getDocType()
Returns the complete DOCTYPE clause as a String.
Copyright © 2016 The THYMELEAF team. All rights reserved.