xml.schema/test/qa-functional/src/org/netbeans/test/xml/schema/general/dtd/data.java
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 1269 df32987bafd0
permissions -rw-r--r--
Added Missing copyright information in source files
mkristofic@1583
     1
/*
mkristofic@1583
     2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
mkristofic@1583
     3
 *
mkristofic@1583
     4
 * Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
mkristofic@1583
     5
 *
mkristofic@1583
     6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
mkristofic@1583
     7
 * Other names may be trademarks of their respective owners.
mkristofic@1583
     8
 *
mkristofic@1583
     9
 * The contents of this file are subject to the terms of either the GNU
mkristofic@1583
    10
 * General Public License Version 2 only ("GPL") or the Common
mkristofic@1583
    11
 * Development and Distribution License("CDDL") (collectively, the
mkristofic@1583
    12
 * "License"). You may not use this file except in compliance with the
mkristofic@1583
    13
 * License. You can obtain a copy of the License at
mkristofic@1583
    14
 * http://www.netbeans.org/cddl-gplv2.html
mkristofic@1583
    15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
mkristofic@1583
    16
 * specific language governing permissions and limitations under the
mkristofic@1583
    17
 * License.  When distributing the software, include this License Header
mkristofic@1583
    18
 * Notice in each file and include the License file at
mkristofic@1583
    19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
mkristofic@1583
    20
 * particular file as subject to the "Classpath" exception as provided
mkristofic@1583
    21
 * by Oracle in the GPL Version 2 section of the License file that
mkristofic@1583
    22
 * accompanied this code. If applicable, add the following below the
mkristofic@1583
    23
 * License Header, with the fields enclosed by brackets [] replaced by
mkristofic@1583
    24
 * your own identifying information:
mkristofic@1583
    25
 * "Portions Copyrighted [year] [name of copyright owner]"
mkristofic@1583
    26
 *
mkristofic@1583
    27
 * Contributor(s):
mkristofic@1583
    28
 *
mkristofic@1583
    29
 * The Original Software is NetBeans. The Initial Developer of the Original
mkristofic@1583
    30
 * Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
mkristofic@1583
    31
 * Microsystems, Inc. All Rights Reserved.
mkristofic@1583
    32
 *
mkristofic@1583
    33
 * If you wish your version of this file to be governed by only the CDDL
mkristofic@1583
    34
 * or only the GPL Version 2, indicate your decision by adding
mkristofic@1583
    35
 * "[Contributor] elects to include this software in this distribution
mkristofic@1583
    36
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
mkristofic@1583
    37
 * single choice of license, a recipient has the option to distribute
mkristofic@1583
    38
 * your version of this file under either the CDDL, the GPL Version 2 or
mkristofic@1583
    39
 * to extend the choice of license to its licensees as provided above.
mkristofic@1583
    40
 * However, if you add GPL Version 2 code and therefore, elected the GPL
mkristofic@1583
    41
 * Version 2 license, then the option applies only if the new code is
mkristofic@1583
    42
 * made subject to such option by the copyright holder.
mkristofic@1583
    43
 */
michaelnazarov@1170
    44
package org.netbeans.test.xml.schema.general.dtd;
michaelnazarov@1170
    45
michaelnazarov@1172
    46
import java.util.Calendar;
michaelnazarov@1172
    47
michaelnazarov@1170
    48
