/******************************************************************************* * Copyright 2017 Capital One Services, LLC and Bitwise, Inc. * Licensed 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 * http://www.apache.org/licenses/LICENSE-2.0 * 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 hydrograph.engine.jaxb.inputtypes; import hydrograph.engine.jaxb.commontypes.BooleanValueType; import hydrograph.engine.jaxb.commontypes.StandardCharsets; import hydrograph.engine.jaxb.ifxml.TypeInputFileXmlBase; import javax.xml.bind.annotation.*; /** * <p>Java class for xmlFile complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="xmlFile"> * <complexContent> * <extension base="{hydrograph/engine/jaxb/ifxml}type-input-file-xml-base"> * <sequence> * <element name="path"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="absoluteXPath"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="rootTag"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="rowTag"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="safe" type="{hydrograph/engine/jaxb/commontypes}boolean-value-type" minOccurs="0"/> * <element name="strict" type="{hydrograph/engine/jaxb/commontypes}boolean-value-type" minOccurs="0"/> * <element name="charset" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="value" use="required" type="{hydrograph/engine/jaxb/commontypes}standard-charsets" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "xmlFile", namespace = "hydrograph/engine/jaxb/inputtypes", propOrder = { "path", "absoluteXPath", "rootTag", "rowTag", "safe", "strict", "charset" }) public class XmlFile extends TypeInputFileXmlBase { @XmlElement(required = true) protected XmlFile.Path path; @XmlElement(required = true) protected XmlFile.AbsoluteXPath absoluteXPath; @XmlElement(required = true) protected XmlFile.RootTag rootTag; @XmlElement(required = true) protected XmlFile.RowTag rowTag; protected BooleanValueType safe; protected BooleanValueType strict; protected XmlFile.Charset charset; /** * Gets the value of the path property. * * @return * possible object is * {@link XmlFile.Path } * */ public XmlFile.Path getPath() { return path; } /** * Sets the value of the path property. * * @param value * allowed object is * {@link XmlFile.Path } * */ public void setPath(XmlFile.Path value) { this.path = value; } /** * Gets the value of the absoluteXPath property. * * @return * possible object is * {@link XmlFile.AbsoluteXPath } * */ public XmlFile.AbsoluteXPath getAbsoluteXPath() { return absoluteXPath; } /** * Sets the value of the absoluteXPath property. * * @param value * allowed object is * {@link XmlFile.AbsoluteXPath } * */ public void setAbsoluteXPath(XmlFile.AbsoluteXPath value) { this.absoluteXPath = value; } /** * Gets the value of the rootTag property. * * @return * possible object is * {@link XmlFile.RootTag } * */ public XmlFile.RootTag getRootTag() { return rootTag; } /** * Sets the value of the rootTag property. * * @param value * allowed object is * {@link XmlFile.RootTag } * */ public void setRootTag(XmlFile.RootTag value) { this.rootTag = value; } /** * Gets the value of the rowTag property. * * @return * possible object is * {@link XmlFile.RowTag } * */ public XmlFile.RowTag getRowTag() { return rowTag; } /** * Sets the value of the rowTag property. * * @param value * allowed object is * {@link XmlFile.RowTag } * */ public void setRowTag(XmlFile.RowTag value) { this.rowTag = value; } /** * Gets the value of the safe property. * * @return * possible object is * {@link BooleanValueType } * */ public BooleanValueType getSafe() { return safe; } /** * Sets the value of the safe property. * * @param value * allowed object is * {@link BooleanValueType } * */ public void setSafe(BooleanValueType value) { this.safe = value; } /** * Gets the value of the strict property. * * @return * possible object is * {@link BooleanValueType } * */ public BooleanValueType getStrict() { return strict; } /** * Sets the value of the strict property. * * @param value * allowed object is * {@link BooleanValueType } * */ public void setStrict(BooleanValueType value) { this.strict = value; } /** * Gets the value of the charset property. * * @return * possible object is * {@link XmlFile.Charset } * */ public XmlFile.Charset getCharset() { return charset; } /** * Sets the value of the charset property. * * @param value * allowed object is * {@link XmlFile.Charset } * */ public void setCharset(XmlFile.Charset value) { this.charset = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class AbsoluteXPath { @XmlAttribute(name = "value", required = true) protected String value; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="value" use="required" type="{hydrograph/engine/jaxb/commontypes}standard-charsets" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Charset { @XmlAttribute(name = "value", required = true) protected StandardCharsets value; /** * Gets the value of the value property. * * @return * possible object is * {@link StandardCharsets } * */ public StandardCharsets getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link StandardCharsets } * */ public void setValue(StandardCharsets value) { this.value = value; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Path { @XmlAttribute(name = "uri", required = true) protected String uri; /** * Gets the value of the uri property. * * @return * possible object is * {@link String } * */ public String getUri() { return uri; } /** * Sets the value of the uri property. * * @param value * allowed object is * {@link String } * */ public void setUri(String value) { this.uri = value; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class RootTag { @XmlAttribute(name = "value", required = true) protected String value; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class RowTag { @XmlAttribute(name = "value", required = true) protected String value; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } }