    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class com.jclark.xml.apps.Doctype

    java.lang.Object
       |
       +----com.jclark.xml.parse.io.ApplicationImpl
               |
               +----com.jclark.xml.apps.Doctype

public class Doctype
extends ApplicationImpl

##

Doctype(PrintWriter)

##

comment(CommentEvent)
endDocumentTypeDeclaration(EndDocumentTypeDeclarationEvent)
endEntityReference(EndEntityReferenceEvent)
main(String[])
  Writes an equivalent version of the doctype declaration on the standard output.
markupDeclaration(MarkupDeclarationEvent)
processingInstruction(ProcessingInstructionEvent)
startDocumentTypeDeclaration(StartDocumentTypeDeclarationEvent)
startEntityReference(StartEntityReferenceEvent)
writeAttributeDef(DTD, String, String)
writeElementDecl(DTD, String)
writeEntityDecl(DTD, byte, String)

##

Doctype

     public Doctype(PrintWriter w)

##

main

     public static void main(String args[]) throws IOException

  Writes an equivalent version of the doctype declaration on the standard output. If an argument is specified, then that is treated as the filename of the XML document, otherwise the XML document is read from the standard input.

startDocumentTypeDeclaration

     public void startDocumentTypeDeclaration(StartDocumentTypeDeclarationEvent event)

  Overrides:
    startDocumentTypeDeclaration in class ApplicationImpl

endDocumentTypeDeclaration

     public void endDocumentTypeDeclaration(EndDocumentTypeDeclarationEvent event)

  Overrides:
    endDocumentTypeDeclaration in class ApplicationImpl

startEntityReference

     public void startEntityReference(StartEntityReferenceEvent event)

  Overrides:
    startEntityReference in class ApplicationImpl

endEntityReference

     public void endEntityReference(EndEntityReferenceEvent event)

  Overrides:
    endEntityReference in class ApplicationImpl

processingInstruction

     public void processingInstruction(ProcessingInstructionEvent event)

  Overrides:
    processingInstruction in class ApplicationImpl

comment

     public void comment(CommentEvent event)

  Overrides:
    comment in class ApplicationImpl

markupDeclaration

     public void markupDeclaration(MarkupDeclarationEvent event)

  Overrides:
    markupDeclaration in class ApplicationImpl

writeEntityDecl

     public void writeEntityDecl(DTD dtd,
                                 byte type,
                                 String name)

writeElementDecl

     public void writeElementDecl(DTD dtd,
                                  String name)

writeAttributeDef

     public void writeAttributeDef(DTD dtd,
                                   String name,
                                   String attName)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index