diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr_v4/SignContent.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/szr_v4/SignContent.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr_v4/SignContent.java b/src/main/java/at/gv/util/xsd/szr_v4/SignContent.java index b5a59f9..8a76c6b 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/SignContent.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/SignContent.java @@ -21,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="AppendCert" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="JWSHeaderParam" type="{urn:SZRServices}JwsHeaderParam" maxOccurs="unbounded" minOccurs="0"/> * <element name="In" type="{urn:SZRServices}SignContentEntry" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> @@ -33,6 +34,7 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "appendCert", + "jwsHeaderParam", "in" }) @XmlRootElement(name = "SignContent") @@ -40,6 +42,8 @@ public class SignContent { @XmlElement(name = "AppendCert", defaultValue = "false") protected Boolean appendCert; + @XmlElement(name = "JWSHeaderParam") + protected List<JwsHeaderParam> jwsHeaderParam; @XmlElement(name = "In") protected List<SignContentEntry> in; @@ -68,6 +72,35 @@ public class SignContent { } /** + * Gets the value of the jwsHeaderParam 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 jwsHeaderParam property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getJWSHeaderParam().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JwsHeaderParam } + * + * + */ + public List<JwsHeaderParam> getJWSHeaderParam() { + if (jwsHeaderParam == null) { + jwsHeaderParam = new ArrayList<JwsHeaderParam>(); + } + return this.jwsHeaderParam; + } + + /** * Gets the value of the in property. * * <p> |