578579580581582583584
* LIST_NSCONSTRAINT, the list contains allowed namespaces. For * <code>constraintType</code> NOT_NSCONSTRAINT, the list contains * disallowed namespaces. */ public StringList getNsConstraintList() { return new StringListImpl(fNamespaceList, fNamespaceList.length); }
1794179517961797179817991800
// REVISIT: fEnumeration should be of type StringListImpl int size = fEnumeration.size(); String[] strs = new String[size]; for (int i = 0; i < size; i++) strs[i] = fEnumeration.elementAt(i).toString(); return new StringListImpl(strs, size); }
1806180718081809181018111812
// REVISIT: fPattern should be of type StringListImpl int size = fPatternStr.size(); String[] strs = new String[size]; for (int i = 0; i < size; i++) strs[i] = (String)fPatternStr.elementAt(i); return new StringListImpl(strs, size); }
229230231232233234235
*/ public StringList getFieldStrs() { String[] strs = new String[fFieldCount]; for (int i = 0; i < fFieldCount; i++) strs[i] = fFields[i].toString(); return new StringListImpl(strs, fFieldCount); }
854855856857858859860
* [document location] * @see <a href="http://www.w3.org/TR/xmlschema-1/#sd-document_location">[document location]</a> * @return a list of document information item */ public StringList getDocumentLocations() { return new StringListImpl(fLocations); }
179180181182183184185
* @return Array of error codes */ public StringList getErrorCodes() { if (fErrorCodes == null) return null; return new StringListImpl(fErrorCodes, fErrorCodes.length); }
217218219220221222223
* @return A list of all namespaces that belong to this schema or * <code>null</code> if all components don't have a targetNamespace. */ public StringList getNamespaces() { // REVISIT: should the type of fNamespace be StringListImpl? return new StringListImpl(fNamespaces, fGrammarCount); }
169170171172173174175
* @return list of error codes */ public StringList getErrorCodes() { if (fErrorCodes == null) return null; return new StringListImpl(fErrorCodes, fErrorCodes.length); }
202120222023202420252026202720282029
else { strs = new String[size]; } for (int i = 0; i < size; i++) strs[i] = (String)fPatternStr.elementAt(i); fLexicalPattern = new StringListImpl(strs, size); } return fLexicalPattern; }
218219220221222223224