public final class DocTypeIdentifier extends Object implements Serializable
This class represents each of the components of a complete DOCTYPE declaration: PUBLICID or SYSTEMID.
Modifier and Type | Field and Description |
---|---|
static DocTypeIdentifier |
ANY |
static DocTypeIdentifier |
NONE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static DocTypeIdentifier |
forAny() |
static DocTypeIdentifier |
forNone() |
static DocTypeIdentifier |
forValue(String value) |
String |
getValue() |
int |
hashCode() |
boolean |
isAny() |
boolean |
isNone() |
boolean |
matches(DocTypeIdentifier identifier) |
boolean |
matches(String identifier) |
String |
toString() |
void |
write(Writer writer) |
public static final DocTypeIdentifier ANY
public static final DocTypeIdentifier NONE
public static DocTypeIdentifier forAny()
public static DocTypeIdentifier forNone()
public static DocTypeIdentifier forValue(String value)
public boolean isNone()
public boolean isAny()
public String getValue()
public boolean matches(String identifier)
public boolean matches(DocTypeIdentifier identifier)
public void write(Writer writer) throws IOException
IOException
Copyright © 2014 The THYMELEAF team. All rights reserved.