
com.vladsch.flexmark.html.renderer.AttributablePart Maven / Gradle / Ivy
package com.vladsch.flexmark.html.renderer;
import org.jetbrains.annotations.NotNull;
/**
* Specifies the node part for which attributes can be provided
*/
public class AttributablePart {
final public static AttributablePart NODE = new AttributablePart("NODE");
final public static AttributablePart NODE_POSITION = new AttributablePart("NODE_POSITION");
final public static AttributablePart LINK = new AttributablePart("LINK");
final public static AttributablePart ID = new AttributablePart("ID");
final private String myName;
public AttributablePart(@NotNull String name) {
this.myName = name;
}
public @NotNull String getName() {
return myName;
}
@Override
public boolean equals(Object o) {
return this == o;
}
@Override
public int hashCode() {
return super.hashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy