2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.model.repo.api;
10 import com.google.common.annotations.Beta;
11 import javax.annotation.Nonnull;
12 import javax.xml.transform.Source;
15 * YIN text schema source representation. Exposes an RFC6020 XML representation as an XML {@link Source}.
18 public interface YinXmlSchemaSource extends YinSchemaSourceRepresentation {
21 Class<? extends YinXmlSchemaSource> getType();
24 * Return an XML {@link Source} of the YIN document.
26 * @return An XML {@link Source} instance.
28 @Nonnull Source getSource();