avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/schema assembly.dtd
Date Sat, 15 Dec 2001 08:43:23 GMT
donaldp     01/12/15 00:43:22

  Added:       src/schema assembly.dtd
  Add an assembly for assembly file.
  Revision  Changes    Path
  1.1                  jakarta-avalon-phoenix/src/schema/assembly.dtd
  Index: assembly.dtd
     This is the DTD defining the Phoenix Assembly 1.0
     descriptor (XML) file format/syntax.
     Author: Peter Donald <peter@apache.org>
     The assembly.xml file is used to define which blocks are instantiated and how
     they are linked together in an application.
     Copyright (C) The Apache Software Foundation. All rights reserved.
     This software is published under the terms of the Apache Software License
     version 1.1, a copy of which has been included  with this distribution in
     the LICENSE.txt file.
  The assembly is the document root, it defines:
  block           a block that exists in the application
  block-listener  a listener that exists in the application
  <!ELEMENT assembly (block|block-listener)*>
  <!ATTLIST assembly id ID #IMPLIED
            xmlns CDATA #FIXED "http://jakarta.apache.org/phoenix/assembly_1_0.dtd" >
  The block element declares a block exists in the application.
  The element defines:
  name            the name of a block
  class           the class of block instance
  provide         declare that particular blocks that will provide
                  the block with particular services
  <!ELEMENT block (provide*)>
    <!ATTLIST block class CDATA #REQUIRED>
    <!ATTLIST block name CDATA #REQUIRED>
  The provide element declares that a specific service is provided to the block
  by another block. The provide element defines:
  role    the name of the service that is being provided (aka the role of service)
  name    the name of the block that will provide service
  <!ELEMENT provide EMPTY>
    <!ATTLIST provide role CDATA #REQUIRED>
    <!ATTLIST provide name CDATA #REQUIRED>
  The block element declares a block listener exists in the application.
  The element defines:
  name            the name of the listener
  class           the class of the listener instance
  <!ELEMENT block-listener EMPTY>
    <!ATTLIST block-listener name CDATA #REQUIRED>
    <!ATTLIST block-listener class CDATA #REQUIRED>

To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>

View raw message