net.socialchange.doctype
Interface DoctypeGenerator
- public interface DoctypeGenerator
Generates a new doctype declaration.
This class is where all the logic lives. You are given the old doctype
declaration (if any), and based on that, get to specify what the new doctype
declaration (if any) should look like.
For examples of how to use this, see the package overview.
- Version:
- $Revision: 1.4 $ $Date: 2001/11/14 11:47:42 $
- Author:
- Jeff Turner
generate
public Doctype generate(Doctype oldDoctype)
- Method which generates a new doctype declaration.
- Parameters:
oldDoctype - The old doctype declaration read from the InputStream.
null if no doctype declaration was read.- Returns:
- The doctype declaration you wish to replace the old one with. If
null, no new doctype decl. will be added.
Copyright © 2001 Social Change Online. All Rights Reserved.