Package org.thymeleaf.engine
Class OpenElementTag
java.lang.Object
org.thymeleaf.engine.AbstractTemplateEvent
org.thymeleaf.engine.AbstractElementTag
org.thymeleaf.engine.AbstractProcessableElementTag
org.thymeleaf.engine.OpenElementTag
- All Implemented Interfaces:
IEngineTemplateEvent,IElementTag,IOpenElementTag,IProcessableElementTag,ITemplateEvent
final class OpenElementTag
extends AbstractProcessableElementTag
implements IOpenElementTag, IEngineTemplateEvent
- Since:
- 3.0.0
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionOpenElementTag(TemplateMode templateMode, ElementDefinition elementDefinition, String elementCompleteName, Attributes attributes, boolean synthetic) OpenElementTag(TemplateMode templateMode, ElementDefinition elementDefinition, String elementCompleteName, Attributes attributes, boolean synthetic, String templateName, int line, int col) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IModelVisitor visitor) Accept a visitor, implementation ofIModelVisitor.(package private) static OpenElementTagasEngineOpenElementTag(IOpenElementTag openElementTag) voidbeHandled(ITemplateHandler handler) (package private) OpenElementTagremoveAttribute(String completeName) (package private) OpenElementTagremoveAttribute(String prefix, String name) (package private) OpenElementTagremoveAttribute(AttributeName attributeName) (package private) OpenElementTagreplaceAttribute(AttributeDefinitions attributeDefinitions, AttributeName oldName, AttributeDefinition newAttributeDefinition, String completeNewName, String value, AttributeValueQuotes valueQuotes) (package private) OpenElementTagsetAttribute(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
-
Constructor Details
-
OpenElementTag
OpenElementTag(TemplateMode templateMode, ElementDefinition elementDefinition, String elementCompleteName, Attributes attributes, boolean synthetic) -
OpenElementTag
OpenElementTag(TemplateMode templateMode, ElementDefinition elementDefinition, String elementCompleteName, Attributes attributes, boolean synthetic, String templateName, int line, int col)
-
-
Method Details
-
setAttribute
OpenElementTag setAttribute(AttributeDefinitions attributeDefinitions, AttributeDefinition attributeDefinition, String completeName, String value, AttributeValueQuotes valueQuotes) - Specified by:
setAttributein classAbstractProcessableElementTag
-
replaceAttribute
OpenElementTag 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.
-
asEngineOpenElementTag
-
beHandled
- Specified by:
beHandledin interfaceIEngineTemplateEvent
-