Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package javax.xml.bind;
public interface Marshaller {
    String JAXB_ENCODING = "jaxb.encoding";
    String JAXB_FORMATTED_OUTPUT = "jaxb.formatted.output";
    String JAXB_FRAGMENT = "jaxb.fragment";
    String JAXB_NO_NAMESPACE_SCHEMA_LOCATION = "jaxb.noNamespaceSchemaLocation";
    String JAXB_SCHEMA_LOCATION = "jaxb.schemaLocation";
    abstract class Listener {
        public void beforeMarshal(Object source) {
        public void afterMarshal(Object source) {
    <A extends XmlAdapter> A getAdapter(Class<A> type);
    Node getNode(Object contentTreethrows JAXBException;
    Object getProperty(String namethrows PropertyException;
    Schema getSchema();
    void marshal(Object jaxbElementContentHandler handlerthrows JAXBException;
    void marshal(Object jaxbElementFile filethrows JAXBException;
    void marshal(Object jaxbElementNode nodethrows JAXBException;
    void marshal(Object jaxbElementOutputStream osthrows JAXBException;
    void marshal(Object jaxbElementResult resultthrows JAXBException;
    void marshal(Object jaxbElementWriter writerthrows JAXBException;
    void marshal(Object jaxbElementXMLEventWriter writerthrows JAXBException;
    void marshal(Object jaxbElementXMLStreamWriter writerthrows JAXBException;
    <A extends XmlAdaptervoid setAdapter(Class<A> type, A adapter);
    void setAdapter(XmlAdapter adapter);
    void setEventHandler(ValidationEventHandler handlerthrows JAXBException;
    void setListener(Listener listener);
    void setProperty(String nameObject valuethrows PropertyException;
    void setSchema(Schema schema);
New to GrepCode? Check out our FAQ X