org.thymeleaf.doctype
Class DocTypeIdentifier

Object
  extended by 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

Field Summary
static DocTypeIdentifier ANY
           
static DocTypeIdentifier NONE
           
 
Method Summary
 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(java.io.Writer writer)
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ANY

public static final DocTypeIdentifier ANY

NONE

public static final DocTypeIdentifier NONE
Method Detail

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 © 2012 The THYMELEAF team. All Rights Reserved.