org.eclipse.persistence.internal.oxm.record.PlatformUnmarshaller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.persistence.core Show documentation
Show all versions of org.eclipse.persistence.core Show documentation
EclipseLink build based upon Git transaction ecdf3c32c4
/*
* Copyright (c) 1998, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// Oracle - initial API and implementation from Oracle TopLink
package org.eclipse.persistence.internal.oxm.record;
import java.io.File;
import java.io.InputStream;
import java.io.Reader;
import java.net.URL;
import javax.xml.transform.Source;
import javax.xml.validation.Schema;
import org.w3c.dom.Node;
import org.xml.sax.EntityResolver;
import org.xml.sax.ErrorHandler;
import org.xml.sax.InputSource;
import org.xml.sax.XMLReader;
public interface PlatformUnmarshaller {
EntityResolver getEntityResolver();
void setEntityResolver(EntityResolver entityResolver);
ErrorHandler getErrorHandler();
void setErrorHandler(ErrorHandler errorHandler);
int getValidationMode();
void setValidationMode(int validationMode);
void setWhitespacePreserving(boolean isWhitespacePreserving);
void setSchemas(Object[] schemas);
void setSchema(Schema schema);
Schema getSchema();
Object unmarshal(File file);
Object unmarshal(File file, Class clazz);
Object unmarshal(InputStream inputStream);
Object unmarshal(InputStream inputStream, Class clazz);
Object unmarshal(InputSource inputSource);
Object unmarshal(InputSource inputSource, Class clazz);
Object unmarshal(Node node);
Object unmarshal(Node node, Class clazz);
Object unmarshal(Reader reader);
Object unmarshal(Reader reader, Class clazz);
Object unmarshal(Source source);
Object unmarshal(Source source, Class clazz);
Object unmarshal(URL url);
Object unmarshal(URL url, Class clazz);
Object unmarshal(XMLReader xmlReader, InputSource inputSource);
Object unmarshal(XMLReader xmlReader, InputSource inputSource, Class clazz);
void setResultAlwaysXMLRoot(boolean alwaysReturnRoot);
boolean isResultAlwaysXMLRoot();
void mediaTypeChanged();
boolean isSecureProcessingDisabled();
void setDisableSecureProcessing(boolean disableSecureProcessing);
}