org.apache.tapestry5.internal.parser
Class DTDToken

java.lang.Object
  extended by org.apache.tapestry5.ioc.BaseLocatable
      extended by org.apache.tapestry5.internal.parser.TemplateToken
          extended by 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.


Constructor Summary
DTDToken(String name, String publicId, String systemId, Location location)
           
 
Method Summary
 String getName()
          Returns the doctype name (the name of the document root element)
 String getPublicId()
          Returns the public identifier of the DTD
 String getSystemId()
          Returns the system identifier of the DTD
 String toString()
           
 
Methods inherited from class org.apache.tapestry5.internal.parser.TemplateToken
getTokenType
 
Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DTDToken

public DTDToken(String name,
                String publicId,
                String systemId,
                Location location)
Method Detail

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.