- From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 11 Aug 2009 13:43:03 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn/response In directory hutz:/tmp/cvs-serv6157/org/w3c/unicorn/response Modified Files: A.java Error.java Result.java Warning.java Code.java Longmessage.java Inline.java Response.java Info.java Img.java Log Message: Code cleanup Index: Img.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Img.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Img.java 20 Feb 2008 15:09:58 -0000 1.1 +++ Img.java 11 Aug 2009 13:43:01 -0000 1.2 @@ -5,206 +5,183 @@ // Generated on: 2006.07.26 at 04:29:37 PM CEST // - package org.w3c.unicorn.response; import java.math.BigInteger; - - /** - * <p>Java class for img element declaration. + * <p> + * Java class for img element declaration. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * The following schema fragment specifies the expected content contained within + * this class. * * <pre> - * <element name="img"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="alt" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> - * <attribute name="longdesc" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> - * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> + * <element name="img"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="alt" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * <attribute name="longdesc" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> + * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> * </pre> * * */ public class Img { - protected String alt; - protected BigInteger height; - protected String longdesc; - protected String name; - protected String src; - protected BigInteger width; + protected String alt; - /** - * Gets the value of the alt property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAlt() { - return alt; - } + protected BigInteger height; - /** - * Sets the value of the alt property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAlt(String value) { - this.alt = value; - } + protected String longdesc; - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link int } - * - */ - public BigInteger getHeight() { - return height; - } + protected String name; - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link int } - * - */ - public void setHeight(BigInteger value) { - this.height = value; - } + protected String src; - /** - * Gets the value of the longdesc property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLongdesc() { - return longdesc; - } + protected BigInteger width; - /** - * Sets the value of the longdesc property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLongdesc(String value) { - this.longdesc = value; - } + /** + * Gets the value of the alt property. + * + * @return possible object is {@link String } + * + */ + public String getAlt() { + return alt; + } - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } + /** + * Sets the value of the alt property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setAlt(String value) { + this.alt = value; + } - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } + /** + * Gets the value of the height property. + * + * @return possible object is {@link int } + * + */ + public BigInteger getHeight() { + return height; + } - /** - * Gets the value of the src property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSrc() { - return src; - } + /** + * Sets the value of the height property. + * + * @param value + * allowed object is {@link int } + * + */ + public void setHeight(BigInteger value) { + this.height = value; + } - /** - * Sets the value of the src property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSrc(String value) { - this.src = value; - } + /** + * Gets the value of the longdesc property. + * + * @return possible object is {@link String } + * + */ + public String getLongdesc() { + return longdesc; + } - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link int } - * - */ - public BigInteger getWidth() { - return width; - } + /** + * Sets the value of the longdesc property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setLongdesc(String value) { + this.longdesc = value; + } - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link int } - * - */ - public void setWidth(BigInteger value) { - this.width = value; - } -/* - @Override - public String toString() { - String res="<img"; - if (src!=null && !"".equals(src)) - res += " src=\""+src+"\""; - if (name!=null && !"".equals(name)) - res += " name=\""+name+"\""; - if (longdesc!=null && !"".equals(longdesc)) - res += " longdesc=\""+longdesc+"\""; - if (alt!=null && !"".equals(alt)) - res += " alt=\""+alt+"\""; - if (width!=null) - res += " width\""+width+"\""; - if (height!=null) - res += " height\""+height+"\""; - return res+" />"; - } -*/ + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the src property. + * + * @return possible object is {@link String } + * + */ + public String getSrc() { + return src; + } + + /** + * Sets the value of the src property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setSrc(String value) { + this.src = value; + } + + /** + * Gets the value of the width property. + * + * @return possible object is {@link int } + * + */ + public BigInteger getWidth() { + return width; + } + + /** + * Sets the value of the width property. + * + * @param value + * allowed object is {@link int } + * + */ + public void setWidth(BigInteger value) { + this.width = value; + } + /* + * @Override public String toString() { String res="<img"; if (src!=null && + * !"".equals(src)) res += " src=\""+src+"\""; if (name!=null && + * !"".equals(name)) res += " name=\""+name+"\""; if (longdesc!=null && + * !"".equals(longdesc)) res += " longdesc=\""+longdesc+"\""; if (alt!=null && + * !"".equals(alt)) res += " alt=\""+alt+"\""; if (width!=null) res += " + * width\""+width+"\""; if (height!=null) res += " height\""+height+"\""; + * return res+" />"; } + */ } Index: Error.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Error.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Error.java 20 Feb 2008 15:09:58 -0000 1.1 +++ Error.java 11 Aug 2009 13:43:01 -0000 1.2 @@ -5,7 +5,6 @@ // Generated on: 2006.07.26 at 04:29:37 PM CEST // - package org.w3c.unicorn.response; import java.math.BigInteger; @@ -14,195 +13,191 @@ import org.w3c.unicorn.util.LocalizedString; - /** - * <p>Java class for error element declaration. + * <p> + * Java class for error element declaration. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * The following schema fragment specifies the expected content contained within + * this class. * * <pre> - * <element name="error"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://www.w3.org/unicorn/observationresponse}line" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}column" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}errortype" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}context" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}message" maxOccurs="unbounded"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}longmessage" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> + * <element name="error"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/unicorn/observationresponse}line" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}column" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}errortype" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}context" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}message" maxOccurs="unbounded"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}longmessage" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> * </pre> * * */ public class Error { - protected BigInteger line; - protected BigInteger column; - protected String errortype; - protected String context; - protected List<LocalizedString> message; - protected List<Longmessage> longmessage; + protected BigInteger line; - /** - * Gets the value of the line property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getLine() { - return line; - } + protected BigInteger column; - /** - * Sets the value of the line property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setLine(BigInteger value) { - this.line = value; - } + protected String errortype; - /** - * Gets the value of the column property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getColumn() { - return column; - } + protected String context; - /** - * Sets the value of the column property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setColumn(BigInteger value) { - this.column = value; - } + protected List<LocalizedString> message; - /** - * Gets the value of the errortype property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getErrortype() { - return errortype; - } + protected List<Longmessage> longmessage; - /** - * Sets the value of the errortype property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setErrortype(String value) { - this.errortype = value; - } + /** + * Gets the value of the line property. + * + * @return possible object is {@link BigInteger } + * + */ + public BigInteger getLine() { + return line; + } - /** - * Gets the value of the context property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getContext() { - return context; - } + /** + * Sets the value of the line property. + * + * @param value + * allowed object is {@link BigInteger } + * + */ + public void setLine(BigInteger value) { + this.line = value; + } - /** - * Sets the value of the context property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setContext(String value) { - this.context = value; - } + /** + * Gets the value of the column property. + * + * @return possible object is {@link BigInteger } + * + */ + public BigInteger getColumn() { + return column; + } - /** - * Gets the value of the message property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the message property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getMessage().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<LocalizedString> getMessage() { - if (message == null) { - message = new ArrayList<LocalizedString>(); - } - return this.message; - } + /** + * Sets the value of the column property. + * + * @param value + * allowed object is {@link BigInteger } + * + */ + public void setColumn(BigInteger value) { + this.column = value; + } - /** - * Gets the value of the longmessage property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the longmessage property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getLongmessage().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Longmessage } - * - * - */ - public List<Longmessage> getLongmessage() { - if (longmessage == null) { - longmessage = new ArrayList<Longmessage>(); - } - return this.longmessage; - } + /** + * Gets the value of the errortype property. + * + * @return possible object is {@link String } + * + */ + public String getErrortype() { + return errortype; + } + + /** + * Sets the value of the errortype property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setErrortype(String value) { + this.errortype = value; + } + + /** + * Gets the value of the context property. + * + * @return possible object is {@link String } + * + */ + public String getContext() { + return context; + } + + /** + * Sets the value of the context property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setContext(String value) { + this.context = value; + } + + /** + * Gets the value of the message property. + * + * <p> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a <CODE>set</CODE> + * method for the message property. + * + * <p> + * For example, to add a new item, do as follows: + * + * <pre> + * getMessage().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list {@link String } + * + * + */ + public List<LocalizedString> getMessage() { + if (message == null) { + message = new ArrayList<LocalizedString>(); + } + return this.message; + } + + /** + * Gets the value of the longmessage property. + * + * <p> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a <CODE>set</CODE> + * method for the longmessage property. + * + * <p> + * For example, to add a new item, do as follows: + * + * <pre> + * getLongmessage().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Longmessage } + * + * + */ + public List<Longmessage> getLongmessage() { + if (longmessage == null) { + longmessage = new ArrayList<Longmessage>(); + } + return this.longmessage; + } public void setMessage(List<LocalizedString> message) { this.message = message; Index: Info.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Info.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Info.java 20 Feb 2008 15:09:58 -0000 1.1 +++ Info.java 11 Aug 2009 13:43:01 -0000 1.2 @@ -5,7 +5,6 @@ // Generated on: 2006.07.26 at 04:29:37 PM CEST // - package org.w3c.unicorn.response; import java.math.BigInteger; @@ -14,169 +13,167 @@ import org.w3c.unicorn.util.LocalizedString; - /** - * <p>Java class for info element declaration. + * <p> + * Java class for info element declaration. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * The following schema fragment specifies the expected content contained within + * this class. * * <pre> - * <element name="info"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://www.w3.org/unicorn/observationresponse}line" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}column" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}context" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}message" maxOccurs="unbounded"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}longmessage" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> + * <element name="info"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/unicorn/observationresponse}line" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}column" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}context" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}message" maxOccurs="unbounded"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}longmessage" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> * </pre> * * */ public class Info { - protected BigInteger line; - protected BigInteger column; - protected String context; - protected List<LocalizedString> message; - protected List<Longmessage> longmessage; + protected BigInteger line; - /** - * Gets the value of the line property. - * - * @return - * possible object is - * {@link int } - * - */ - public BigInteger getLine() { - return line; - } + protected BigInteger column; - /** - * Sets the value of the line property. - * - * @param value - * allowed object is - * {@link int } - * - */ - public void setLine(BigInteger value) { - this.line = value; - } + protected String context; - /** - * Gets the value of the column property. - * - * @return - * possible object is - * {@link int } - * - */ - public BigInteger getColumn() { - return column; - } + protected List<LocalizedString> message; - /** - * Sets the value of the column property. - * - * @param value - * allowed object is - * {@link int } - * - */ - public void setColumn(BigInteger value) { - this.column = value; - } + protected List<Longmessage> longmessage; - /** - * Gets the value of the context property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getContext() { - return context; - } + /** + * Gets the value of the line property. + * + * @return possible object is {@link int } + * + */ + public BigInteger getLine() { + return line; + } - /** - * Sets the value of the context property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setContext(String value) { - this.context = value; - } + /** + * Sets the value of the line property. + * + * @param value + * allowed object is {@link int } + * + */ + public void setLine(BigInteger value) { + this.line = value; + } - /** - * Gets the value of the message property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the message property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getMessage().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<LocalizedString> getMessage() { - if (message == null) { - message = new ArrayList<LocalizedString>(); - } - return this.message; - } + /** + * Gets the value of the column property. + * + * @return possible object is {@link int } + * + */ + public BigInteger getColumn() { + return column; + } - /** - * Gets the value of the longmessage property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the longmessage property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getLongmessage().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Longmessage } - * - * - */ - public List<Longmessage> getLongmessage() { - if (longmessage == null) { - longmessage = new ArrayList<Longmessage>(); - } - return this.longmessage; - } + /** + * Sets the value of the column property. + * + * @param value + * allowed object is {@link int } + * + */ + public void setColumn(BigInteger value) { + this.column = value; + } + + /** + * Gets the value of the context property. + * + * @return possible object is {@link String } + * + */ + public String getContext() { + return context; + } + + /** + * Sets the value of the context property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setContext(String value) { + this.context = value; + } + + /** + * Gets the value of the message property. + * + * <p> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a <CODE>set</CODE> + * method for the message property. + * + * <p> + * For example, to add a new item, do as follows: + * + * <pre> + * getMessage().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list {@link String } + * + * + */ + public List<LocalizedString> getMessage() { + if (message == null) { + message = new ArrayList<LocalizedString>(); + } + return this.message; + } + + /** + * Gets the value of the longmessage property. + * + * <p> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a <CODE>set</CODE> + * method for the longmessage property. + * + * <p> + * For example, to add a new item, do as follows: + * + * <pre> + * getLongmessage().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Longmessage } + * + * + */ + public List<Longmessage> getLongmessage() { + if (longmessage == null) { + longmessage = new ArrayList<Longmessage>(); + } + return this.longmessage; + } public void setMessage(List<LocalizedString> message) { this.message = message; Index: Longmessage.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Longmessage.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Longmessage.java 17 Jun 2008 13:45:31 -0000 1.2 +++ Longmessage.java 11 Aug 2009 13:43:01 -0000 1.3 @@ -5,69 +5,68 @@ // Generated on: 2006.07.26 at 04:29:37 PM CEST // - package org.w3c.unicorn.response; import java.util.ArrayList; import java.util.List; - /** - * <p>Java class for longmessage element declaration. + * <p> + * Java class for longmessage element declaration. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * The following schema fragment specifies the expected content contained within + * this class. * * <pre> - * <element name="longmessage"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <element ref="{http://www.w3.org/unicorn/observationresponse}a"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}code"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}img"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> + * <element name="longmessage"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://www.w3.org/unicorn/observationresponse}a"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}code"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}img"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> * </pre> * * */ public class Longmessage { - protected List<Object> content = new ArrayList<Object>(); - protected String lang; + protected List<Object> content = new ArrayList<Object>(); - /** - * - * @return The list of the contents. - */ - public List<Object> getContent() { - if (content == null) { - content = new ArrayList<Object>(); - } - return this.content; - } + protected String lang; - /** - * Sets the contents of the message. - * @param content The list to set. - */ + /** + * + * @return The list of the contents. + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Sets the contents of the message. + * + * @param content + * The list to set. + */ public void setContent(List<Object> content) { this.content = content; } -/* - @Override - public String toString() { - String res = ""; - for (Object o : content) { - res += o.toString(); - } - return res; - } -*/ + + /* + * @Override public String toString() { String res = ""; for (Object o : + * content) { res += o.toString(); } return res; } + */ /** * @return The language of the message. */ @@ -77,7 +76,9 @@ /** * Sets the language for this message. - * @param lang The language of the message. + * + * @param lang + * The language of the message. */ public void setLang(String lang) { this.lang = lang; Index: Inline.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Inline.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Inline.java 20 Feb 2008 15:09:58 -0000 1.1 +++ Inline.java 11 Aug 2009 13:43:01 -0000 1.2 @@ -5,75 +5,70 @@ // Generated on: 2006.07.26 at 04:29:37 PM CEST // - package org.w3c.unicorn.response; import java.util.ArrayList; import java.util.List; /** - * <p>Java class for Inline complex type. + * <p> + * Java class for Inline complex type. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * The following schema fragment specifies the expected content contained within + * this class. * * <pre> - * <complexType name="Inline"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element ref="{http://www.w3.org/unicorn/observationresponse}a"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}img"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="Inline"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://www.w3.org/unicorn/observationresponse}a"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}img"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * */ public class Inline { - protected List<Object> content = new ArrayList<Object>(); + protected List<Object> content = new ArrayList<Object>(); - /** - * Gets the value of the content property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the content property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getContent().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link A } - * {@link String } - * {@link Img } - * - * - */ - public List<Object> getContent() { - return this.content; - } + /** + * Gets the value of the content property. + * + * <p> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a <CODE>set</CODE> + * method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list {@link A } + * {@link String } {@link Img } + * + * + */ + public List<Object> getContent() { + return this.content; + } public void setContent(List<Object> content) { this.content = content; } -/* - @Override - public String toString() { - String res = ""; - for (Object o : content) { - res += o.toString(); - } - return res; - } -*/ + /* + * @Override public String toString() { String res = ""; for (Object o : + * content) { res += o.toString(); } return res; } + */ } Index: Response.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Response.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Response.java 12 Sep 2008 18:01:51 -0000 1.5 +++ Response.java 11 Aug 2009 13:43:01 -0000 1.6 @@ -8,246 +8,244 @@ import javax.xml.datatype.XMLGregorianCalendar; public class Response { - protected String uri; - protected String checkedby; - protected String version; - protected XMLGregorianCalendar date; - protected Boolean passed; - protected StringBuilder xml; // the xml version of the response - - /** - * Result aResult = mapOfLangURIResult.get("fr").get("http://w3.org/home.css") - */ - protected Map<String, Map<String, Result>> mapOfLangURIResult = new LinkedHashMap<String, Map<String,Result>>(); + protected String uri; - /** - * Gets the value of the uri property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getUri() { - return uri; - } + protected String checkedby; - /** - * Sets the value of the uri property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setUri(String value) { - this.uri = value; - } + protected String version; - /** - * Gets the value of the checkedby property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCheckedby() { - return checkedby; - } + protected XMLGregorianCalendar date; - /** - * Sets the value of the checkedby property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCheckedby(String value) { - this.checkedby = value; - } + protected Boolean passed; - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } + protected StringBuilder xml; // the xml version of the response - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } + /** + * Result aResult = + * mapOfLangURIResult.get("fr").get("http://w3.org/home.css") + */ + protected Map<String, Map<String, Result>> mapOfLangURIResult = new LinkedHashMap<String, Map<String, Result>>(); - /** - * Gets the value of the date property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getDate() { - return date; - } + /** + * Gets the value of the uri property. + * + * @return possible object is {@link String } + * + */ + public String getUri() { + return uri; + } - /** - * Sets the value of the date property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setDate(XMLGregorianCalendar value) { - this.date = value; - } + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setUri(String value) { + this.uri = value; + } - /** - * Gets the value of the passed property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isPassed() { - return passed; - } + /** + * Gets the value of the checkedby property. + * + * @return possible object is {@link String } + * + */ + public String getCheckedby() { + return checkedby; + } - /** - * Sets the value of the passed property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassed(Boolean value) { - this.passed = value; - } + /** + * Sets the value of the checkedby property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setCheckedby(String value) { + this.checkedby = value; + } - /** - * Gets the value of the result property. - * - * @return - * possible object is - * {@link Result } - * - */ - public List<Result> getResultsList() { - List<Result> resultList = new ArrayList<Result>(); - //iterate all language - for (Map<String, Result> aMapOfURIResult : mapOfLangURIResult.values()) { - //iterate all URI - for (Result aResult : aMapOfURIResult.values()) { - resultList.add(aResult); - } - } - return resultList; - } - - /** - * Gets the result of the specified URI given a language. - * @param lang The language to consider. - * @param uri The URI to consider. - * @return The result in the given language for the URI. - */ - public Result getResult(String lang, String uri) { - if (mapOfLangURIResult.get(lang)==null) - mapOfLangURIResult.put(lang, new LinkedHashMap<String, Result>()); - if (mapOfLangURIResult.get(lang).get(uri) == null) - mapOfLangURIResult.get(lang).put(uri, new Result(lang, uri)); - return mapOfLangURIResult.get(lang).get(uri); - } + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + * + */ + public String getVersion() { + return version; + } - /** + /** + * Sets the value of the version property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the date property. + * + * @return possible object is {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDate() { + return date; + } + + /** + * Sets the value of the date property. + * + * @param value + * allowed object is {@link XMLGregorianCalendar } + * + */ + public void setDate(XMLGregorianCalendar value) { + this.date = value; + } + + /** + * Gets the value of the passed property. + * + * @return possible object is {@link Boolean } + * + */ + public Boolean isPassed() { + return passed; + } + + /** + * Sets the value of the passed property. + * + * @param value + * allowed object is {@link Boolean } + * + */ + public void setPassed(Boolean value) { + this.passed = value; + } + + /** + * Gets the value of the result property. + * + * @return possible object is {@link Result } + * + */ + public List<Result> getResultsList() { + List<Result> resultList = new ArrayList<Result>(); + // iterate all language + for (Map<String, Result> aMapOfURIResult : mapOfLangURIResult.values()) { + // iterate all URI + for (Result aResult : aMapOfURIResult.values()) { + resultList.add(aResult); + } + } + return resultList; + } + + /** + * Gets the result of the specified URI given a language. + * + * @param lang + * The language to consider. + * @param uri + * The URI to consider. + * @return The result in the given language for the URI. + */ + public Result getResult(String lang, String uri) { + if (mapOfLangURIResult.get(lang) == null) { + mapOfLangURIResult.put(lang, new LinkedHashMap<String, Result>()); + } + if (mapOfLangURIResult.get(lang).get(uri) == null) { + mapOfLangURIResult.get(lang).put(uri, new Result(lang, uri)); + } + return mapOfLangURIResult.get(lang).get(uri); + } + + /** * Adds a Result r to the map, if there is already a result which has the * same uri and the same language, we will append r to this result otherwise * we'll simply add r to the list. - * @param value The value of the result. + * + * @param value + * The value of the result. */ - public void addResult(Result value) { - //search in the list a result which have the same uri and the same language - Result currentRes = this.getResult(value.lang, value.uri); - if (currentRes != null) { - currentRes.warnings.addAll(value.warnings); - currentRes.errors.addAll(value.errors); - currentRes.infos.addAll(value.infos); - } - else { - if (mapOfLangURIResult.get(value.lang)==null) - mapOfLangURIResult.put(value.lang, new LinkedHashMap<String, Result>()); - mapOfLangURIResult.get(value.lang).put(value.uri, value); - } - } + public void addResult(Result value) { + // search in the list a result which have the same uri and the same + // language + Result currentRes = this.getResult(value.lang, value.uri); + if (currentRes != null) { + currentRes.warnings.addAll(value.warnings); + currentRes.errors.addAll(value.errors); + currentRes.infos.addAll(value.infos); + } else { + if (mapOfLangURIResult.get(value.lang) == null) { + mapOfLangURIResult.put(value.lang, + new LinkedHashMap<String, Result>()); + } + mapOfLangURIResult.get(value.lang).put(value.uri, value); + } + } - /** - * - * @return The list of errors corresponding to the results. - */ - List<Error> getErrorList() { - List<Error> xList = new ArrayList<Error>(); - //iterate all language - for (Map<String, Result> aMapOfURIResult : mapOfLangURIResult.values()) { - //iterate all URI - for (Result aResult : aMapOfURIResult.values()) { - xList.addAll(aResult.errors); - } - } - return xList; - } - - /** - * - * @return The list of warnings corresponding to the results. - */ - List<Warning> getWarningList() { - List<Warning> xList = new ArrayList<Warning>(); - //iterate all language - for (Map<String, Result> aMapOfURIResult : mapOfLangURIResult.values()) { - //iterate all URI - for (Result aResult : aMapOfURIResult.values()) { - xList.addAll(aResult.warnings); - } - } - return xList; - } - - /** - * - * @return The list of infos corresponding to the results. - */ - List<Info> getAllInfo() { - List<Info> xList = new ArrayList<Info>(); - //iterate all language - for (Map<String, Result> aMapOfURIResult : mapOfLangURIResult.values()) { - //iterate all URI - for (Result aResult : aMapOfURIResult.values()) { - xList.addAll(aResult.infos); - } - } - return xList; - } - - public void setXml(StringBuilder sb) { - this.xml = sb; - } - - public StringBuilder getXml() { - return this.xml; - } + /** + * + * @return The list of errors corresponding to the results. + */ + List<Error> getErrorList() { + List<Error> xList = new ArrayList<Error>(); + // iterate all language + for (Map<String, Result> aMapOfURIResult : mapOfLangURIResult.values()) { + // iterate all URI + for (Result aResult : aMapOfURIResult.values()) { + xList.addAll(aResult.errors); + } + } + return xList; + } + + /** + * + * @return The list of warnings corresponding to the results. + */ + List<Warning> getWarningList() { + List<Warning> xList = new ArrayList<Warning>(); + // iterate all language + for (Map<String, Result> aMapOfURIResult : mapOfLangURIResult.values()) { + // iterate all URI + for (Result aResult : aMapOfURIResult.values()) { + xList.addAll(aResult.warnings); + } + } + return xList; + } + + /** + * + * @return The list of infos corresponding to the results. + */ + List<Info> getAllInfo() { + List<Info> xList = new ArrayList<Info>(); + // iterate all language + for (Map<String, Result> aMapOfURIResult : mapOfLangURIResult.values()) { + // iterate all URI + for (Result aResult : aMapOfURIResult.values()) { + xList.addAll(aResult.infos); + } + } + return xList; + } + + public void setXml(StringBuilder sb) { + this.xml = sb; + } + + public StringBuilder getXml() { + return this.xml; + } } Index: Warning.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Warning.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Warning.java 20 Feb 2008 15:09:58 -0000 1.1 +++ Warning.java 11 Aug 2009 13:43:01 -0000 1.2 @@ -5,7 +5,6 @@ // Generated on: 2006.07.26 at 04:29:37 PM CEST // - package org.w3c.unicorn.response; import java.math.BigInteger; @@ -14,29 +13,31 @@ import org.w3c.unicorn.util.LocalizedString; - /** - * <p>Java class for warning element declaration. + * <p> + * Java class for warning element declaration. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * The following schema fragment specifies the expected content contained within + * this class. * * <pre> - * <element name="warning"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://www.w3.org/unicorn/observationresponse}line" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}column" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}context" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}level" minOccurs="0"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}message" maxOccurs="unbounded"/> - * <element ref="{http://www.w3.org/unicorn/observationresponse}longmessage" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> + * <element name="warning"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/unicorn/observationresponse}line" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}column" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}context" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}level" minOccurs="0"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}message" maxOccurs="unbounded"/> + * <element ref="{http://www.w3.org/unicorn/observationresponse}longmessage" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> * </pre> * * @@ -44,166 +45,160 @@ public class Warning { - protected BigInteger line; - protected BigInteger column; - protected String context; - protected Integer level; - protected List<LocalizedString> message; - protected List<Longmessage> longmessage; + protected BigInteger line; - /** - * Gets the value of the line property. - * - * @return - * possible object is - * {@link int } - * - */ - public BigInteger getLine() { - return line; - } + protected BigInteger column; - /** - * Sets the value of the line property. - * - * @param value - * allowed object is - * {@link int } - * - */ - public void setLine(BigInteger value) { - this.line = value; - } + protected String context; - /** - * Gets the value of the column property. - * - * @return - * possible object is - * {@link int } - * - */ - public BigInteger getColumn() { - return column; - } + protected Integer level; - /** - * Sets the value of the column property. - * - * @param value - * allowed object is - * {@link int } - * - */ - public void setColumn(BigInteger value) { - this.column = value; - } + protected List<LocalizedString> message; - /** - * Gets the value of the context property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getContext() { - return context; - } + protected List<Longmessage> longmessage; - /** - * Sets the value of the context property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setContext(String value) { - this.context = value; - } + /** + * Gets the value of the line property. + * + * @return possible object is {@link int } + * + */ + public BigInteger getLine() { + return line; + } - /** - * Gets the value of the level property. - * - * @return - * possible object is - * {@link int } - * - */ - public Integer getLevel() { - return level; - } + /** + * Sets the value of the line property. + * + * @param value + * allowed object is {@link int } + * + */ + public void setLine(BigInteger value) { + this.line = value; + } - /** - * Sets the value of the level property. - * - * @param value - * allowed object is - * {@link int } - * - */ - public void setLevel(Integer value) { - this.level = value; - } + /** + * Gets the value of the column property. + * + * @return possible object is {@link int } + * + */ + public BigInteger getColumn() { + return column; + } - /** - * Gets the value of the message property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the message property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getMessage().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<LocalizedString> getMessage() { - if (message == null) { - message = new ArrayList<LocalizedString>(); - } - return this.message; - } + /** + * Sets the value of the column property. + * + * @param value + * allowed object is {@link int } + * + */ + public void setColumn(BigInteger value) { + this.column = value; + } - /** - * Gets the value of the longmessage property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the longmessage property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getLongmessage().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Longmessage } - * - * - */ - public List<Longmessage> getLongmessage() { - if (longmessage == null) { - longmessage = new ArrayList<Longmessage>(); - } - return this.longmessage; - } + /** + * Gets the value of the context property. + * + * @return possible object is {@link String } + * + */ + public String getContext() { + return context; + } + + /** + * Sets the value of the context property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setContext(String value) { + this.context = value; + } + + /** + * Gets the value of the level property. + * + * @return possible object is {@link int } + * + */ + public Integer getLevel() { + return level; + } + + /** + * Sets the value of the level property. + * + * @param value + * allowed object is {@link int } + * + */ + public void setLevel(Integer value) { + this.level = value; + } + + /** + * Gets the value of the message property. + * + * <p> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a <CODE>set</CODE> + * method for the message property. + * + * <p> + * For example, to add a new item, do as follows: + * + * <pre> + * getMessage().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list {@link String } + * + * + */ + public List<LocalizedString> getMessage() { + if (message == null) { + message = new ArrayList<LocalizedString>(); + } + return this.message; + } + + /** + * Gets the value of the longmessage property. + * + * <p> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a <CODE>set</CODE> + * method for the longmessage property. + * + * <p> + * For example, to add a new item, do as follows: + * + * <pre> + * getLongmessage().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Longmessage } + * + * + */ + public List<Longmessage> getLongmessage() { + if (longmessage == null) { + longmessage = new ArrayList<Longmessage>(); + } + return this.longmessage; + } public void setMessage(List<LocalizedString> message) { this.message = message; Index: Code.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Code.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Code.java 20 Feb 2008 15:09:58 -0000 1.1 +++ Code.java 11 Aug 2009 13:43:01 -0000 1.2 @@ -5,35 +5,31 @@ // Generated on: 2006.07.26 at 04:29:37 PM CEST // - package org.w3c.unicorn.response; - - /** - * <p>Java class for code element declaration. + * <p> + * Java class for code element declaration. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * The following schema fragment specifies the expected content contained within + * this class. * * <pre> - * <element name="code"> - * <complexType> - * <complexContent> - * <extension base="{http://www.w3.org/unicorn/observationresponse}Inline"> - * </extension> - * </complexContent> - * </complexType> - * </element> + * <element name="code"> + * <complexType> + * <complexContent> + * <extension base="{http://www.w3.org/unicorn/observationresponse}Inline"> + * </extension> + * </complexContent> + * </complexType> + * </element> * </pre> * * */ -public class Code extends Inline -{ -/* - @Override - public String toString() { - return "<code>"+super.toString()+"</code>"; - } -*/ +public class Code extends Inline { + /* + * @Override public String toString() { return "<code>"+super.toString()+"</code>"; } + */ } Index: Result.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Result.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Result.java 17 Jun 2008 13:45:32 -0000 1.2 +++ Result.java 11 Aug 2009 13:43:01 -0000 1.3 @@ -5,30 +5,37 @@ public class Result { protected String uri; + protected String lang; + protected List<Error> errors = new ArrayList<Error>(); + protected List<Warning> warnings = new ArrayList<Warning>(); + protected List<Info> infos = new ArrayList<Info>(); - + /** * Constructor for Result. - * @param lang The language to consider. - * @param uri The URI to consider. + * + * @param lang + * The language to consider. + * @param uri + * The URI to consider. */ public Result(String lang, String uri) { super(); this.uri = uri; this.lang = lang; } - - /** + + /** * * @return The URI of the result. */ public String getUri() { return uri; } - + /** * * @return The list of errors. @@ -36,7 +43,7 @@ public List<Error> getErrors() { return errors; } - + /** * * @return The list of warnings. @@ -44,7 +51,7 @@ public List<Warning> getWarnings() { return warnings; } - + /** * * @return The list of infos. @@ -52,7 +59,7 @@ public List<Info> getInfos() { return infos; } - + /** * * @return The language of the result. Index: A.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/A.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- A.java 20 Feb 2008 15:09:58 -0000 1.1 +++ A.java 11 Aug 2009 13:43:01 -0000 1.2 @@ -5,61 +5,55 @@ // Generated on: 2006.07.26 at 04:29:37 PM CEST // - package org.w3c.unicorn.response; - - /** - * <p>Java class for a element declaration. + * <p> + * Java class for a element declaration. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * The following schema fragment specifies the expected content contained within + * this class. * * <pre> - * <element name="a"> - * <complexType> - * <complexContent> - * <extension base="{http://www.w3.org/unicorn/observationresponse}inA"> - * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </complexContent> - * </complexType> - * </element> + * <element name="a"> + * <complexType> + * <complexContent> + * <extension base="{http://www.w3.org/unicorn/observationresponse}inA"> + * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </element> * </pre> * * */ -public class A extends Inline -{ - protected String href; +public class A extends Inline { + protected String href; - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } + /** + * Gets the value of the href property. + * + * @return possible object is {@link String } + * + */ + public String getHref() { + return href; + } - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } -/* - @Override - public String toString() { - return "<a href=\""+href+"\">"+super.toString()+"</a>"; - } -*/ + /** + * Sets the value of the href property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setHref(String value) { + this.href = value; + } + /* + * @Override public String toString() { return "<a + * href=\""+href+"\">"+super.toString()+"</a>"; } + */ }
Received on Tuesday, 11 August 2009 13:43:19 UTC