Dashboard > Documentation > ... > 3. Appendix > 3.1. Granite Config DTD

View Info

3.1. Granite Config DTD

 Documentation Summary
 Page Summary

Usage

granite-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE granite-config PUBLIC
    "-//Granite Data Services//DTD granite-config internal//EN"
    "http://www.graniteds.org/public/dtd/1.0.0/granite-config.dtd">
<granite-config>
    ...
</granite-config>

Since this dtd is online, it can be used by XML editors with code completion features.

Complete DTD

granite-config.dtd
<!--
  GRANITE DATA SERVICES
  Copyright (C) 2007-2008 ADEQUATE SYSTEMS SARL

  This file is part of Granite Data Services.

  Granite Data Services is free software; you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License as published by
  the Free Software Foundation; either version 3 of the License, or (at your
  option) any later version.

  Granite Data Services is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
  for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this library; if not, see <http://www.gnu.org/licenses/>.
-->

<!ELEMENT granite-config (
    amf3serializer?,
    amf3deserializer?,
    converter?,
    invocationlistener?,
    instanciators?,
    classgetter?,
    externalizers?,
    descriptors?,
    security?,
    messageselector?
)>

<!ELEMENT amf3serializer EMPTY>
<!ATTLIST amf3serializer type CDATA #REQUIRED>

<!ELEMENT amf3deserializer EMPTY>
<!ATTLIST amf3deserializer type CDATA #REQUIRED>

<!ELEMENT converter EMPTY>
<!ATTLIST converter type CDATA #REQUIRED>

<!ELEMENT invocationlistener EMPTY>
<!ATTLIST invocationlistener type CDATA #REQUIRED>

<!ELEMENT instanciators (instanciator*)>
<!ELEMENT instanciator (#PCDATA)>
<!ATTLIST instanciator type CDATA #REQUIRED>

<!ELEMENT classgetter EMPTY>
<!ATTLIST classgetter type CDATA #REQUIRED>

<!ELEMENT externalizers (externalizer*)>
<!ELEMENT externalizer (include+)>
<!ATTLIST externalizer type CDATA #REQUIRED>
<!ELEMENT include EMPTY>
<!ATTLIST
    include type CDATA #IMPLIED
    instanceof CDATA #IMPLIED
    annotatedwith CDATA #IMPLIED>

<!ELEMENT descriptors (descriptor*)>
<!ELEMENT descriptor EMPTY>
<!ATTLIST
    descriptor type CDATA #IMPLIED
    instanceof CDATA #IMPLIED
    java CDATA #IMPLIED
    as3 CDATA #IMPLIED>

<!ELEMENT security (param*)>
<!ATTLIST security type CDATA #REQUIRED>
<!ELEMENT param EMPTY>
<!ATTLIST
    param name CDATA #REQUIRED
    value CDATA #REQUIRED>

<!ELEMENT messageselector EMPTY>
<!ATTLIST messageselector type CDATA #REQUIRED>

Browse Space
- Pages
- Labels
- Attachments
- Mail
- Bookmarks
- News
- Activity
- Advanced

Explore Confluence
- Popular Labels
- Notation Guide

Your Account
Log In

Other Features

View a printable version of the current page.

Add Content
- Add Comment


Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.0 Build:#913 Sep 27, 2007)
Bug/feature request - Contact Administrators

SourceForge.net Logo
Copyright © 2007-2008 Adequate Systems. All Rights Reserved.