Package org.thymeleaf.engine
Class StandaloneElementTag
java.lang.Object
org.thymeleaf.engine.AbstractTemplateEvent
org.thymeleaf.engine.AbstractElementTag
org.thymeleaf.engine.AbstractProcessableElementTag
org.thymeleaf.engine.StandaloneElementTag
- All Implemented Interfaces:
IEngineTemplateEvent,IElementTag,IProcessableElementTag,IStandaloneElementTag,ITemplateEvent
final class StandaloneElementTag
extends AbstractProcessableElementTag
implements IStandaloneElementTag, IEngineTemplateEvent
- Since:
- 3.0.0
-
Field Summary
FieldsFields inherited from class org.thymeleaf.engine.AbstractProcessableElementTag
attributesFields inherited from class org.thymeleaf.engine.AbstractElementTag
elementCompleteName, elementDefinition, synthetic, templateModeFields inherited from class org.thymeleaf.engine.AbstractTemplateEvent
col, line, templateName -
Constructor Summary
ConstructorsConstructorDescriptionStandaloneElementTag(TemplateMode templateMode, ElementDefinition elementDefinition, String elementCompleteName, Attributes attributes, boolean synthetic, boolean minimized) StandaloneElementTag(TemplateMode templateMode, ElementDefinition elementDefinition, String elementCompleteName, Attributes attributes, boolean synthetic, boolean minimized, String templateName, int line, int col) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IModelVisitor visitor) Accept a visitor, implementation ofIModelVisitor.(package private) static StandaloneElementTagasEngineStandaloneElementTag(IStandaloneElementTag standaloneElementTag) voidbeHandled(ITemplateHandler handler) boolean(package private) StandaloneElementTagremoveAttribute(String completeName) (package private) StandaloneElementTagremoveAttribute(String prefix, String name) (package private) StandaloneElementTagremoveAttribute(AttributeName attributeName) (package private) StandaloneElementTagreplaceAttribute(AttributeDefinitions attributeDefinitions, AttributeName oldName, AttributeDefinition newAttributeDefinition, String completeNewName, String value, AttributeValueQuotes valueQuotes) (package private) StandaloneElementTagsetAttribute(AttributeDefinitions attributeDefinitions, AttributeDefinition attributeDefinition, String completeName, String value, AttributeValueQuotes valueQuotes) voidWrites this event to the specifiedWriter.Methods inherited from class org.thymeleaf.engine.AbstractProcessableElementTag
getAllAttributes, getAssociatedProcessors, getAttribute, getAttribute, getAttribute, getAttributeMap, getAttributeValue, getAttributeValue, getAttributeValue, hasAssociatedProcessors, hasAttribute, hasAttribute, hasAttributeMethods inherited from class org.thymeleaf.engine.AbstractElementTag
getElementCompleteName, getElementDefinition, getTemplateMode, isSynthetic, toStringMethods inherited from class org.thymeleaf.engine.AbstractTemplateEvent
getCol, getLine, getTemplateName, hasLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.thymeleaf.model.IElementTag
getElementCompleteName, getElementDefinition, getTemplateMode, isSyntheticMethods inherited from interface org.thymeleaf.model.IProcessableElementTag
getAllAttributes, getAttribute, getAttribute, getAttribute, getAttributeMap, getAttributeValue, getAttributeValue, getAttributeValue, hasAttribute, hasAttribute, hasAttributeMethods inherited from interface org.thymeleaf.model.ITemplateEvent
getCol, getLine, getTemplateName, hasLocation
-
Field Details
-
minimized
final boolean minimized
-
-
Constructor Details
-
StandaloneElementTag
StandaloneElementTag(TemplateMode templateMode, ElementDefinition elementDefinition, String elementCompleteName, Attributes attributes, boolean synthetic, boolean minimized) -
StandaloneElementTag
StandaloneElementTag(TemplateMode templateMode, ElementDefinition elementDefinition, String elementCompleteName, Attributes attributes, boolean synthetic, boolean minimized, String templateName, int line, int col)
-
-
Method Details
-
isMinimized
public boolean isMinimized()- Specified by:
isMinimizedin interfaceIStandaloneElementTag
-
setAttribute
StandaloneElementTag setAttribute(AttributeDefinitions attributeDefinitions, AttributeDefinition attributeDefinition, String completeName, String value, AttributeValueQuotes valueQuotes) - Specified by:
setAttributein classAbstractProcessableElementTag
-
replaceAttribute
StandaloneElementTag replaceAttribute(AttributeDefinitions attributeDefinitions, AttributeName oldName, AttributeDefinition newAttributeDefinition, String completeNewName, String value, AttributeValueQuotes valueQuotes) - Specified by:
replaceAttributein classAbstractProcessableElementTag
-
removeAttribute
- Specified by:
removeAttributein classAbstractProcessableElementTag
-
removeAttribute
- Specified by:
removeAttributein classAbstractProcessableElementTag
-
removeAttribute
- Specified by:
removeAttributein classAbstractProcessableElementTag
-
accept
Description copied from interface:ITemplateEventAccept a visitor, implementation of
IModelVisitor.- Specified by:
acceptin interfaceITemplateEvent- Parameters:
visitor- the visitor.
-
write
Description copied from interface:ITemplateEventWrites this event to the specified
Writer.Template output performed at
OutputTemplateHandleris done by calling these methods at each of the events resulting from template processing.- Specified by:
writein interfaceITemplateEvent- Parameters:
writer- the writer this event should be written to.- Throws:
IOException- if an input/output exception occurs.
-
asEngineStandaloneElementTag
static StandaloneElementTag asEngineStandaloneElementTag(IStandaloneElementTag standaloneElementTag) -
beHandled
- Specified by:
beHandledin interfaceIEngineTemplateEvent
-