org.thymeleaf.doctype
Class DocTypeIdentifier
Object
org.thymeleaf.doctype.DocTypeIdentifier
- All Implemented Interfaces:
- java.io.Serializable
public final class DocTypeIdentifier
- extends Object
- implements java.io.Serializable
This class represents each of the components of a complete
DOCTYPE declaration: PUBLICID or SYSTEMID.
- Since:
- 1.0
- Author:
- Daniel Fernández, Guven Demir
- See Also:
- Serialized Form
Methods inherited from class Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ANY
public static final DocTypeIdentifier ANY
NONE
public static final DocTypeIdentifier NONE
forAny
public static DocTypeIdentifier forAny()
forNone
public static DocTypeIdentifier forNone()
forValue
public static DocTypeIdentifier forValue(String value)
isNone
public boolean isNone()
isAny
public boolean isAny()
getValue
public String getValue()
matches
public boolean matches(String identifier)
matches
public boolean matches(DocTypeIdentifier identifier)
toString
public String toString()
- Overrides:
toString
in class Object
write
public void write(java.io.Writer writer)
throws java.io.IOException
- Throws:
java.io.IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2013 The THYMELEAF team. All Rights Reserved.