Revision 30620 branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/persistence/xml/ZipXMLSchemaConstants.java
ZipXMLSchemaConstants.java | ||
---|---|---|
63 | 63 |
public static final String XSD_HEAD_VALUE = |
64 | 64 |
"<?xml version=\"1.0\"?>\n"+ |
65 | 65 |
"<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n"+ |
66 |
" targetNamespace=\"{1}\"" + |
|
66 |
" targetNamespace=\"{1}\"\n" +
|
|
67 | 67 |
" xmlns:tools=\""+XMLPersistentConstants.BASE_DOMIAN_URL+"\"\n"+ |
68 | 68 |
" xmlns:{0}=\"{1}\"\n"+ |
69 | 69 |
" elementFormDefault=\"qualified\"\n"+ |
70 |
" attributeFormDefault=\"qualified\">"+ |
|
70 |
" attributeFormDefault=\"qualified\">\n\n"+
|
|
71 | 71 |
MessageFormat.format( |
72 | 72 |
XSD_IMPORT_SCHEMA_VALUE, |
73 | 73 |
new Object[] { |
74 | 74 |
BASE_SCHEMA_FILE_NAME, |
75 |
XMLPersistentConstants.BASE_DOMIAN_URL }); |
|
75 |
XMLPersistentConstants.BASE_DOMIAN_URL }) + "\n\n";
|
|
76 | 76 |
|
77 | 77 |
public static final String XSD_END = "</xs:schema>"; |
78 | 78 |
|
... | ... | |
89 | 89 |
|
90 | 90 |
public static final String XSD_END_CLASS = |
91 | 91 |
" </xs:all>\n" + |
92 |
" <xs:attributeGroup ref=\"tools:state_attributes\"/>"+ |
|
92 |
" <xs:attributeGroup ref=\"tools:state_attributes\"/>\n"+
|
|
93 | 93 |
" </xs:complexType>\n" + |
94 | 94 |
" </xs:element>\n"; |
95 | 95 |
|
... | ... | |
105 | 105 |
* </ol> |
106 | 106 |
*/ |
107 | 107 |
public static final String XSD_ATTRUBUTE_VALUE = |
108 |
" <xs:element name=\"{0}\" type=\"{1}\"/>"; |
|
108 |
" <xs:element name=\"{0}\" type=\"{1}\"/>\n";
|
|
109 | 109 |
|
110 | 110 |
/** |
111 | 111 |
* <ol> |
... | ... | |
116 | 116 |
* </ol> |
117 | 117 |
*/ |
118 | 118 |
public static final String XSD_ATTRUBUTE_MANDATORY_VALUE = |
119 |
" <xs:element name=\"{0}\" type=\"{1}\" minOccurs=\"1\"/>"; |
|
119 |
" <xs:element name=\"{0}\" type=\"{1}\" minOccurs=\"1\"/>\n";
|
|
120 | 120 |
|
121 | 121 |
|
122 | 122 |
public static final String XSD_ATTRUBUTE_TYPE_NULL = "tools:state_attribute_Null"; |
Also available in: Unified diff