Package org.apache.sis.internal.jaxb

Examples of org.apache.sis.internal.jaxb.Context.finish()


    public void marshal(final Object object, final Result output) throws JAXBException {
        final Context context = begin();
        try {
            marshaller.marshal(object, output);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the marshalling to the wrapped marshaller.
View Full Code Here


    public void marshal(final Object object, final OutputStream output) throws JAXBException {
        final Context context = begin();
        try {
            marshaller.marshal(object, output);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the marshalling to the wrapped marshaller.
View Full Code Here

    public void marshal(final Object object, final File output) throws JAXBException {
        final Context context = begin();
        try {
            marshaller.marshal(object, output);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the marshalling to the wrapped marshaller.
View Full Code Here

    public void marshal(final Object object, final Writer output) throws JAXBException {
        final Context context = begin();
        try {
            marshaller.marshal(object, output);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the marshalling to the wrapped marshaller.
View Full Code Here

    public void marshal(final Object object, final ContentHandler output) throws JAXBException {
        final Context context = begin();
        try {
            marshaller.marshal(object, output);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the marshalling to the wrapped marshaller.
View Full Code Here

    public void marshal(final Object object, final Node output) throws JAXBException {
        final Context context = begin();
        try {
            marshaller.marshal(object, output);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the marshalling to the wrapped marshaller.
View Full Code Here

    public void marshal(final Object object, final XMLStreamWriter output) throws JAXBException {
        final Context context = begin();
        try {
            marshaller.marshal(object, output);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the marshalling to the wrapped marshaller.
View Full Code Here

    public void marshal(final Object object, final XMLEventWriter output) throws JAXBException {
        final Context context = begin();
        try {
            marshaller.marshal(object, output);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the marshalling to the wrapped marshaller.
View Full Code Here

    public Node getNode(final Object object) throws JAXBException {
        final Context context = begin();
        try {
            return marshaller.getNode(object);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates to the wrapped marshaller. This method is invoked by the parent
View Full Code Here

    public Object unmarshal(final InputStream input) throws JAXBException {
        final Context context = begin();
        try {
            return unmarshaller.unmarshal(input);
        } finally {
            context.finish();
        }
    }

    /**
     * Delegates the unmarshalling to the wrapped unmarshaller.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.