no.kith.xmlstds.URL Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.03.16 at 08:56:03 PM CET
//
package no.kith.xmlstds;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for URL complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="URL">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="V" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "URL")
public final class URL {
@XmlAttribute(name = "V")
@XmlSchemaType(name = "anyURI")
private final String v;
public URL(final String v) {
this.v = v;
}
/**
* Used by JAX-B
*
*/
protected URL() {
this.v = null;
}
/**
* Gets the value of the v property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getV() {
return v;
}
public static URL.URLBuilder URLBuilder() {
return new URL.URLBuilder();
}
public static class URLBuilder {
private String v;
public URL.URLBuilder withV(final String v) {
this.v = v;
return this;
}
public URL build() {
return new URL(v);
}
}
}