DOMXMLObject.java revision 6159
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 XMLObject. 0N/A * @author Sean Mullan 0N/A * Creates an <code>XMLObject</code> from the specified parameters. 0N/A * @param content a list of {@link XMLStructure}s. The list 0N/A * is defensively copied to protect against subsequent modification. 0N/A * May be <code>null</code> or empty. 0N/A * @param id the Id (may be <code>null</code>) 0N/A * @param mimeType the mime type (may be <code>null</code>) 0N/A * @param encoding the encoding (may be <code>null</code>) 0N/A * @return an <code>XMLObject</code> 0N/A * @throws ClassCastException if <code>content</code> contains any 0N/A * entries that are not of type {@link XMLStructure} 0N/A (
"content["+i+
"] is not a valid type");
0N/A * Creates an <code>XMLObject</code> from an element. 0N/A * @param objElem an Object element 0N/A * @throws MarshalException if there is an error when unmarshalling 0N/A // unmarshal attributes 0N/A //@@@FIXME: check for other dsig structures 0N/A // create and append any elements and mixed content, if necessary