xml.schema/src/org/netbeans/modules/xml/schema/resources/bindingschema_1_0.dtd
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 47 0df50cd33223
permissions -rw-r--r--
Added Missing copyright information in source files
mkuchtiak@47
     1
<!--namespace prefix to namespace uri mappings-->
mkristofic@1583
     2
<!--
mkristofic@1583
     3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
mkristofic@1583
     4
mkristofic@1583
     5
Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
mkristofic@1583
     6
mkristofic@1583
     7
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
mkristofic@1583
     8
Other names may be trademarks of their respective owners.
mkristofic@1583
     9
mkristofic@1583
    10
The contents of this file are subject to the terms of either the GNU
mkristofic@1583
    11
General Public License Version 2 only ("GPL") or the Common
mkristofic@1583
    12
Development and Distribution License("CDDL") (collectively, the
mkristofic@1583
    13
"License"). You may not use this file except in compliance with the
mkristofic@1583
    14
License. You can obtain a copy of the License at
mkristofic@1583
    15
http://www.netbeans.org/cddl-gplv2.html
mkristofic@1583
    16
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
mkristofic@1583
    17
specific language governing permissions and limitations under the
mkristofic@1583
    18
License.  When distributing the software, include this License Header
mkristofic@1583
    19
Notice in each file and include the License file at
mkristofic@1583
    20
nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
mkristofic@1583
    21
particular file as subject to the "Classpath" exception as provided
mkristofic@1583
    22
by Oracle in the GPL Version 2 section of the License file that
mkristofic@1583
    23
accompanied this code. If applicable, add the following below the
mkristofic@1583
    24
License Header, with the fields enclosed by brackets [] replaced by
mkristofic@1583
    25
your own identifying information:
mkristofic@1583
    26
"Portions Copyrighted [year] [name of copyright owner]"
mkristofic@1583
    27
mkristofic@1583
    28
Contributor(s):
mkristofic@1583
    29
mkristofic@1583
    30
The Original Software is NetBeans. The Initial Developer of the Original
mkristofic@1583
    31
Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
mkristofic@1583
    32
Microsystems, Inc. All Rights Reserved.
mkristofic@1583
    33
mkristofic@1583
    34
If you wish your version of this file to be governed by only the CDDL
mkristofic@1583
    35
or only the GPL Version 2, indicate your decision by adding
mkristofic@1583
    36
"[Contributor] elects to include this software in this distribution
mkristofic@1583
    37
under the [CDDL or GPL Version 2] license." If you do not indicate a
mkristofic@1583
    38
single choice of license, a recipient has the option to distribute
mkristofic@1583
    39
your version of this file under either the CDDL, the GPL Version 2 or
mkristofic@1583
    40
to extend the choice of license to its licensees as provided above.
mkristofic@1583
    41
However, if you add GPL Version 2 code and therefore, elected the GPL
mkristofic@1583
    42
Version 2 license, then the option applies only if the new code is
mkristofic@1583
    43
made subject to such option by the copyright holder.
mkristofic@1583
    44
-->
mkuchtiak@47
    45
<!ENTITY % jaxb_prefix "%jaxb;:">
mkuchtiak@47
    46
<!--namespaces attributes for root element-->
mkuchtiak@47
    47
<!ENTITY % documentElementAttributes " xmlns:%jaxb; CDATA #IMPLIED">
mkuchtiak@47
    48
<!--the declarations below should not be modified-->
mkuchtiak@47
    49
<!--element name mappings-->
mkuchtiak@47
    50
<!ENTITY % globalBindings "%jaxb_prefix;globalBindings">
mkuchtiak@47
    51
<!ENTITY % schemaBindings "%jaxb_prefix;schemaBindings">
mkuchtiak@47
    52
<!ENTITY % package "%jaxb_prefix;package">
mkuchtiak@47
    53
<!ENTITY % nameXmlTransform "%jaxb_prefix;nameXmlTransform">
mkuchtiak@47
    54
<!ENTITY % class "%jaxb_prefix;class">
mkuchtiak@47
    55
<!ENTITY % javadoc "%jaxb_prefix;javadoc">
mkuchtiak@47
    56
<!ENTITY % property "%jaxb_prefix;property">
mkuchtiak@47
    57
<!ENTITY % javadoc "%jaxb_prefix;javadoc">
mkuchtiak@47
    58
<!ENTITY % baseType "%jaxb_prefix;baseType">
mkuchtiak@47
    59
<!ENTITY % javaType "%jaxb_prefix;javaType">
mkuchtiak@47
    60
<!ENTITY % typesafeEnumClass "%jaxb_prefix;typesafeEnumClass">
mkuchtiak@47
    61
<!ENTITY % javadoc "%jaxb_prefix;javadoc">
mkuchtiak@47
    62
