All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.txw2.output.TXWSerializer Maven / Gradle / Ivy

Go to download

Old JAXB Core module. Contains sources required by XJC, JXC and Runtime modules with dependencies.

There is a newer version: 4.0.5
Show newest version
/*
 * Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.txw2.output;

import com.sun.xml.txw2.TypedXmlWriter;
import com.sun.xml.txw2.TXW;

/**
 * Dummpy implementation to pass through {@link TypedXmlWriter}
 * to {@link TXW}
 *
 * @author Kohsuke Kawaguchi
 */
public final class TXWSerializer implements XmlSerializer {
    public final TypedXmlWriter txw;

    public TXWSerializer(TypedXmlWriter txw) {
        this.txw = txw;
    }

    public void startDocument() {
        throw new UnsupportedOperationException();
    }

    public void endDocument() {
        throw new UnsupportedOperationException();
    }

    public void beginStartTag(String uri, String localName, String prefix) {
        throw new UnsupportedOperationException();
    }

    public void writeAttribute(String uri, String localName, String prefix, StringBuilder value) {
        throw new UnsupportedOperationException();
    }

    public void writeXmlns(String prefix, String uri) {
        throw new UnsupportedOperationException();
    }

    public void endStartTag(String uri, String localName, String prefix) {
        throw new UnsupportedOperationException();
    }

    public void endTag() {
        throw new UnsupportedOperationException();
    }

    public void text(StringBuilder text) {
        throw new UnsupportedOperationException();
    }

    public void cdata(StringBuilder text) {
        throw new UnsupportedOperationException();
    }

    public void comment(StringBuilder comment) {
        throw new UnsupportedOperationException();
    }

    public void flush() {
        throw new UnsupportedOperationException();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy