917918919920921922923
* [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); }
198819891990199119921993199419951996
return null; int size = fEnumeration.size(); String[] strs = new String[size]; for (int i = 0; i < size; i++) strs[i] = fEnumeration.elementAt(i).toString(); fLexicalEnumeration = new StringListImpl(strs, size); } return fLexicalEnumeration; }
583584585586587588589
* 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 == null ? 0 : fNamespaceList.length); }
216217218219220221222
* @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); }
203204205206207208209
*/ 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); }
187188189190191192193194195196
fHasIDC = hasIDC; fGrammarCount = len; fGlobalComponents = new XSNamedMap[MAX_COMP_IDX+1]; fNSComponents = new XSNamedMap[len][MAX_COMP_IDX+1]; fNamespacesList = new StringListImpl(fNamespaces, fGrammarCount); // build substitution groups fSubGroupMap = buildSubGroups(); }
106107108109110111112
return loader; } public StringList createStringList(String[] values) { int length = (values != null) ? values.length : 0; return (length != 0) ? new StringListImpl((String[]) values.clone(), length) : StringListImpl.EMPTY_LIST; }
118119120121122123124125
/* (non-Javadoc) * @see org.apache.xerces.xs.XSImplementation#getRecognizedVersions() */ public StringList getRecognizedVersions() { StringListImpl list = new StringListImpl(new String[]{"1.0"}, 1); return list; }
1624162516261627162816291630