661N/A * reserved comment block 661N/A * DO NOT REMOVE OR ALTER! 661N/A * Copyright 2005 The Apache Software Foundation. 661N/A * Licensed under the Apache License, Version 2.0 (the "License"); 661N/A * you may not use this file except in compliance with the License. 661N/A * You may obtain a copy of the License at 661N/A * Unless required by applicable law or agreed to in writing, software 661N/A * distributed under the License is distributed on an "AS IS" BASIS, 661N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 661N/A * See the License for the specific language governing permissions and 661N/A * limitations under the License. 2362N/A * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 0N/A * DOM-based implementation of Manifest. 0N/A * @author Sean Mullan 0N/A * Creates a <code>DOMManifest</code> containing the specified 0N/A * list of {@link Reference}s and optional id. 0N/A * @param references a list of one or more <code>Reference</code>s. The list 0N/A * is defensively copied to protect against subsequent modification. 0N/A * @param id the id (may be <code>null</code> 0N/A * @throws NullPointerException if <code>references</code> is 0N/A * @throws IllegalArgumentException if <code>references</code> is empty 0N/A * @throws ClassCastException if <code>references</code> contains any 0N/A * entries that are not of type {@link Reference} 0N/A "contain at least one entry");
0N/A (
"references["+i+
"] is not a valid type");
0N/A * Creates a <code>DOMManifest</code> from an element. 0N/A * @param manElem a Manifest element 6159N/A " references per Manifest are allowed with" +