Package org.apache.xerces.impl.xs.util

Examples of org.apache.xerces.impl.xs.util.StringListImpl


     * 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);
    }
View Full Code Here


      map.put(typeNS,new File("resources/tools/wsdlfixture/customtype/CustomTypeObj.xsd").toURL());
      map.put(arrTypeNS,new File("resources/tools/wsdlfixture/customtype/CustomTypeArrays.xsd").toURL());

      ((XMLSchemaLoader)xsloader).setEntityResolver(new JBossXSEntityResolver(new JBossWSEntityResolver(), map));
      //Construct a StringList
      StringList slist = new StringListImpl(arr, 2);
      XSModel xsmodel = xsloader.loadURIList(slist);
      assertNotNull("XSModel is null?", xsmodel);

      XSNamedMap xsnamedmap = getXSNamedMap(xsmodel, typeNS);
      assertNotNull("XSNamedMap is null?", xsnamedmap);
View Full Code Here

     */
    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);
    }
View Full Code Here

        return StringListImpl.EMPTY_LIST;
      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;
  }
View Full Code Here

      else {
        strs = new String[size];
      }
      for (int i = 0; i < size; i++)
        strs[i] = (String)fPatternStr.elementAt(i);
      fLexicalPattern = new StringListImpl(strs, strs.length);
    }
    return fLexicalPattern;
  }
View Full Code Here

     */
    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);
    }
View Full Code Here

     * @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);
    }
View Full Code Here

     * 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);
    }
View Full Code Here

        return StringListImpl.EMPTY_LIST;
      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;
  }
View Full Code Here

      else {
        strs = new String[size];
      }
      for (int i = 0; i < size; i++)
        strs[i] = (String)fPatternStr.elementAt(i);
      fLexicalPattern = new StringListImpl(strs, strs.length);
    }
    return fLexicalPattern;
  }
View Full Code Here

TOP

Related Classes of org.apache.xerces.impl.xs.util.StringListImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.