<!ENTITY % typesafeEnumMember "%jaxb_prefix;typesafeEnumMember">
mkuchtiak@47
    63
<!ENTITY % javadoc "%jaxb_prefix;javadoc">
mkuchtiak@47
    64
<!ENTITY % javadoc "%jaxb_prefix;javadoc">
mkuchtiak@47
    65
<!ENTITY % typeName "%jaxb_prefix;typeName">
mkuchtiak@47
    66
<!ENTITY % elementName "%jaxb_prefix;elementName">
mkuchtiak@47
    67
<!ENTITY % modelGroupName "%jaxb_prefix;modelGroupName">
mkuchtiak@47
    68
<!ENTITY % anonymousTypeName "%jaxb_prefix;anonymousTypeName">
mkuchtiak@47
    69
<!ENTITY % bindings "%jaxb_prefix;bindings">
mkuchtiak@47
    70
<!--element and attribute declarations-->
mkuchtiak@47
    71
<!--Customization values defined in global scope.-->
mkuchtiak@47
    72
<!ELEMENT %globalBindings; ((%javaType;)*)?>
mkuchtiak@47
    73
<!ATTLIST %globalBindings;
mkuchtiak@47
    74
	underscoreBinding (asWordSeparator | asCharInWord) "asWordSeparator"
mkuchtiak@47
    75
	typesafeEnumMemberName (generateName | generateError) "generateError"
mkuchtiak@47
    76
	typesafeEnumBase CDATA "xs:NCname"
mkuchtiak@47
    77
	collectionType (indexed) #IMPLIED
mkuchtiak@47
    78
	fixedAttributeAsConstantProperty NMTOKEN #IMPLIED
mkuchtiak@47
    79
	enableFailFastCheck NMTOKEN #IMPLIED
mkuchtiak@47
    80
	generateIsSetMethod NMTOKEN #IMPLIED
mkuchtiak@47
    81
	enableJavaNamingConventions NMTOKEN "true"
mkuchtiak@47
    82
	bindingStyle (elementBinding | modelGroupBinding) "elementBinding"
mkuchtiak@47
    83
	choiceContentProperty NMTOKEN "false"
mkuchtiak@47
    84
	%documentElementAttributes; 
mkuchtiak@47
    85
>
mkuchtiak@47
    86
<!--Customization values with schema scope-->
mkuchtiak@47
    87
<!ELEMENT %schemaBindings; ((%package;)?, (%nameXmlTransform;)?)>
mkuchtiak@47
    88
<!ATTLIST %schemaBindings;
mkuchtiak@47
    89
	%documentElementAttributes; 
mkuchtiak@47
    90
>
mkuchtiak@47
    91
<!ELEMENT %package; ((%javadoc;)?)>
mkuchtiak@47
    92
<!ATTLIST %package;
mkuchtiak@47
    93
	name CDATA #IMPLIED
mkuchtiak@47
    94
>
mkuchtiak@47
    95
<!ELEMENT %nameXmlTransform; ((%typeName;)?, (%elementName;)?, (%modelGroupName;)?, (%anonymousTypeName;)?)>
mkuchtiak@47
    96
<!--Customize interface and implementation class.-->
mkuchtiak@47
    97
<!ELEMENT %class; ((%javadoc;)?)>
mkuchtiak@47
    98
<!ATTLIST %class;
mkuchtiak@47
    99
	name CDATA #IMPLIED
mkuchtiak@47
   100
	implClass CDATA #IMPLIED
mkuchtiak@47
   101
	%documentElementAttributes; 
mkuchtiak@47
   102
>
mkuchtiak@47
   103
