// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2007.10.07 at 09:27:50 PM CEST // package slash.navigation.kml.binding21; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p>Java class for SnippetType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="SnippetType"> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="maxLines" type="{http://www.w3.org/2001/XMLSchema}int" default="2" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SnippetType", propOrder = { "value" }) public class SnippetType { @XmlValue protected String value; @XmlAttribute protected Integer maxLines; /** * 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; } /** * Gets the value of the maxLines property. * * @return * possible object is * {@link Integer } * */ public int getMaxLines() { if (maxLines == null) { return 2; } else { return maxLines; } } /** * Sets the value of the maxLines property. * * @param value * allowed object is * {@link Integer } * */ public void setMaxLines(Integer value) { this.maxLines = value; } }