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

com.sun.xml.txw2.annotation.XmlNamespace Maven / Gradle / Ivy

There is a newer version: 62
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.annotation;

import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.PACKAGE;
import com.sun.xml.txw2.TypedXmlWriter;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * Declares the namespace URI of the {@link TypedXmlWriter}s
 * in a package.
 *
 * 

* This annotation is placed on a package. When specified, * it sets the default value of the namespace URI for * all the elements ({@link XmlElement}s) in the given package. * * @author Kohsuke Kawaguchi */ @Retention(RUNTIME) @Target({PACKAGE}) public @interface XmlNamespace { /** * The namespace URI. */ String value(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy