Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 695 | blopes | 1 | |
| 2 | package br.com.swconsultoria.nfe.schema.eventoCancSubst; |
||
| 3 | |||
| 4 | import java.util.ArrayList; |
||
| 5 | import java.util.List; |
||
| 6 | import javax.xml.bind.annotation.XmlAccessType; |
||
| 7 | import javax.xml.bind.annotation.XmlAccessorType; |
||
| 8 | import javax.xml.bind.annotation.XmlAttribute; |
||
| 9 | import javax.xml.bind.annotation.XmlElement; |
||
| 10 | import javax.xml.bind.annotation.XmlType; |
||
| 11 | |||
| 12 | |||
| 13 | /** |
||
| 14 | * <p>Classe Java de TransformType complex type. |
||
| 15 | * |
||
| 16 | * <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. |
||
| 17 | * |
||
| 18 | * <pre> |
||
| 19 | * <complexType name="TransformType"> |
||
| 20 | * <complexContent> |
||
| 21 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
| 22 | * <sequence maxOccurs="unbounded" minOccurs="0"> |
||
| 23 | * <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/> |
||
| 24 | * </sequence> |
||
| 25 | * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2000/09/xmldsig#}TTransformURI" /> |
||
| 26 | * </restriction> |
||
| 27 | * </complexContent> |
||
| 28 | * </complexType> |
||
| 29 | * </pre> |
||
| 30 | * |
||
| 31 | * |
||
| 32 | */ |
||
| 33 | @XmlAccessorType(XmlAccessType.FIELD) |
||
| 34 | @XmlType(name = "TransformType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { |
||
| 35 | "xPath" |
||
| 36 | }) |
||
| 37 | public class TransformType { |
||
| 38 | |||
| 39 | @XmlElement(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#") |
||
| 40 | protected List<String> xPath; |
||
| 41 | @XmlAttribute(name = "Algorithm", required = true) |
||
| 42 | protected String algorithm; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Gets the value of the xPath property. |
||
| 46 | * |
||
| 47 | * <p> |
||
| 48 | * This accessor method returns a reference to the live list, |
||
| 49 | * not a snapshot. Therefore any modification you make to the |
||
| 50 | * returned list will be present inside the JAXB object. |
||
| 51 | * This is why there is not a <CODE>set</CODE> method for the xPath property. |
||
| 52 | * |
||
| 53 | * <p> |
||
| 54 | * For example, to add a new item, do as follows: |
||
| 55 | * <pre> |
||
| 56 | * getXPath().add(newItem); |
||
| 57 | * </pre> |
||
| 58 | * |
||
| 59 | * |
||
| 60 | * <p> |
||
| 61 | * Objects of the following type(s) are allowed in the list |
||
| 62 | * {@link String } |
||
| 63 | * |
||
| 64 | * |
||
| 65 | */ |
||
| 66 | public List<String> getXPath() { |
||
| 67 | if (xPath == null) { |
||
| 68 | xPath = new ArrayList<String>(); |
||
| 69 | } |
||
| 70 | return this.xPath; |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Obtém o valor da propriedade algorithm. |
||
| 75 | * |
||
| 76 | * @return |
||
| 77 | * possible object is |
||
| 78 | * {@link String } |
||
| 79 | * |
||
| 80 | */ |
||
| 81 | public String getAlgorithm() { |
||
| 82 | return algorithm; |
||
| 83 | } |
||
| 84 | |||
| 85 | /** |
||
| 86 | * Define o valor da propriedade algorithm. |
||
| 87 | * |
||
| 88 | * @param value |
||
| 89 | * allowed object is |
||
| 90 | * {@link String } |
||
| 91 | * |
||
| 92 | */ |
||
| 93 | public void setAlgorithm(String value) { |
||
| 94 | this.algorithm = value; |
||
| 95 | } |
||
| 96 | |||
| 97 | } |