private void setFailedAssertionsPSVIResult(ElementPSVI elemPSVI) { XSAssert[] tempArray = new XSAssert[fFailedAssertions.length]; System.arraycopy(fFailedAssertions, 0, tempArray, 0, fFailedAssertions.length); ((ElementPSVImpl)elemPSVI).fFailedAssertions = new ObjectListImpl(tempArray, tempArray.length); } // setFailedAssertionsPSVIResult
public int size() { return getLength(); }
public Object[] toArray() { Object[] a = new Object[fLength]; toArray0(a); return a; }
ObjectList getInheritedAttributesForPSVI() { ObjectList inheritedAttributesList = null; Vector inheritableAttrList = fXmlSchemaValidator.getInheritableAttrList(); if (inheritableAttrList.size() > 0) { Object[] inheritedAttributesArray = new Object[inheritableAttrList.size()]; for (int inhrAttrIdx = 0; inhrAttrIdx < inheritableAttrList.size(); inhrAttrIdx++) { inheritedAttributesArray[inhrAttrIdx] = inheritableAttrList.get(inhrAttrIdx); } inheritedAttributesList = new ObjectListImpl(inheritedAttributesArray, inheritedAttributesArray.length); } return inheritedAttributesList; } // getInheritedAttributesForPSVI
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; }
fComponentsExt[objectType] = new ObjectListImpl(entries, entries.length);
FACET_ENUMERATION, this.getLexicalEnumeration(), new ObjectListImpl(fEnumeration, fEnumerationSize), enumerationAnnotations); count++;