Tabnine Logo
MatchingAttributeName.getMatchingAttributeName
Code IndexAdd Tabnine to your IDE (free)

How to use
getMatchingAttributeName
method
in
org.thymeleaf.processor.element.MatchingAttributeName

Best Java code snippets using org.thymeleaf.processor.element.MatchingAttributeName.getMatchingAttributeName (Showing top 8 results out of 315)

origin: thymeleaf/thymeleaf

@Override
protected void doProcess(
    final ITemplateContext context,
    final IProcessableElementTag tag,
    final IElementTagStructureHandler structureHandler) {
  // Nothing to do, this processor is just a marker. Simply remove the attribute
  final AttributeName attributeName = getMatchingAttributeName().getMatchingAttributeName();
  structureHandler.removeAttribute(attributeName);
}
origin: thymeleaf/thymeleaf

try {
  attributeName = getMatchingAttributeName().getMatchingAttributeName();
  firstEvent = (IProcessableElementTag) model.get(0);
origin: thymeleaf/thymeleaf

try {
  attributeName = getMatchingAttributeName().getMatchingAttributeName();
origin: thymeleaf/thymeleaf-spring

public void setAttributeDefinitions(final AttributeDefinitions attributeDefinitions) {
  Validate.notNull(attributeDefinitions, "Attribute Definitions cannot be null");
  // We precompute the AttributeDefinitions in order to being able to use much
  // faster methods for setting/replacing attributes on the ElementAttributes implementation
  final String dialectPrefix = getMatchingAttributeName().getMatchingAttributeName().getPrefix();
  this.targetAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TARGET_ATTR_NAME);
  this.fieldAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, dialectPrefix, AbstractSpringFieldTagProcessor.ATTR_NAME);
  this.typeAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TYPE_ATTR_NAME);
  this.nameAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, NAME_ATTR_NAME);
}
origin: thymeleaf/thymeleaf-spring

public void setAttributeDefinitions(final AttributeDefinitions attributeDefinitions) {
  Validate.notNull(attributeDefinitions, "Attribute Definitions cannot be null");
  // We precompute the AttributeDefinitions in order to being able to use much
  // faster methods for setting/replacing attributes on the ElementAttributes implementation
  final String dialectPrefix = getMatchingAttributeName().getMatchingAttributeName().getPrefix();
  this.targetAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TARGET_ATTR_NAME);
  this.fieldAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, dialectPrefix, AbstractSpringFieldTagProcessor.ATTR_NAME);
  this.typeAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TYPE_ATTR_NAME);
  this.nameAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, NAME_ATTR_NAME);
}
origin: org.thymeleaf/thymeleaf-spring4

public void setAttributeDefinitions(final AttributeDefinitions attributeDefinitions) {
  Validate.notNull(attributeDefinitions, "Attribute Definitions cannot be null");
  // We precompute the AttributeDefinitions in order to being able to use much
  // faster methods for setting/replacing attributes on the ElementAttributes implementation
  final String dialectPrefix = getMatchingAttributeName().getMatchingAttributeName().getPrefix();
  this.targetAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TARGET_ATTR_NAME);
  this.fieldAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, dialectPrefix, AbstractSpringFieldTagProcessor.ATTR_NAME);
  this.typeAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TYPE_ATTR_NAME);
  this.nameAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, NAME_ATTR_NAME);
}
origin: thymeleaf/thymeleaf-spring

public void setAttributeDefinitions(final AttributeDefinitions attributeDefinitions) {
  Validate.notNull(attributeDefinitions, "Attribute Definitions cannot be null");
  // We precompute the AttributeDefinitions in order to being able to use much
  // faster methods for setting/replacing attributes on the ElementAttributes implementation
  final String dialectPrefix = getMatchingAttributeName().getMatchingAttributeName().getPrefix();
  this.targetAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TARGET_ATTR_NAME);
  this.fieldAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, dialectPrefix, AbstractSpringFieldTagProcessor.ATTR_NAME);
  this.typeAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TYPE_ATTR_NAME);
  this.nameAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, NAME_ATTR_NAME);
}
origin: org.thymeleaf/thymeleaf-spring3

public void setAttributeDefinitions(final AttributeDefinitions attributeDefinitions) {
  Validate.notNull(attributeDefinitions, "Attribute Definitions cannot be null");
  // We precompute the AttributeDefinitions in order to being able to use much
  // faster methods for setting/replacing attributes on the ElementAttributes implementation
  final String dialectPrefix = getMatchingAttributeName().getMatchingAttributeName().getPrefix();
  this.targetAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TARGET_ATTR_NAME);
  this.fieldAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, dialectPrefix, AbstractSpringFieldTagProcessor.ATTR_NAME);
  this.typeAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, TYPE_ATTR_NAME);
  this.nameAttributeDefinition = attributeDefinitions.forName(TEMPLATE_MODE, NAME_ATTR_NAME);
}
org.thymeleaf.processor.elementMatchingAttributeNamegetMatchingAttributeName

Popular methods of MatchingAttributeName

  • forAllAttributesWithPrefix
  • <init>
  • forAttributeName
  • getTemplateMode
  • isMatchingAllAttributes
  • matches
  • toString

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Menu (java.awt)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now