public int size() { return getLength(); }
public Object[] toArray() { Object[] a = new Object[fLength]; toArray0(a); return a; }
public LSInputList createLSInputList(LSInput[] values) { int length = (values != null) ? values.length : 0; return (length != 0) ? new LSInputListImpl((LSInput[]) values.clone(), length) : LSInputListImpl.EMPTY_LIST; }
xsLoader.getConfig().setParameter(Constants.DOM_VALIDATE, Boolean.TRUE); xsModel = xsLoader.loadInputList(new LSInputListImpl(uris, uris.length)); if (xsModel == null) { throw new RuntimeException("Couldn't load XMLSchema from " + Arrays.asList(uris));
public Object[] toArray(Object[] a) { if (a.length < fLength) { Class arrayClass = a.getClass(); Class componentType = arrayClass.getComponentType(); a = (Object[]) Array.newInstance(componentType, fLength); } toArray0(a); if (a.length > fLength) { a[fLength] = null; } return a; }