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