public class data
michaelnazarov@1170
    49
{
michaelnazarov@1172
    50
  private static String sDay = ( ( Calendar.getInstance( ).get( Calendar.DAY_OF_MONTH ) < 10 ) ? "0" : "" ) + Calendar.getInstance( ).get( Calendar.DAY_OF_MONTH );
michaelnazarov@1172
    51
  private static String sMonth = ( ( ( Calendar.getInstance( ).get( Calendar.MONTH ) + 1 ) < 10 ) ? "0" : "" ) + ( Calendar.getInstance( ).get( Calendar.MONTH ) + 1 );
michaelnazarov@1172
    52
  private static String sYear = ( ( Calendar.getInstance( ).get( Calendar.YEAR ) < 10 ) ? "0" : "" ) + Calendar.getInstance( ).get( Calendar.YEAR );
michaelnazarov@1172
    53
michaelnazarov@1269
    54
  public static String sIdealDocumentation =
michaelnazarov@1269
    55
michaelnazarov@1269
    56
"<!DOCTYPEhtmlPUBLIC\"-//W3C//DTDXHTML1.0Strict//EN\"\"http://www.w3"
michaelnazarov@1269
    57
+ ".org/TR/xhtml1/DTD/xhtml1-strict.dtd\"><html><head><title>DTDGrammarDocumentation"
michaelnazarov@1269
    58
+ "</title><metahttp-equiv=\"Content-Type\"content=\"text/xhtml;charset=UTF-8\"/></head"
michaelnazarov@1269
    59
+ "><!--Generatedon" + sDay + "." + sMonth + "." + sYear + "byNetBeansXMLmodule.--><body><hr/><h2>ElementIndex</h2"
michaelnazarov@1269
    60
+ "><ul><li><tt><ahref=\"#ns0:USPrice\">ns0:USPrice</a></tt></li><li><tt><ahref=\"#ns0"
michaelnazarov@1269
    61
+ ":billTo\">ns0:billTo</a></tt></li><li><tt><ahref=\"#ns0:city\">ns0:city</a></tt></l"
michaelnazarov@1269
    62
+ "i><li><tt><ahref=\"#ns0:comment\">ns0:comment</a></tt></li><li><tt><ahref=\"#ns0:it"
michaelnazarov@1269
    63
+ "em\">ns0:item</a></tt></li><li><tt><ahref=\"#ns0:items\">ns0:items</a></tt></li><li"
michaelnazarov@1269
    64
+ "><tt><ahref=\"#ns0:name\">ns0:name</a></tt></li><li><tt><ahref=\"#ns0:productName\">"
michaelnazarov@1269
    65
+ "ns0:productName</a></tt></li><li><tt><ahref=\"#ns0:purchaseOrder\">ns0:purchaseOrd"
michaelnazarov@1269
    66
+ "er</a></tt></li><li><tt><ahref=\"#ns0:quantity\">ns0:quantity</a></tt></li><li><tt"
michaelnazarov@1269
    67
+ "><ahref=\"#ns0:shipDate\">ns0:shipDate</a></tt></li><li><tt><ahref=\"#ns0:shipTo\">n"
michaelnazarov@1269
    68
+ "s0:shipTo</a></tt></li><li><tt><ahref=\"#ns0:state\">ns0:state</a></tt></li><li><t"
michaelnazarov@1269
    69
+ "t><ahref=\"#ns0:street\">ns0:street</a></tt></li><li><tt><ahref=\"#ns0:zip\">ns0:zip"
michaelnazarov@1269
    70
+ "</a></tt></li></ul><hr/><h2>ElementDetails</h2><hr/><h2><aname=\"ns0:purchaseOrde"
michaelnazarov@1269
    71
+ "r\"></a>ns0:purchaseOrder</h2><div>PutyourDTDDoccommenthere.</div><p><b>DeclaredA"
michaelnazarov@1269
    72
+ "ttributes</b></p><ul><li><tt>#IMPLIEDCDATAxsi:schemaLocation</tt></li><li><tt>#I"
michaelnazarov@1269
    73
+ "MPLIEDCDATAxmlns:ns0</tt></li><li><tt>#IMPLIEDCDATAxmlns:xsi</tt></li><li><tt>#I"
michaelnazarov@1269
    74
+ "MPLIEDCDATAorderDate</tt></li></ul><p><b>ElementContentModel</b></p><p><tt>(<ahr"
michaelnazarov@1269
    75
+ "ef=\"#ns0:shipTo\">ns0:shipTo</a>&nbsp;|<ahref=\"#ns0:comment\">ns0:comment</a>&nbsp"
michaelnazarov@1269
    76
+ ";|<ahref=\"#ns0:billTo\">ns0:billTo</a>&nbsp;|<ahref=\"#ns0:items\">ns0:items</a>)*<"
michaelnazarov@1269
    77
+ "/tt></p><p><b>Referencedby</b></p><p><tt></tt></p><hr/><h2><aname=\"ns0:shipTo\"><"
michaelnazarov@1269
    78
+ "/a>ns0:shipTo</h2><div>PutyourDTDDoccommenthere.</div><p><b>DeclaredAttributes</"
michaelnazarov@1269
    79
+ "b></p><ul><li><tt>#IMPLIEDCDATAcountry</tt></li></ul><p><b>ElementContentModel</"
michaelnazarov@1269
    80
+ "b></p><p><tt>(<ahref=\"#ns0:city\">ns0:city</a>&nbsp;|<ahref=\"#ns0:name\">ns0:name<"
michaelnazarov@1269
    81
+ "/a>&nbsp;|<ahref=\"#ns0:state\">ns0:state</a>&nbsp;|<ahref=\"#ns0:street\">ns0:stree"
michaelnazarov@1269
    82
+ "t</a>&nbsp;|<ahref=\"#ns0:zip\">ns0:zip</a>)*</tt></p><p><b>Referencedby</b></p><p"
michaelnazarov@1269
    83
+ "><tt><ahref=\"#ns0:purchaseOrder\">ns0:purchaseOrder</a></tt></p><hr/><h2><aname=\""
michaelnazarov@1269
    84
+ "ns0:name\"></a>ns0:name</h2><div>PutyourDTDDoccommenthere.</div><p><b>ElementCont"
michaelnazarov@1269
    85
+ "entModel</b></p><p><tt>EMPTY</tt></p><p><b>Referencedby</b></p><p><tt><ahref=\"#n"
michaelnazarov@1269
    86
+ "s0:shipTo\">ns0:shipTo</a>,<ahref=\"#ns0:billTo\">ns0:billTo</a></tt></p><hr/><h2><"
michaelnazarov@1269
    87
+ "aname=\"ns0:street\"></a>ns0:street</h2><div>PutyourDTDDoccommenthere.</div><p><b>"
michaelnazarov@1269
    88
+ "ElementContentModel</b></p><p><tt>EMPTY</tt></p><p><b>Referencedby</b></p><p><tt"
michaelnazarov@1269
    89
+ "><ahref=\"#ns0:shipTo\">ns0:shipTo</a>,<ahref=\"#ns0:billTo\">ns0:billTo</a></tt></p"
michaelnazarov@1269
    90
+ "><hr/><h2><aname=\"ns0:city\"></a>ns0:city</h2><div>PutyourDTDDoccommenthere.</div"
michaelnazarov@1269
    91
+ "><p><b>ElementContentModel</b></p><p><tt>EMPTY</tt></p><p><b>Referencedby</b></p"
michaelnazarov@1269
    92
+ "><p><tt><ahref=\"#ns0:shipTo\">ns0:shipTo</a>,<ahref=\"#ns0:billTo\">ns0:billTo</a><"
michaelnazarov@1269
    93
+ "/tt></p><hr/><h2><aname=\"ns0:state\"></a>ns0:state</h2><div>PutyourDTDDoccommenth"
michaelnazarov@1269
    94
+ "ere.</div><p><b>ElementContentModel</b></p><p><tt>EMPTY</tt></p><p><b>Referenced"
michaelnazarov@1269
    95
+ "by</b></p><p><tt><ahref=\"#ns0:shipTo\">ns0:shipTo</a>,<ahref=\"#ns0:billTo\">ns0:bi"
michaelnazarov@1269
    96
+ "llTo</a></tt></p><hr/><h2><aname=\"ns0:zip\"></a>ns0:zip</h2><div>PutyourDTDDoccom"
michaelnazarov@1269
    97
+ "menthere.</div><p><b>ElementContentModel</b></p><p><tt>EMPTY</tt></p><p><b>Refer"
michaelnazarov@1269
    98
+ "encedby</b></p><p><tt><ahref=\"#ns0:shipTo\">ns0:shipTo</a>,<ahref=\"#ns0:billTo\">n"
michaelnazarov@1269
    99
+ "s0:billTo</a></tt></p><hr/><h2><aname=\"ns0:billTo\"></a>ns0:billTo</h2><div>Putyo"
michaelnazarov@1269
   100
+ "urDTDDoccommenthere.</div><p><b>DeclaredAttributes</b></p><ul><li><tt>#IMPLIEDCD"
michaelnazarov@1269
   101
+ "ATAcountry</tt></li></ul><p><b>ElementContentModel</b></p><p><tt>(<ahref=\"#ns0:c"
michaelnazarov@1269
   102
+ "ity\">ns0:city</a>&nbsp;|<ahref=\"#ns0:name\">ns0:name</a>&nbsp;|<ahref=\"#ns0:state"
michaelnazarov@1269
   103
+ "\">ns0:state</a>&nbsp;|<ahref=\"#ns0:street\">ns0:street</a>&nbsp;|<ahref=\"#ns0:zip"
michaelnazarov@1269
   104
+ "\">ns0:zip</a>)*</tt></p><p><b>Referencedby</b></p><p><tt><ahref=\"#ns0:purchaseOr"
michaelnazarov@1269
   105
+ "der\">ns0:purchaseOrder</a></tt></p><hr/><h2><aname=\"ns0:comment\"></a>ns0:comment"
michaelnazarov@1269
   106
+ "</h2><div>PutyourDTDDoccommenthere.</div><p><b>ElementContentModel</b></p><p><tt"
michaelnazarov@1269
   107
+ ">EMPTY</tt></p><p><b>Referencedby</b></p><p><tt><ahref=\"#ns0:purchaseOrder\">ns0:"
michaelnazarov@1269
   108
+ "purchaseOrder</a>,<ahref=\"#ns0:item\">ns0:item</a></tt></p><hr/><h2><aname=\"ns0:i"
michaelnazarov@1269
   109
+ "tems\"></a>ns0:items</h2><div>PutyourDTDDoccommenthere.</div><p><b>ElementContent"
michaelnazarov@1269
   110
+ "Model</b></p><p><tt>(<ahref=\"#ns0:item\">ns0:item</a>)*</tt></p><p><b>Referencedb"
michaelnazarov@1269
   111
+ "y</b></p><p><tt><ahref=\"#ns0:purchaseOrder\">ns0:purchaseOrder</a></tt></p><hr/><"
michaelnazarov@1269
   112
+ "h2><aname=\"ns0:item\"></a>ns0:item</h2><div>PutyourDTDDoccommenthere.</div><p><b>"
michaelnazarov@1269
   113
+ "DeclaredAttributes</b></p><ul><li><tt>#IMPLIEDCDATApartNum</tt></li></ul><p><b>E"
michaelnazarov@1269
   114
+ "lementContentModel</b></p><p><tt>(<ahref=\"#ns0:shipDate\">ns0:shipDate</a>&nbsp;|"
michaelnazarov@1269
   115
+ "<ahref=\"#ns0:comment\">ns0:comment</a>&nbsp;|<ahref=\"#ns0:USPrice\">ns0:USPrice</a"
michaelnazarov@1269
   116
+ ">&nbsp;|<ahref=\"#ns0:quantity\">ns0:quantity</a>&nbsp;|<ahref=\"#ns0:productName\">"
michaelnazarov@1269
   117
+ "ns0:productName</a>)*</tt></p><p><b>Referencedby</b></p><p><tt><ahref=\"#ns0:item"
michaelnazarov@1269
   118
+ "s\">ns0:items</a></tt></p><hr/><h2><aname=\"ns0:productName\"></a>ns0:productName</"
michaelnazarov@1269
   119
+ "h2><div>PutyourDTDDoccommenthere.</div><p><b>ElementContentModel</b></p><p><tt>E"
michaelnazarov@1269
   120
+ "MPTY</tt></p><p><b>Referencedby</b></p><p><tt><ahref=\"#ns0:item\">ns0:item</a></t"
michaelnazarov@1269
   121
+ "t></p><hr/><h2><aname=\"ns0:quantity\"></a>ns0:quantity</h2><div>PutyourDTDDoccomm"
michaelnazarov@1170
   122
+ "enthere.</div><p><b>ElementContentModel</b></p><p><tt>EMPTY</tt></p><p><b>Refere"
michaelnazarov@1269
   123
+ "ncedby</b></p><p><tt><ahref=\"#ns0:item\">ns0:item</a></tt></p><hr/><h2><aname=\"ns"
michaelnazarov@1269
   124
+ "0:USPrice\"></a>ns0:USPrice</h2><div>PutyourDTDDoccommenthere.</div><p><b>Element"
michaelnazarov@1269
   125
+ "ContentModel</b></p><p><tt>EMPTY</tt></p><p><b>Referencedby</b></p><p><tt><ahref"
michaelnazarov@1269
   126
+ "=\"#ns0:item\">ns0:item</a></tt></p><hr/><h2><aname=\"ns0:shipDate\"></a>ns0:shipDat"
michaelnazarov@1269
   127
+ "e</h2><div>PutyourDTDDoccommenthere.</div><p><b>ElementContentModel</b></p><p><t"
michaelnazarov@1269
   128
+ "t>EMPTY</tt></p><p><b>Referencedby</b></p><p><tt><ahref=\"#ns0:item\">ns0:item</a>"
michaelnazarov@1269
   129
+ "</tt></p></body></html>";
michaelnazarov@1269
   130
michaelnazarov@1170
   131
}