<!ELEMENT %javadoc; (#PCDATA)>
mkuchtiak@47
   104
<!--Customize property.-->
mkuchtiak@47
   105
<!ELEMENT %property; ((%javadoc;)?, (%baseType;)?)>
mkuchtiak@47
   106
<!ATTLIST %property;
mkuchtiak@47
   107
	name CDATA #IMPLIED
mkuchtiak@47
   108
	collectionType (indexed) #IMPLIED
mkuchtiak@47
   109
	fixedAttributeAsConstantProperty NMTOKEN #IMPLIED
mkuchtiak@47
   110
	enableFailFastCheck NMTOKEN #IMPLIED
mkuchtiak@47
   111
	generateIsSetMethod NMTOKEN #IMPLIED
mkuchtiak@47
   112
	%documentElementAttributes; 
mkuchtiak@47
   113
>
mkuchtiak@47
   114
<!ELEMENT %javadoc; (#PCDATA)>
mkuchtiak@47
   115
<!ELEMENT %baseType; ((%javaType;)?)>
mkuchtiak@47
   116
<!--Data type conversions;  overriding builtins-->
mkuchtiak@47
   117
<!ELEMENT %javaType; EMPTY>
mkuchtiak@47
   118
<!ATTLIST %javaType;
mkuchtiak@47
   119
	name CDATA #REQUIRED
mkuchtiak@47
   120
	xmlType CDATA #IMPLIED
mkuchtiak@47
   121
	parseMethod CDATA #IMPLIED
mkuchtiak@47
   122
	printMethod CDATA #IMPLIED
mkuchtiak@47
   123
	hasNsContext NMTOKEN "false"
mkuchtiak@47
   124
	%documentElementAttributes; 
mkuchtiak@47
   125
>
mkuchtiak@47
   126
<!-- Bind to a type safe enumeration class.-->
mkuchtiak@47
   127
<!ELEMENT %typesafeEnumClass; ((%javadoc;)?, (%typesafeEnumMember;)*)>
mkuchtiak@47
   128
<!ATTLIST %typesafeEnumClass;
mkuchtiak@47
   129
	name CDATA #IMPLIED
mkuchtiak@47
   130
	%documentElementAttributes; 
mkuchtiak@47
   131
>
mkuchtiak@47
   132
<!ELEMENT %javadoc; (#PCDATA)>
mkuchtiak@47
   133
<!-- Enumeration member name in a type safe enumeration class.-->
mkuchtiak@47
   134
<!ELEMENT %typesafeEnumMember; ((%javadoc;)?)>
mkuchtiak@47
   135
<!ATTLIST %typesafeEnumMember;
mkuchtiak@47
   136
	value CDATA #IMPLIED
mkuchtiak@47
   137
	name CDATA #REQUIRED
mkuchtiak@47
   138
	%documentElementAttributes; 
mkuchtiak@47
   139
>
mkuchtiak@47
   140
<!ELEMENT %javadoc; (#PCDATA)>
mkuchtiak@47
   141
<!ELEMENT %javadoc; (#PCDATA)>
mkuchtiak@47
   142
<!--Mapping rule for type definitions.-->
mkuchtiak@47
   143
<!ELEMENT %typeName; EMPTY>
mkuchtiak@47
   144
<!ATTLIST %typeName;
mkuchtiak@47
   145
	prefix CDATA #IMPLIED
mkuchtiak@47
   146
	suffix CDATA #IMPLIED
mkuchtiak@47
   147
>
mkuchtiak@47
   148
<!--Mapping rule for elements-->
mkuchtiak@47
   149
<!ELEMENT %elementName; EMPTY>
mkuchtiak@47
   150
<!ATTLIST %elementName;
mkuchtiak@47
   151
	prefix CDATA #IMPLIED
mkuchtiak@47
   152
	suffix CDATA #IMPLIED
mkuchtiak@47
   153
>
mkuchtiak@47
   154
<!--Mapping rule  for model group-->
mkuchtiak@47
   155
<!ELEMENT %modelGroupName; EMPTY>
mkuchtiak@47
   156
<!ATTLIST %modelGroupName;
mkuchtiak@47
   157
	prefix CDATA #IMPLIED
mkuchtiak@47
   158
	suffix CDATA #IMPLIED
mkuchtiak@47
   159
>
mkuchtiak@47
   160
<!--Mapping rule for class names generated for an anonymous type.-->
mkuchtiak@47
   161
<!ELEMENT %anonymousTypeName; EMPTY>
mkuchtiak@47
   162
<!ATTLIST %anonymousTypeName;
mkuchtiak@47
   163
	prefix CDATA #IMPLIED
mkuchtiak@47
   164
	suffix CDATA #IMPLIED
mkuchtiak@47
   165
>
mkuchtiak@47
   166
<!--
mkuchtiak@47
   167
  Binding declaration(s) for a remote schema.
mkuchtiak@47
   168
  If attribute node is set, the binding declaraions
mkuchtiak@47
   169
  are associated with part of the remote schema
mkuchtiak@47
   170
  designated by schemaLocation attribute. The node
mkuchtiak@47
   171
  attribute identifies the node in the remote schema
mkuchtiak@47
   172
  to associate the binding declaration(s) with.
mkuchtiak@47
   173
    
mkuchtiak@47
   174
      -->
mkuchtiak@47
   175
<!ELEMENT %bindings; ((%globalBindings; | %schemaBindings; | %class; | %property; | %typesafeEnumClass; | %typesafeEnumMember; | %javaType;)*)>
mkuchtiak@47
   176
<!ATTLIST %bindings;
mkuchtiak@47
   177
	schemaLocation CDATA #IMPLIED
mkuchtiak@47
   178
	node CDATA #IMPLIED
mkuchtiak@47
   179
	version CDATA #IMPLIED
mkuchtiak@47
   180
	jaxb:version CDATA #IMPLIED
mkuchtiak@47
   181
	%documentElementAttributes; 
mkuchtiak@47
   182
>