You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/09/01 05:46:20 UTC

cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/cpbuilder/builder classloader.dtd

donaldp     2002/08/31 20:46:20

  Added:       src/java/org/apache/avalon/phoenix/components/cpbuilder/builder
                        classloader.dtd
  Log:
  First cut at a DTD for ClassLoader configuration
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/cpbuilder/builder/classloader.dtd
  
  Index: classloader.dtd
  ===================================================================
  <!--
  
     This is the DTD defining the ClassLoader 1.0
     descriptor (XML) file format/syntax.
  
     Author: Peter Donald <peter at apache.org>
  
     This descriptor is used to describe a mechanism of defining
     a set of ClassLoaders and the arrangment of specified ClassLoaders.
  
     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 classloaders is the document root, it defines:
  
  join 	       the join classloaders
  classloader  the regular classloaders
  -->
  <!ELEMENT classloaders (classloader*,join*)>
    <!ATTLIST classloaders id ID #IMPLIED
            xmlns CDATA #FIXED "http://jakarta.apache.org/phoenix/classloaders_1_0.dtd" >
    <!ATTLIST classloaders default CDATA #REQUIRED >
  
  <!--
  The classloader element describes a regular classloader It defines:
  
  Attributes:
  name	        the name of classloader type. Must be a string
               containing alphanumeric characters, '.', '-', '_' and
               starting with a letter or a '_'.
  parent 	     the name of the parent classloader
  
  Elements:
  entry 	      an entry in classloader
  fileset 	    an fileset in classloader
  extension    an extension in classloader
  -->
  <!ELEMENT classloader          (entry*,fileset*,extension*)>
    <!ATTLIST classloader
         name CDATA #REQUIRED
         parent CDATA #REQUIRED >
  
  <!--
  The classloader element describes a regular classloader It defines:
  
  Attributes:
  name	        the name of classloader type. Must be a string
               containing alphanumeric characters, '.', '-', '_' and
               starting with a letter or a '_'.
  
  Elements:
  classloader-ref  a reference to all classloaders that are joined
  -->
  <!ELEMENT join          (classloader-ref*)>
    <!ATTLIST join name CDATA #REQUIRED >
  
  <!--
  The classloader-ref defines a ClassLoader that are part of join.
  It defines:
  
  Attributes:
  name     the name of other classloader that will join with
  -->
  <!ELEMENT classloader-ref EMPTY>
    <!ATTLIST classloader-ref name CDATA #REQUIRED>
  
  <!--
  The entry describes a entry in ClassLoader. It defines:
  
  Attributes:
  location     the location (URL) to add to classloader
  -->
  <!ELEMENT entry EMPTY>
    <!ATTLIST entry location CDATA #REQUIRED>
  
  <!--
  The classloader element describes a regular classloader It defines:
  
  Attributes:
  name	        the name of classloader type. Must be a string
               containing alphanumeric characters, '.', '-', '_' and
               starting with a letter or a '_'.
  
  Elements:
  classloader-ref  a reference to all classloaders that are joined
  -->
  <!ELEMENT fileset          ((include|exclude)*)>
    <!ATTLIST fileset dir CDATA #REQUIRED >
  
  <!--
  The entry describes a include for fileset. It defines:
  
  Attributes:
  name     the pattern to include
  -->
  <!ELEMENT include EMPTY>
    <!ATTLIST include name CDATA #REQUIRED>
  
  <!--
  The entry describes a exclude for fileset. It defines:
  
  Attributes:
  name     the pattern to exclude
  -->
  <!ELEMENT exclude EMPTY>
    <!ATTLIST exclude name CDATA #REQUIRED>
  
  
  <!--
  The extension describes a extension for ClassLoader.
  -->
  <!ELEMENT extension (name,specification-version?,specification-vendor?,implementation-version?implementation-vendor?,implementation-vendor-id?,implementation-url)>
    <!ELEMENT name (#PCDATA)>
    <!ELEMENT specification-version (#PCDATA)>
    <!ELEMENT specification-vendor (#PCDATA)>
    <!ELEMENT implementation-version (#PCDATA)>
    <!ELEMENT implementation-vendor (#PCDATA)>
    <!ELEMENT implementation-vendor-id (#PCDATA)>
    <!ELEMENT implementation-url (#PCDATA)>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>