org.apache.tapestry5.internal.parser
Class DTDToken
java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.parser.TemplateToken
org.apache.tapestry5.internal.parser.DTDToken
- All Implemented Interfaces:
- Locatable
public class DTDToken
- extends TemplateToken
Represents the presence of a Document Type declaration within a template. The Document type declaration will be
output to the client. In the event that multiple declarations are encountered (a page and one or more nested
components all declare a document type), the first document type declared will be used.
DTDToken
public DTDToken(String name,
String publicId,
String systemId,
Location location)
getName
public String getName()
- Returns the doctype name (the name of the document root element)
getPublicId
public String getPublicId()
- Returns the public identifier of the DTD
getSystemId
public String getSystemId()
- Returns the system identifier of the DTD
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.