diff options
Diffstat (limited to 'mocca-1.2.11/utils/src/main/java/at')
174 files changed, 0 insertions, 24418 deletions
diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ATRType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ATRType.java deleted file mode 100644 index 9620e66b..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ATRType.java +++ /dev/null @@ -1,100 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.HexBinaryAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * Contains the ATR received as reponse to a Reset - * command - * - * <p>Java class for ATRType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ATRType"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>hexBinary"> - * <attribute name="rc" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ATRType", propOrder = { - "value" -}) -public class ATRType { - - @XmlValue - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - @XmlSchemaType(name = "hexBinary") - protected byte[] value; - @XmlAttribute - protected BigInteger rc; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public byte[] getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(byte[] value) { - this.value = ((byte[]) value); - } - - /** - * Gets the value of the rc property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getRc() { - if (rc == null) { - return new BigInteger("0"); - } else { - return rc; - } - } - - /** - * Sets the value of the rc property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setRc(BigInteger value) { - this.rc = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/AttributeList.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/AttributeList.java deleted file mode 100644 index 70ad7b91..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/AttributeList.java +++ /dev/null @@ -1,71 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * Contains a list of attributes - * - * <p>Java class for AttributeList complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AttributeList"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Attribute" type="{}AttributeType" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AttributeList", propOrder = { - "attribute" -}) -public class AttributeList { - - @XmlElement(name = "Attribute") - protected List<AttributeType> attribute; - - /** - * Gets the value of the attribute 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 attribute property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAttribute().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link AttributeType } - * - * - */ - public List<AttributeType> getAttribute() { - if (attribute == null) { - attribute = new ArrayList<AttributeType>(); - } - return this.attribute; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/AttributeType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/AttributeType.java deleted file mode 100644 index 60d467e0..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/AttributeType.java +++ /dev/null @@ -1,264 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - * Contains an attribute converted from ASN.1 - * - * <p>Java class for AttributeType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AttributeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Integer" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> - * <element name="Latin1String" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="UTF8String" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="NumericString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="PrintableString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="GeneralizedTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> - * <element name="Date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * <attribute name="oid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AttributeType", propOrder = { - "integer", - "latin1String", - "utf8String", - "numericString", - "printableString", - "generalizedTime", - "date" -}) -public class AttributeType { - - @XmlElement(name = "Integer") - protected BigInteger integer; - @XmlElement(name = "Latin1String") - protected String latin1String; - @XmlElement(name = "UTF8String") - protected String utf8String; - @XmlElement(name = "NumericString") - protected String numericString; - @XmlElement(name = "PrintableString") - protected String printableString; - @XmlElement(name = "GeneralizedTime") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar generalizedTime; - @XmlElement(name = "Date") - protected String date; - @XmlAttribute(required = true) - protected String oid; - - /** - * Gets the value of the integer property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getInteger() { - return integer; - } - - /** - * Sets the value of the integer property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setInteger(BigInteger value) { - this.integer = value; - } - - /** - * Gets the value of the latin1String property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLatin1String() { - return latin1String; - } - - /** - * Sets the value of the latin1String property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLatin1String(String value) { - this.latin1String = value; - } - - /** - * Gets the value of the utf8String property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getUTF8String() { - return utf8String; - } - - /** - * Sets the value of the utf8String property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setUTF8String(String value) { - this.utf8String = value; - } - - /** - * Gets the value of the numericString property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNumericString() { - return numericString; - } - - /** - * Sets the value of the numericString property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNumericString(String value) { - this.numericString = value; - } - - /** - * Gets the value of the printableString property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPrintableString() { - return printableString; - } - - /** - * Sets the value of the printableString property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPrintableString(String value) { - this.printableString = value; - } - - /** - * Gets the value of the generalizedTime property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getGeneralizedTime() { - return generalizedTime; - } - - /** - * Sets the value of the generalizedTime property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setGeneralizedTime(XMLGregorianCalendar value) { - this.generalizedTime = value; - } - - /** - * Gets the value of the date property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDate() { - return date; - } - - /** - * Sets the value of the date property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDate(String value) { - this.date = value; - } - - /** - * Gets the value of the oid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getOid() { - return oid; - } - - /** - * Sets the value of the oid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setOid(String value) { - this.oid = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/CommandAPDUType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/CommandAPDUType.java deleted file mode 100644 index b47359b6..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/CommandAPDUType.java +++ /dev/null @@ -1,154 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.HexBinaryAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * Contains a sequence of bytes send as command APDU to the - * icc - * - * <p>Java class for CommandAPDUType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CommandAPDUType"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>hexBinary"> - * <attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> - * <attribute name="of" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> - * <attribute name="expectedSW" type="{http://www.w3.org/2001/XMLSchema}hexBinary" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CommandAPDUType", propOrder = { - "value" -}) -public class CommandAPDUType { - - @XmlValue - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - @XmlSchemaType(name = "hexBinary") - protected byte[] value; - @XmlAttribute(required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger sequence; - @XmlAttribute(required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger of; - @XmlAttribute - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - @XmlSchemaType(name = "hexBinary") - protected byte[] expectedSW; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public byte[] getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(byte[] value) { - this.value = ((byte[]) value); - } - - /** - * Gets the value of the sequence property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSequence() { - return sequence; - } - - /** - * Sets the value of the sequence property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSequence(BigInteger value) { - this.sequence = value; - } - - /** - * Gets the value of the of property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getOf() { - return of; - } - - /** - * Sets the value of the of property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setOf(BigInteger value) { - this.of = value; - } - - /** - * Gets the value of the expectedSW property. - * - * @return - * possible object is - * {@link String } - * - */ - public byte[] getExpectedSW() { - return expectedSW; - } - - /** - * Sets the value of the expectedSW property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setExpectedSW(byte[] value) { - this.expectedSW = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ObjectFactory.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ObjectFactory.java deleted file mode 100644 index 29124935..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ObjectFactory.java +++ /dev/null @@ -1,171 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.bind.annotation.adapters.HexBinaryAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the at.buergerkarte.namespaces.cardchannel package. - * <p>An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _Grunddaten_QNAME = new QName("", "Grunddaten"); - private final static QName _Script_QNAME = new QName("", "Script"); - /** A-Trust expects <pre><Result></pre> instead of <pre><Response></pre> */ - private final static QName _Response_QNAME = new QName("", "Result"); //Response"); - private final static QName _SVPersonenbindung_QNAME = new QName("", "SV-Personenbindung"); - private final static QName _Status_QNAME = new QName("", "Status"); - private final static QName _EHIC_QNAME = new QName("", "EHIC"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.buergerkarte.namespaces.cardchannel - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link AttributeList } - * - */ - public AttributeList createAttributeList() { - return new AttributeList(); - } - - /** - * Create an instance of {@link AttributeType } - * - */ - public AttributeType createAttributeType() { - return new AttributeType(); - } - - /** - * Create an instance of {@link ScriptType } - * - */ - public ScriptType createScriptType() { - return new ScriptType(); - } - - /** - * Create an instance of {@link ATRType } - * - */ - public ATRType createATRType() { - return new ATRType(); - } - - /** - * Create an instance of {@link CommandAPDUType } - * - */ - public CommandAPDUType createCommandAPDUType() { - return new CommandAPDUType(); - } - - /** - * Create an instance of {@link ResetType } - * - */ - public ResetType createResetType() { - return new ResetType(); - } - - /** - * Create an instance of {@link VerifyAPDUType } - * - */ - public VerifyAPDUType createVerifyAPDUType() { - return new VerifyAPDUType(); - } - - /** - * Create an instance of {@link ResponseAPDUType } - * - */ - public ResponseAPDUType createResponseAPDUType() { - return new ResponseAPDUType(); - } - - /** - * Create an instance of {@link ResponseType } - * - */ - public ResponseType createResponseType() { - return new ResponseType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AttributeList }{@code >}} - * - */ - @XmlElementDecl(namespace = "", name = "Grunddaten") - public JAXBElement<AttributeList> createGrunddaten(AttributeList value) { - return new JAXBElement<AttributeList>(_Grunddaten_QNAME, AttributeList.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ScriptType }{@code >}} - * - */ - @XmlElementDecl(namespace = "", name = "Script") - public JAXBElement<ScriptType> createScript(ScriptType value) { - return new JAXBElement<ScriptType>(_Script_QNAME, ScriptType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResponseType }{@code >}} - * A-Trust expects <pre><Result></pre> instead of <pre><Response></pre> - */ - @XmlElementDecl(namespace = "", name = "Result") //Response") - public JAXBElement<ResponseType> createResponse(ResponseType value) { - return new JAXBElement<ResponseType>(_Response_QNAME, ResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} - * - */ - @XmlElementDecl(namespace = "", name = "SV-Personenbindung") - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - public JAXBElement<byte[]> createSVPersonenbindung(byte[] value) { - return new JAXBElement<byte[]>(_SVPersonenbindung_QNAME, byte[].class, null, ((byte[]) value)); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AttributeList }{@code >}} - * - */ - @XmlElementDecl(namespace = "", name = "Status") - public JAXBElement<AttributeList> createStatus(AttributeList value) { - return new JAXBElement<AttributeList>(_Status_QNAME, AttributeList.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AttributeList }{@code >}} - * - */ - @XmlElementDecl(namespace = "", name = "EHIC") - public JAXBElement<AttributeList> createEHIC(AttributeList value) { - return new JAXBElement<AttributeList>(_EHIC_QNAME, AttributeList.class, null, value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResetType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResetType.java deleted file mode 100644 index 815a3f76..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResetType.java +++ /dev/null @@ -1,64 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - * Reset the icc and sequence counter - * - * <p>Java class for ResetType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ResetType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="cold" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResetType") -public class ResetType { - - @XmlAttribute - protected Boolean cold; - - /** - * Gets the value of the cold property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isCold() { - if (cold == null) { - return true; - } else { - return cold; - } - } - - /** - * Sets the value of the cold property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCold(Boolean value) { - this.cold = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseAPDUType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseAPDUType.java deleted file mode 100644 index 70f2948e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseAPDUType.java +++ /dev/null @@ -1,161 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.HexBinaryAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * Contains a sequence of bytes received from the card as response - * APDU - * - * <p>Java class for ResponseAPDUType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ResponseAPDUType"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>hexBinary"> - * <attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> - * <attribute name="rc" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" /> - * <attribute name="sw" type="{http://www.w3.org/2001/XMLSchema}hexBinary" default="9000" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResponseAPDUType", propOrder = { - "value" -}) -public class ResponseAPDUType { - - @XmlValue - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - @XmlSchemaType(name = "hexBinary") - protected byte[] value; - @XmlAttribute(required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger sequence; - @XmlAttribute - protected BigInteger rc; - @XmlAttribute(name = "SW") - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - @XmlSchemaType(name = "hexBinary") - protected byte[] sw; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public byte[] getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(byte[] value) { - this.value = ((byte[]) value); - } - - /** - * Gets the value of the sequence property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSequence() { - return sequence; - } - - /** - * Sets the value of the sequence property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSequence(BigInteger value) { - this.sequence = value; - } - - /** - * Gets the value of the rc property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getRc() { - if (rc == null) { - return new BigInteger("0"); - } else { - return rc; - } - } - - /** - * Sets the value of the rc property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setRc(BigInteger value) { - this.rc = value; - } - - /** - * Gets the value of the sw property. - * - * @return - * possible object is - * {@link String } - * - */ - public byte[] getSw() { - if (sw == null) { - return new HexBinaryAdapter().unmarshal("9000"); - } else { - return sw; - } - } - - /** - * Sets the value of the sw property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSw(byte[] value) { - this.sw = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseType.java deleted file mode 100644 index b92015e3..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseType.java +++ /dev/null @@ -1,78 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlType; - - -/** - * Contains the result of the script executed by the - * BKU - * - * <p>Java class for ResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded"> - * <element name="ATR" type="{}ATRType"/> - * <element name="ResponseAPDU" type="{}ResponseAPDUType"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResponseType", propOrder = { - "atrOrResponseAPDU" -}) -public class ResponseType { - - @XmlElements({ - @XmlElement(name = "ATR", type = ATRType.class), - @XmlElement(name = "ResponseAPDU", type = ResponseAPDUType.class) - }) - protected List<Object> atrOrResponseAPDU; - - /** - * Gets the value of the atrOrResponseAPDU 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 atrOrResponseAPDU property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getATROrResponseAPDU().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link ATRType } - * {@link ResponseAPDUType } - * - * - */ - public List<Object> getATROrResponseAPDU() { - if (atrOrResponseAPDU == null) { - atrOrResponseAPDU = new ArrayList<Object>(); - } - return this.atrOrResponseAPDU; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ScriptType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ScriptType.java deleted file mode 100644 index bff76f06..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ScriptType.java +++ /dev/null @@ -1,80 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlType; - - -/** - * Contains the script to be executed by the BKU - * - * <p>Java class for ScriptType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ScriptType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice maxOccurs="unbounded"> - * <element name="Reset" type="{}ResetType"/> - * <element name="CommandAPDU" type="{}CommandAPDUType"/> - * <element name="VerifyAPDU" type="{}VerifyAPDUType"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ScriptType", propOrder = { - "resetOrCommandAPDUOrVerifyAPDU" -}) -public class ScriptType { - - @XmlElements({ - @XmlElement(name = "Reset", type = ResetType.class), - @XmlElement(name = "VerifyAPDU", type = VerifyAPDUType.class), - @XmlElement(name = "CommandAPDU", type = CommandAPDUType.class) - }) - protected List<Object> resetOrCommandAPDUOrVerifyAPDU; - - /** - * Gets the value of the resetOrCommandAPDUOrVerifyAPDU 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 resetOrCommandAPDUOrVerifyAPDU property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getResetOrCommandAPDUOrVerifyAPDU().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link ResetType } - * {@link VerifyAPDUType } - * {@link CommandAPDUType } - * - * - */ - public List<Object> getResetOrCommandAPDUOrVerifyAPDU() { - if (resetOrCommandAPDUOrVerifyAPDU == null) { - resetOrCommandAPDUOrVerifyAPDU = new ArrayList<Object>(); - } - return this.resetOrCommandAPDUOrVerifyAPDU; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/VerifyAPDUType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/VerifyAPDUType.java deleted file mode 100644 index 20d7f3e8..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/VerifyAPDUType.java +++ /dev/null @@ -1,266 +0,0 @@ - -package at.buergerkarte.namespaces.cardchannel; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.HexBinaryAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * Contains a sequence of bytes send as command APDU to the icc after a - * PIN entered by the user has been incorporated into the APDU - * - * <p>Java class for VerifyAPDUType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerifyAPDUType"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>hexBinary"> - * <attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> - * <attribute name="of" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> - * <attribute name="expectedSW" type="{http://www.w3.org/2001/XMLSchema}hexBinary" /> - * <attribute name="message" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="format" use="required" type="{http://www.w3.org/2001/XMLSchema}hexBinary" /> - * <attribute name="offset" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> - * <attribute name="timeout" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerifyAPDUType", propOrder = { - "value" -}) -public class VerifyAPDUType { - - @XmlValue - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - @XmlSchemaType(name = "hexBinary") - protected byte[] value; - @XmlAttribute(required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger sequence; - @XmlAttribute(required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger of; - @XmlAttribute - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - @XmlSchemaType(name = "hexBinary") - protected byte[] expectedSW; - @XmlAttribute(required = true) - protected String message; - @XmlAttribute(required = true) - @XmlJavaTypeAdapter(HexBinaryAdapter.class) - @XmlSchemaType(name = "hexBinary") - protected byte[] format; - @XmlAttribute(required = true) - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger offset; - @XmlAttribute(required = true) - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger timeout; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public byte[] getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(byte[] value) { - this.value = ((byte[]) value); - } - - /** - * Gets the value of the sequence property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSequence() { - return sequence; - } - - /** - * Sets the value of the sequence property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSequence(BigInteger value) { - this.sequence = value; - } - - /** - * Gets the value of the of property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getOf() { - return of; - } - - /** - * Sets the value of the of property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setOf(BigInteger value) { - this.of = value; - } - - /** - * Gets the value of the expectedSW property. - * - * @return - * possible object is - * {@link String } - * - */ - public byte[] getExpectedSW() { - return expectedSW; - } - - /** - * Sets the value of the expectedSW property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setExpectedSW(byte[] value) { - this.expectedSW = ((byte[]) value); - } - - /** - * Gets the value of the message property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMessage() { - return message; - } - - /** - * Sets the value of the message property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMessage(String value) { - this.message = value; - } - - /** - * Gets the value of the format property. - * - * @return - * possible object is - * {@link String } - * - */ - public byte[] getFormat() { - return format; - } - - /** - * Sets the value of the format property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFormat(byte[] value) { - this.format = ((byte[]) value); - } - - /** - * Gets the value of the offset property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getOffset() { - return offset; - } - - /** - * Sets the value of the offset property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setOffset(BigInteger value) { - this.offset = value; - } - - /** - * Gets the value of the timeout property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getTimeout() { - return timeout; - } - - /** - * Sets the value of the timeout property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setTimeout(BigInteger value) { - this.timeout = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java deleted file mode 100644 index f5c1ac04..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@javax.xml.bind.annotation.XmlSchema(namespace = "", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.buergerkarte.namespaces.cardchannel; diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/CompressedIdentityLinkType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/CompressedIdentityLinkType.java deleted file mode 100644 index 62b8b2a4..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/CompressedIdentityLinkType.java +++ /dev/null @@ -1,310 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.buergerkarte.namespaces.personenbindung._20020506_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import at.gv.e_government.reference.namespace.persondata._20020228_.AbstractPersonType; -import org.w3._2000._09.xmldsig_.KeyValueType; - - -/** - * <p>Java class for CompressedIdentityLinkType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CompressedIdentityLinkType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="IssuerTemplate" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="AssertionID" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="IssueInstant" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="PersonData" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"/> - * <element name="CitizenPublicKey" type="{http://www.w3.org/2000/09/xmldsig#}KeyValueType" maxOccurs="unbounded"/> - * <element name="SignatureValue" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> - * <element name="ReferenceDigest" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> - * <element name="ReferenceManifestDigest" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> - * <element name="ManifestReferenceDigest" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CompressedIdentityLinkType", propOrder = { - "issuerTemplate", - "assertionID", - "issueInstant", - "personData", - "citizenPublicKey", - "signatureValue", - "referenceDigest", - "referenceManifestDigest", - "manifestReferenceDigest" -}) -public class CompressedIdentityLinkType { - - @XmlElement(name = "IssuerTemplate", required = true) - protected String issuerTemplate; - @XmlElement(name = "AssertionID", required = true) - protected String assertionID; - @XmlElement(name = "IssueInstant", required = true) - protected String issueInstant; - @XmlElement(name = "PersonData", required = true) - protected AbstractPersonType personData; - @XmlElement(name = "CitizenPublicKey", required = true) - protected List<KeyValueType> citizenPublicKey; - @XmlElement(name = "SignatureValue", required = true) - protected byte[] signatureValue; - @XmlElement(name = "ReferenceDigest") - protected byte[] referenceDigest; - @XmlElement(name = "ReferenceManifestDigest") - protected byte[] referenceManifestDigest; - @XmlElement(name = "ManifestReferenceDigest") - protected byte[] manifestReferenceDigest; - - /** - * Gets the value of the issuerTemplate property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getIssuerTemplate() { - return issuerTemplate; - } - - /** - * Sets the value of the issuerTemplate property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setIssuerTemplate(String value) { - this.issuerTemplate = value; - } - - /** - * Gets the value of the assertionID property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAssertionID() { - return assertionID; - } - - /** - * Sets the value of the assertionID property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAssertionID(String value) { - this.assertionID = value; - } - - /** - * Gets the value of the issueInstant property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getIssueInstant() { - return issueInstant; - } - - /** - * Sets the value of the issueInstant property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setIssueInstant(String value) { - this.issueInstant = value; - } - - /** - * Gets the value of the personData property. - * - * @return - * possible object is - * {@link AbstractPersonType } - * - */ - public AbstractPersonType getPersonData() { - return personData; - } - - /** - * Sets the value of the personData property. - * - * @param value - * allowed object is - * {@link AbstractPersonType } - * - */ - public void setPersonData(AbstractPersonType value) { - this.personData = value; - } - - /** - * Gets the value of the citizenPublicKey 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 citizenPublicKey property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getCitizenPublicKey().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link KeyValueType } - * - * - */ - public List<KeyValueType> getCitizenPublicKey() { - if (citizenPublicKey == null) { - citizenPublicKey = new ArrayList<KeyValueType>(); - } - return this.citizenPublicKey; - } - - /** - * Gets the value of the signatureValue property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getSignatureValue() { - return signatureValue; - } - - /** - * Sets the value of the signatureValue property. - * - * @param value - * allowed object is - * byte[] - */ - public void setSignatureValue(byte[] value) { - this.signatureValue = ((byte[]) value); - } - - /** - * Gets the value of the referenceDigest property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getReferenceDigest() { - return referenceDigest; - } - - /** - * Sets the value of the referenceDigest property. - * - * @param value - * allowed object is - * byte[] - */ - public void setReferenceDigest(byte[] value) { - this.referenceDigest = ((byte[]) value); - } - - /** - * Gets the value of the referenceManifestDigest property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getReferenceManifestDigest() { - return referenceManifestDigest; - } - - /** - * Sets the value of the referenceManifestDigest property. - * - * @param value - * allowed object is - * byte[] - */ - public void setReferenceManifestDigest(byte[] value) { - this.referenceManifestDigest = ((byte[]) value); - } - - /** - * Gets the value of the manifestReferenceDigest property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getManifestReferenceDigest() { - return manifestReferenceDigest; - } - - /** - * Sets the value of the manifestReferenceDigest property. - * - * @param value - * allowed object is - * byte[] - */ - public void setManifestReferenceDigest(byte[] value) { - this.manifestReferenceDigest = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/ObjectFactory.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/ObjectFactory.java deleted file mode 100644 index 94129193..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/ObjectFactory.java +++ /dev/null @@ -1,76 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.buergerkarte.namespaces.personenbindung._20020506_; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the at.buergerkarte.namespaces.personenbindung._20020506_ package. - * <p>An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _CompressedIdentityLink_QNAME = new QName("http://www.buergerkarte.at/namespaces/personenbindung/20020506#", "CompressedIdentityLink"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.buergerkarte.namespaces.personenbindung._20020506_ - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link CompressedIdentityLinkType } - * - */ - public CompressedIdentityLinkType createCompressedIdentityLinkType() { - return new CompressedIdentityLinkType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CompressedIdentityLinkType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/personenbindung/20020506#", name = "CompressedIdentityLink") - public JAXBElement<CompressedIdentityLinkType> createCompressedIdentityLink(CompressedIdentityLinkType value) { - return new JAXBElement<CompressedIdentityLinkType>(_CompressedIdentityLink_QNAME, CompressedIdentityLinkType.class, null, value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/package-info.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/package-info.java deleted file mode 100644 index 4a53cb31..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/personenbindung/_20020506_/package-info.java +++ /dev/null @@ -1,25 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - -@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.buergerkarte.at/namespaces/personenbindung/20020506#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.buergerkarte.namespaces.personenbindung._20020506_; diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AccessAuthorizationType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AccessAuthorizationType.java deleted file mode 100644 index 53a93ab9..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AccessAuthorizationType.java +++ /dev/null @@ -1,112 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for AccessAuthorizationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AccessAuthorizationType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="RequesterID" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}RequesterIDType" maxOccurs="unbounded"/> - * </sequence> - * <attribute name="UserMayChange" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AccessAuthorizationType", propOrder = { - "requesterID" -}) -public class AccessAuthorizationType { - - @XmlElement(name = "RequesterID", required = true) - protected List<RequesterIDType> requesterID; - @XmlAttribute(name = "UserMayChange", required = true) - protected boolean userMayChange; - - /** - * Gets the value of the requesterID 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 requesterID property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getRequesterID().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link RequesterIDType } - * - * - */ - public List<RequesterIDType> getRequesterID() { - if (requesterID == null) { - requesterID = new ArrayList<RequesterIDType>(); - } - return this.requesterID; - } - - /** - * Gets the value of the userMayChange property. - * - */ - public boolean isUserMayChange() { - return userMayChange; - } - - /** - * Sets the value of the userMayChange property. - * - */ - public void setUserMayChange(boolean value) { - this.userMayChange = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AllSignatoriesType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AllSignatoriesType.java deleted file mode 100644 index 61b2e5cf..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AllSignatoriesType.java +++ /dev/null @@ -1,71 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for AllSignatoriesType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="AllSignatoriesType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="all"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "AllSignatoriesType") -@XmlEnum -public enum AllSignatoriesType { - - @XmlEnumValue("all") - ALL("all"); - private final String value; - - AllSignatoriesType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static AllSignatoriesType fromValue(String v) { - for (AllSignatoriesType c: AllSignatoriesType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AnyChildrenType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AnyChildrenType.java deleted file mode 100644 index 4ed236fd..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AnyChildrenType.java +++ /dev/null @@ -1,98 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for AnyChildrenType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AnyChildrenType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AnyChildrenType", propOrder = { - "any" -}) -@XmlSeeAlso({ - BindingType.class -}) -public class AnyChildrenType { - - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Element } - * {@link Object } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AnyMixedChildrenType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AnyMixedChildrenType.java deleted file mode 100644 index bff6c7ca..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AnyMixedChildrenType.java +++ /dev/null @@ -1,102 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlMixed; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import at.gv.egiz.slbinding.impl.XMLContentType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for AnyMixedChildrenType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AnyMixedChildrenType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AnyMixedChildrenType", propOrder = { - "content" -}) -@XmlSeeAlso({ - XMLContentType.class -}) -public class AnyMixedChildrenType { - - @XmlMixed - @XmlAnyElement(lax = true) - protected List<Object> 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 Element } - * {@link Object } - * {@link String } - * - * - */ - public List<Object> getContent() { - if (content == null) { - content = new ArrayList<Object>(); - } - return this.content; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AuthenticationClassType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AuthenticationClassType.java deleted file mode 100644 index d07d5cc1..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/AuthenticationClassType.java +++ /dev/null @@ -1,80 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for AuthenticationClassType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="AuthenticationClassType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="anonym"/> - * <enumeration value="pseudoanonym"/> - * <enumeration value="certified"/> - * <enumeration value="certifiedGovAgency"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "AuthenticationClassType") -@XmlEnum -public enum AuthenticationClassType { - - @XmlEnumValue("anonym") - ANONYM("anonym"), - @XmlEnumValue("pseudoanonym") - PSEUDOANONYM("pseudoanonym"), - @XmlEnumValue("certified") - CERTIFIED("certified"), - @XmlEnumValue("certifiedGovAgency") - CERTIFIED_GOV_AGENCY("certifiedGovAgency"); - private final String value; - - AuthenticationClassType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static AuthenticationClassType fromValue(String v) { - for (AuthenticationClassType c: AuthenticationClassType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64ContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64ContentType.java deleted file mode 100644 index 641a12d0..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64ContentType.java +++ /dev/null @@ -1,87 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for Base64ContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="Base64ContentType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice minOccurs="0"> - * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Base64ContentType", propOrder = { - "base64Content" -}) -@XmlSeeAlso({ - Base64OptRefContentType.class -}) -public class Base64ContentType { - - @XmlElement(name = "Base64Content") - protected byte[] base64Content; - - /** - * Gets the value of the base64Content property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getBase64Content() { - return base64Content; - } - - /** - * Sets the value of the base64Content property. - * - * @param value - * allowed object is - * byte[] - */ - public void setBase64Content(byte[] value) { - this.base64Content = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64OptRefContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64OptRefContentType.java deleted file mode 100644 index fe183a4f..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64OptRefContentType.java +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for Base64OptRefContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="Base64OptRefContentType"> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64ContentType"> - * <attribute name="Reference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Base64OptRefContentType") -public class Base64OptRefContentType - extends Base64ContentType -{ - - @XmlAttribute(name = "Reference") - @XmlSchemaType(name = "anyURI") - protected String reference; - - /** - * Gets the value of the reference property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getReference() { - return reference; - } - - /** - * Sets the value of the reference property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setReference(String value) { - this.reference = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLContentType.java deleted file mode 100644 index 096f8451..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLContentType.java +++ /dev/null @@ -1,116 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for Base64XMLContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="Base64XMLContentType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice minOccurs="0"> - * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * <element name="XMLContent" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLContentType"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Base64XMLContentType", propOrder = { - "base64Content", - "xmlContent" -}) -@XmlSeeAlso({ - InfoboxAssocArrayPairType.class, - Base64XMLOptRefContentType.class -}) -public class Base64XMLContentType { - - @XmlElement(name = "Base64Content") - protected byte[] base64Content; - @XmlElement(name = "XMLContent", type = at.gv.egiz.slbinding.impl.XMLContentType.class) - protected at.gv.egiz.slbinding.impl.XMLContentType xmlContent; - - /** - * Gets the value of the base64Content property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getBase64Content() { - return base64Content; - } - - /** - * Sets the value of the base64Content property. - * - * @param value - * allowed object is - * byte[] - */ - public void setBase64Content(byte[] value) { - this.base64Content = ((byte[]) value); - } - - /** - * Gets the value of the xmlContent property. - * - * @return - * possible object is - * {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } - * - */ - public at.buergerkarte.namespaces.securitylayer._1.XMLContentType getXMLContent() { - return xmlContent; - } - - /** - * Sets the value of the xmlContent property. - * - * @param value - * allowed object is - * {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } - * - */ - public void setXMLContent(at.buergerkarte.namespaces.securitylayer._1.XMLContentType value) { - this.xmlContent = ((at.gv.egiz.slbinding.impl.XMLContentType) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefContentType.java deleted file mode 100644 index 7b93bb99..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefContentType.java +++ /dev/null @@ -1,147 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for Base64XMLLocRefContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="Base64XMLLocRefContentType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice minOccurs="0"> - * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * <element name="XMLContent" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLContentType"/> - * <element name="LocRefContent" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Base64XMLLocRefContentType", propOrder = { - "base64Content", - "xmlContent", - "locRefContent" -}) -@XmlSeeAlso({ - Base64XMLLocRefOptRefContentType.class, - Base64XMLLocRefReqRefContentType.class, - XMLToBeEncryptedNewContentType.class -}) -public class Base64XMLLocRefContentType { - - @XmlElement(name = "Base64Content") - protected byte[] base64Content; - @XmlElement(name = "XMLContent", type = at.gv.egiz.slbinding.impl.XMLContentType.class) - protected at.gv.egiz.slbinding.impl.XMLContentType xmlContent; - @XmlElement(name = "LocRefContent") - @XmlSchemaType(name = "anyURI") - protected String locRefContent; - - /** - * Gets the value of the base64Content property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getBase64Content() { - return base64Content; - } - - /** - * Sets the value of the base64Content property. - * - * @param value - * allowed object is - * byte[] - */ - public void setBase64Content(byte[] value) { - this.base64Content = ((byte[]) value); - } - - /** - * Gets the value of the xmlContent property. - * - * @return - * possible object is - * {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } - * - */ - public at.buergerkarte.namespaces.securitylayer._1.XMLContentType getXMLContent() { - return xmlContent; - } - - /** - * Sets the value of the xmlContent property. - * - * @param value - * allowed object is - * {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } - * - */ - public void setXMLContent(at.buergerkarte.namespaces.securitylayer._1.XMLContentType value) { - this.xmlContent = ((at.gv.egiz.slbinding.impl.XMLContentType) value); - } - - /** - * Gets the value of the locRefContent property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLocRefContent() { - return locRefContent; - } - - /** - * Sets the value of the locRefContent property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLocRefContent(String value) { - this.locRefContent = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefOptRefContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefOptRefContentType.java deleted file mode 100644 index 2b0b0552..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefOptRefContentType.java +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for Base64XMLLocRefOptRefContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="Base64XMLLocRefOptRefContentType"> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefContentType"> - * <attribute name="Reference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Base64XMLLocRefOptRefContentType") -public class Base64XMLLocRefOptRefContentType - extends Base64XMLLocRefContentType -{ - - @XmlAttribute(name = "Reference") - @XmlSchemaType(name = "anyURI") - protected String reference; - - /** - * Gets the value of the reference property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getReference() { - return reference; - } - - /** - * Sets the value of the reference property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setReference(String value) { - this.reference = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefReqRefContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefReqRefContentType.java deleted file mode 100644 index ab9e985e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLLocRefReqRefContentType.java +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for Base64XMLLocRefReqRefContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="Base64XMLLocRefReqRefContentType"> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefContentType"> - * <attribute name="Reference" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Base64XMLLocRefReqRefContentType") -public class Base64XMLLocRefReqRefContentType - extends Base64XMLLocRefContentType -{ - - @XmlAttribute(name = "Reference", required = true) - @XmlSchemaType(name = "anyURI") - protected String reference; - - /** - * Gets the value of the reference property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getReference() { - return reference; - } - - /** - * Sets the value of the reference property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setReference(String value) { - this.reference = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLOptRefContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLOptRefContentType.java deleted file mode 100644 index 9f3ebef8..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/Base64XMLOptRefContentType.java +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for Base64XMLOptRefContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="Base64XMLOptRefContentType"> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLContentType"> - * <attribute name="Reference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Base64XMLOptRefContentType") -public class Base64XMLOptRefContentType - extends Base64XMLContentType -{ - - @XmlAttribute(name = "Reference") - @XmlSchemaType(name = "anyURI") - protected String reference; - - /** - * Gets the value of the reference property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getReference() { - return reference; - } - - /** - * Sets the value of the reference property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setReference(String value) { - this.reference = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/BindingType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/BindingType.java deleted file mode 100644 index e2cedd56..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/BindingType.java +++ /dev/null @@ -1,88 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for BindingType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="BindingType"> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyChildrenType"> - * <attribute name="Identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "BindingType") -public class BindingType - extends AnyChildrenType -{ - - @XmlAttribute(name = "Identifier", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String identifier; - - /** - * Gets the value of the identifier property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getIdentifier() { - return identifier; - } - - /** - * Sets the value of the identifier property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setIdentifier(String value) { - this.identifier = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSDataObjectOptionalMetaType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSDataObjectOptionalMetaType.java deleted file mode 100644 index 20ab8505..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSDataObjectOptionalMetaType.java +++ /dev/null @@ -1,117 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CMSDataObjectOptionalMetaType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CMSDataObjectOptionalMetaType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType" minOccurs="0"/> - * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64OptRefContentType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CMSDataObjectOptionalMetaType", propOrder = { - "metaInfo", - "content" -}) -@XmlSeeAlso({ - CMSDataObjectRequiredMetaType.class -}) -public class CMSDataObjectOptionalMetaType { - - @XmlElement(name = "MetaInfo") - protected MetaInfoType metaInfo; - @XmlElement(name = "Content", required = true) - protected Base64OptRefContentType content; - - /** - * Gets the value of the metaInfo property. - * - * @return - * possible object is - * {@link MetaInfoType } - * - */ - public MetaInfoType getMetaInfo() { - return metaInfo; - } - - /** - * Sets the value of the metaInfo property. - * - * @param value - * allowed object is - * {@link MetaInfoType } - * - */ - public void setMetaInfo(MetaInfoType value) { - this.metaInfo = value; - } - - /** - * Gets the value of the content property. - * - * @return - * possible object is - * {@link Base64OptRefContentType } - * - */ - public Base64OptRefContentType getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link Base64OptRefContentType } - * - */ - public void setContent(Base64OptRefContentType value) { - this.content = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSDataObjectRequiredMetaType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSDataObjectRequiredMetaType.java deleted file mode 100644 index 14809176..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSDataObjectRequiredMetaType.java +++ /dev/null @@ -1,59 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CMSDataObjectRequiredMetaType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CMSDataObjectRequiredMetaType"> - * <complexContent> - * <restriction base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSDataObjectOptionalMetaType"> - * <sequence> - * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> - * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64OptRefContentType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CMSDataObjectRequiredMetaType") -public class CMSDataObjectRequiredMetaType - extends CMSDataObjectOptionalMetaType -{ - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSEncryptedContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSEncryptedContentType.java deleted file mode 100644 index f38e8b10..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSEncryptedContentType.java +++ /dev/null @@ -1,113 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CMSEncryptedContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CMSEncryptedContentType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType" minOccurs="0"/> - * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64OptRefContentType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CMSEncryptedContentType", propOrder = { - "metaInfo", - "content" -}) -public class CMSEncryptedContentType { - - @XmlElement(name = "MetaInfo") - protected MetaInfoType metaInfo; - @XmlElement(name = "Content") - protected Base64OptRefContentType content; - - /** - * Gets the value of the metaInfo property. - * - * @return - * possible object is - * {@link MetaInfoType } - * - */ - public MetaInfoType getMetaInfo() { - return metaInfo; - } - - /** - * Sets the value of the metaInfo property. - * - * @param value - * allowed object is - * {@link MetaInfoType } - * - */ - public void setMetaInfo(MetaInfoType value) { - this.metaInfo = value; - } - - /** - * Gets the value of the content property. - * - * @return - * possible object is - * {@link Base64OptRefContentType } - * - */ - public Base64OptRefContentType getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link Base64OptRefContentType } - * - */ - public void setContent(Base64OptRefContentType value) { - this.content = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSRecipientPublicKeyType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSRecipientPublicKeyType.java deleted file mode 100644 index fdd71d1e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSRecipientPublicKeyType.java +++ /dev/null @@ -1,83 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CMSRecipientPublicKeyType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CMSRecipientPublicKeyType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CMSRecipientPublicKeyType", propOrder = { - "x509Certificate" -}) -public class CMSRecipientPublicKeyType { - - @XmlElement(name = "X509Certificate") - protected byte[] x509Certificate; - - /** - * Gets the value of the x509Certificate property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getX509Certificate() { - return x509Certificate; - } - - /** - * Sets the value of the x509Certificate property. - * - * @param value - * allowed object is - * byte[] - */ - public void setX509Certificate(byte[] value) { - this.x509Certificate = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSToBeEncryptedType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSToBeEncryptedType.java deleted file mode 100644 index 951b5ed8..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CMSToBeEncryptedType.java +++ /dev/null @@ -1,113 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CMSToBeEncryptedType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CMSToBeEncryptedType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> - * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64OptRefContentType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CMSToBeEncryptedType", propOrder = { - "metaInfo", - "content" -}) -public class CMSToBeEncryptedType { - - @XmlElement(name = "MetaInfo", required = true) - protected MetaInfoType metaInfo; - @XmlElement(name = "Content", required = true) - protected Base64OptRefContentType content; - - /** - * Gets the value of the metaInfo property. - * - * @return - * possible object is - * {@link MetaInfoType } - * - */ - public MetaInfoType getMetaInfo() { - return metaInfo; - } - - /** - * Sets the value of the metaInfo property. - * - * @param value - * allowed object is - * {@link MetaInfoType } - * - */ - public void setMetaInfo(MetaInfoType value) { - this.metaInfo = value; - } - - /** - * Gets the value of the content property. - * - * @return - * possible object is - * {@link Base64OptRefContentType } - * - */ - public Base64OptRefContentType getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link Base64OptRefContentType } - * - */ - public void setContent(Base64OptRefContentType value) { - this.content = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CheckResultType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CheckResultType.java deleted file mode 100644 index b01cf5aa..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CheckResultType.java +++ /dev/null @@ -1,116 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CheckResultType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CheckResultType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> - * <element name="Info" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyMixedChildrenType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CheckResultType", propOrder = { - "code", - "info" -}) -public class CheckResultType { - - @XmlElement(name = "Code", required = true) - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger code; - @XmlElement(name = "Info") - protected AnyMixedChildrenType info; - - /** - * Gets the value of the code property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getCode() { - return code; - } - - /** - * Sets the value of the code property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setCode(BigInteger value) { - this.code = value; - } - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link AnyMixedChildrenType } - * - */ - public AnyMixedChildrenType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link AnyMixedChildrenType } - * - */ - public void setInfo(AnyMixedChildrenType value) { - this.info = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateCMSSignatureRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateCMSSignatureRequestType.java deleted file mode 100644 index d9473e8e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateCMSSignatureRequestType.java +++ /dev/null @@ -1,151 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for CreateCMSSignatureRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CreateCMSSignatureRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="KeyboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> - * <element name="DataObject" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSDataObjectRequiredMetaType"/> - * </sequence> - * <attribute name="Structure" use="required"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="detached"/> - * <enumeration value="enveloping"/> - * </restriction> - * </simpleType> - * </attribute> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreateCMSSignatureRequestType", propOrder = { - "keyboxIdentifier", - "dataObject" -}) -public class CreateCMSSignatureRequestType { - - @XmlElement(name = "KeyboxIdentifier", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String keyboxIdentifier; - @XmlElement(name = "DataObject", required = true) - protected CMSDataObjectRequiredMetaType dataObject; - @XmlAttribute(name = "Structure", required = true) - protected String structure; - - /** - * Gets the value of the keyboxIdentifier property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKeyboxIdentifier() { - return keyboxIdentifier; - } - - /** - * Sets the value of the keyboxIdentifier property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKeyboxIdentifier(String value) { - this.keyboxIdentifier = value; - } - - /** - * Gets the value of the dataObject property. - * - * @return - * possible object is - * {@link CMSDataObjectRequiredMetaType } - * - */ - public CMSDataObjectRequiredMetaType getDataObject() { - return dataObject; - } - - /** - * Sets the value of the dataObject property. - * - * @param value - * allowed object is - * {@link CMSDataObjectRequiredMetaType } - * - */ - public void setDataObject(CMSDataObjectRequiredMetaType value) { - this.dataObject = value; - } - - /** - * Gets the value of the structure property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStructure() { - return structure; - } - - /** - * Sets the value of the structure property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStructure(String value) { - this.structure = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateCMSSignatureResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateCMSSignatureResponseType.java deleted file mode 100644 index bc9886a3..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateCMSSignatureResponseType.java +++ /dev/null @@ -1,83 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CreateCMSSignatureResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CreateCMSSignatureResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="CMSSignature" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreateCMSSignatureResponseType", propOrder = { - "cmsSignature" -}) -public class CreateCMSSignatureResponseType { - - @XmlElement(name = "CMSSignature", required = true) - protected byte[] cmsSignature; - - /** - * Gets the value of the cmsSignature property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getCMSSignature() { - return cmsSignature; - } - - /** - * Sets the value of the cmsSignature property. - * - * @param value - * allowed object is - * byte[] - */ - public void setCMSSignature(byte[] value) { - this.cmsSignature = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashInfoRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashInfoRequestType.java deleted file mode 100644 index cfbed898..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashInfoRequestType.java +++ /dev/null @@ -1,163 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CreateHashInfoRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CreateHashInfoRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="HashData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}HashDataType"/> - * <element name="HashAlgorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * <element name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * <attribute name="RespondHashData" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreateHashInfoRequestType", propOrder = { - "hashData", - "hashAlgorithm", - "friendlyName" -}) -public class CreateHashInfoRequestType { - - @XmlElement(name = "HashData", required = true) - protected HashDataType hashData; - @XmlElement(name = "HashAlgorithm", required = true) - @XmlSchemaType(name = "anyURI") - protected String hashAlgorithm; - @XmlElement(name = "FriendlyName") - protected String friendlyName; - @XmlAttribute(name = "RespondHashData", required = true) - protected boolean respondHashData; - - /** - * Gets the value of the hashData property. - * - * @return - * possible object is - * {@link HashDataType } - * - */ - public HashDataType getHashData() { - return hashData; - } - - /** - * Sets the value of the hashData property. - * - * @param value - * allowed object is - * {@link HashDataType } - * - */ - public void setHashData(HashDataType value) { - this.hashData = value; - } - - /** - * Gets the value of the hashAlgorithm property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHashAlgorithm() { - return hashAlgorithm; - } - - /** - * Sets the value of the hashAlgorithm property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHashAlgorithm(String value) { - this.hashAlgorithm = value; - } - - /** - * Gets the value of the friendlyName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFriendlyName() { - return friendlyName; - } - - /** - * Sets the value of the friendlyName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFriendlyName(String value) { - this.friendlyName = value; - } - - /** - * Gets the value of the respondHashData property. - * - */ - public boolean isRespondHashData() { - return respondHashData; - } - - /** - * Sets the value of the respondHashData property. - * - */ - public void setRespondHashData(boolean value) { - this.respondHashData = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashInfoResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashInfoResponseType.java deleted file mode 100644 index 755a12ef..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashInfoResponseType.java +++ /dev/null @@ -1,169 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CreateHashInfoResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CreateHashInfoResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="HashData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}HashDataType" minOccurs="0"/> - * <element name="HashAlgorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * <element name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="HashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreateHashInfoResponseType", propOrder = { - "hashData", - "hashAlgorithm", - "friendlyName", - "hashValue" -}) -public class CreateHashInfoResponseType { - - @XmlElement(name = "HashData") - protected HashDataType hashData; - @XmlElement(name = "HashAlgorithm", required = true) - @XmlSchemaType(name = "anyURI") - protected String hashAlgorithm; - @XmlElement(name = "FriendlyName") - protected String friendlyName; - @XmlElement(name = "HashValue", required = true) - protected byte[] hashValue; - - /** - * Gets the value of the hashData property. - * - * @return - * possible object is - * {@link HashDataType } - * - */ - public HashDataType getHashData() { - return hashData; - } - - /** - * Sets the value of the hashData property. - * - * @param value - * allowed object is - * {@link HashDataType } - * - */ - public void setHashData(HashDataType value) { - this.hashData = value; - } - - /** - * Gets the value of the hashAlgorithm property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHashAlgorithm() { - return hashAlgorithm; - } - - /** - * Sets the value of the hashAlgorithm property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHashAlgorithm(String value) { - this.hashAlgorithm = value; - } - - /** - * Gets the value of the friendlyName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFriendlyName() { - return friendlyName; - } - - /** - * Sets the value of the friendlyName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFriendlyName(String value) { - this.friendlyName = value; - } - - /** - * Gets the value of the hashValue property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getHashValue() { - return hashValue; - } - - /** - * Sets the value of the hashValue property. - * - * @param value - * allowed object is - * byte[] - */ - public void setHashValue(byte[] value) { - this.hashValue = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashRequestType.java deleted file mode 100644 index 5fe80ad7..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashRequestType.java +++ /dev/null @@ -1,92 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CreateHashRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CreateHashRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="HashInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CreateHashInfoRequestType" maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreateHashRequestType", propOrder = { - "hashInfo" -}) -public class CreateHashRequestType { - - @XmlElement(name = "HashInfo", required = true) - protected List<CreateHashInfoRequestType> hashInfo; - - /** - * Gets the value of the hashInfo 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 hashInfo property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getHashInfo().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link CreateHashInfoRequestType } - * - * - */ - public List<CreateHashInfoRequestType> getHashInfo() { - if (hashInfo == null) { - hashInfo = new ArrayList<CreateHashInfoRequestType>(); - } - return this.hashInfo; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashResponseType.java deleted file mode 100644 index 702f7177..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateHashResponseType.java +++ /dev/null @@ -1,92 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for CreateHashResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CreateHashResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="HashInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CreateHashInfoResponseType" maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreateHashResponseType", propOrder = { - "hashInfo" -}) -public class CreateHashResponseType { - - @XmlElement(name = "HashInfo", required = true) - protected List<CreateHashInfoResponseType> hashInfo; - - /** - * Gets the value of the hashInfo 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 hashInfo property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getHashInfo().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link CreateHashInfoResponseType } - * - * - */ - public List<CreateHashInfoResponseType> getHashInfo() { - if (hashInfo == null) { - hashInfo = new ArrayList<CreateHashInfoResponseType>(); - } - return this.hashInfo; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateXMLSignatureRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateXMLSignatureRequestType.java deleted file mode 100644 index 71f6c0c2..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateXMLSignatureRequestType.java +++ /dev/null @@ -1,151 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for CreateXMLSignatureRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CreateXMLSignatureRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="KeyboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> - * <element name="DataObjectInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectInfoType" maxOccurs="unbounded"/> - * <element name="SignatureInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}SignatureInfoCreationType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreateXMLSignatureRequestType", propOrder = { - "keyboxIdentifier", - "dataObjectInfo", - "signatureInfo" -}) -public class CreateXMLSignatureRequestType { - - @XmlElement(name = "KeyboxIdentifier", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String keyboxIdentifier; - @XmlElement(name = "DataObjectInfo", required = true) - protected List<DataObjectInfoType> dataObjectInfo; - @XmlElement(name = "SignatureInfo") - protected SignatureInfoCreationType signatureInfo; - - /** - * Gets the value of the keyboxIdentifier property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKeyboxIdentifier() { - return keyboxIdentifier; - } - - /** - * Sets the value of the keyboxIdentifier property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKeyboxIdentifier(String value) { - this.keyboxIdentifier = value; - } - - /** - * Gets the value of the dataObjectInfo 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 dataObjectInfo property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getDataObjectInfo().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link DataObjectInfoType } - * - * - */ - public List<DataObjectInfoType> getDataObjectInfo() { - if (dataObjectInfo == null) { - dataObjectInfo = new ArrayList<DataObjectInfoType>(); - } - return this.dataObjectInfo; - } - - /** - * Gets the value of the signatureInfo property. - * - * @return - * possible object is - * {@link SignatureInfoCreationType } - * - */ - public SignatureInfoCreationType getSignatureInfo() { - return signatureInfo; - } - - /** - * Sets the value of the signatureInfo property. - * - * @param value - * allowed object is - * {@link SignatureInfoCreationType } - * - */ - public void setSignatureInfo(SignatureInfoCreationType value) { - this.signatureInfo = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateXMLSignatureResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateXMLSignatureResponseType.java deleted file mode 100644 index e72991d4..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/CreateXMLSignatureResponseType.java +++ /dev/null @@ -1,88 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for CreateXMLSignatureResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CreateXMLSignatureResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreateXMLSignatureResponseType", propOrder = { - "any" -}) -public class CreateXMLSignatureResponseType { - - @XmlAnyElement(lax = true) - protected Object any; - - /** - * Gets the value of the any property. - * - * @return - * possible object is - * {@link Element } - * {@link Object } - * - */ - public Object getAny() { - return any; - } - - /** - * Sets the value of the any property. - * - * @param value - * allowed object is - * {@link Element } - * {@link Object } - * - */ - public void setAny(Object value) { - this.any = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DataObjectAssociationType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DataObjectAssociationType.java deleted file mode 100644 index 7e3fee76..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DataObjectAssociationType.java +++ /dev/null @@ -1,113 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DataObjectAssociationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="DataObjectAssociationType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType" minOccurs="0"/> - * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefReqRefContentType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DataObjectAssociationType", propOrder = { - "metaInfo", - "content" -}) -public class DataObjectAssociationType { - - @XmlElement(name = "MetaInfo") - protected MetaInfoType metaInfo; - @XmlElement(name = "Content", required = true) - protected Base64XMLLocRefReqRefContentType content; - - /** - * Gets the value of the metaInfo property. - * - * @return - * possible object is - * {@link MetaInfoType } - * - */ - public MetaInfoType getMetaInfo() { - return metaInfo; - } - - /** - * Sets the value of the metaInfo property. - * - * @param value - * allowed object is - * {@link MetaInfoType } - * - */ - public void setMetaInfo(MetaInfoType value) { - this.metaInfo = value; - } - - /** - * Gets the value of the content property. - * - * @return - * possible object is - * {@link Base64XMLLocRefReqRefContentType } - * - */ - public Base64XMLLocRefReqRefContentType getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link Base64XMLLocRefReqRefContentType } - * - */ - public void setContent(Base64XMLLocRefReqRefContentType value) { - this.content = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DataObjectInfoType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DataObjectInfoType.java deleted file mode 100644 index f3a9ee5f..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DataObjectInfoType.java +++ /dev/null @@ -1,188 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DataObjectInfoType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="DataObjectInfoType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="DataObject" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefOptRefContentType"/> - * <element name="TransformsInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}TransformsInfoType" maxOccurs="unbounded"/> - * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="Structure" use="required"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="detached"/> - * <enumeration value="enveloping"/> - * </restriction> - * </simpleType> - * </attribute> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DataObjectInfoType", propOrder = { - "dataObject", - "transformsInfo", - "supplement" -}) -public class DataObjectInfoType { - - @XmlElement(name = "DataObject", required = true) - protected Base64XMLLocRefOptRefContentType dataObject; - @XmlElement(name = "TransformsInfo", required = true, type = at.gv.egiz.slbinding.impl.TransformsInfoType.class) - protected List<at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType> transformsInfo; - @XmlElement(name = "Supplement") - protected List<DataObjectAssociationType> supplement; - @XmlAttribute(name = "Structure", required = true) - protected String structure; - - /** - * Gets the value of the dataObject property. - * - * @return - * possible object is - * {@link Base64XMLLocRefOptRefContentType } - * - */ - public Base64XMLLocRefOptRefContentType getDataObject() { - return dataObject; - } - - /** - * Sets the value of the dataObject property. - * - * @param value - * allowed object is - * {@link Base64XMLLocRefOptRefContentType } - * - */ - public void setDataObject(Base64XMLLocRefOptRefContentType value) { - this.dataObject = value; - } - - /** - * Gets the value of the transformsInfo 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 transformsInfo property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getTransformsInfo().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType } - * - * - */ - public List<at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType> getTransformsInfo() { - if (transformsInfo == null) { - transformsInfo = new ArrayList<at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType>(); - } - return this.transformsInfo; - } - - /** - * Gets the value of the supplement 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 supplement property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getSupplement().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link DataObjectAssociationType } - * - * - */ - public List<DataObjectAssociationType> getSupplement() { - if (supplement == null) { - supplement = new ArrayList<DataObjectAssociationType>(); - } - return this.supplement; - } - - /** - * Gets the value of the structure property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStructure() { - return structure; - } - - /** - * Sets the value of the structure property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStructure(String value) { - this.structure = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptCMSRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptCMSRequestType.java deleted file mode 100644 index d6b51d59..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptCMSRequestType.java +++ /dev/null @@ -1,143 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DecryptCMSRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="DecryptCMSRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="CMSMessage" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * <element name="EncryptedContent" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSEncryptedContentType" minOccurs="0"/> - * </sequence> - * <attribute name="ReturnResult" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReturnResultType" default="xml" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DecryptCMSRequestType", propOrder = { - "cmsMessage", - "encryptedContent" -}) -public class DecryptCMSRequestType { - - @XmlElement(name = "CMSMessage", required = true) - protected byte[] cmsMessage; - @XmlElement(name = "EncryptedContent") - protected CMSEncryptedContentType encryptedContent; - @XmlAttribute(name = "ReturnResult") - protected ReturnResultType returnResult; - - /** - * Gets the value of the cmsMessage property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getCMSMessage() { - return cmsMessage; - } - - /** - * Sets the value of the cmsMessage property. - * - * @param value - * allowed object is - * byte[] - */ - public void setCMSMessage(byte[] value) { - this.cmsMessage = ((byte[]) value); - } - - /** - * Gets the value of the encryptedContent property. - * - * @return - * possible object is - * {@link CMSEncryptedContentType } - * - */ - public CMSEncryptedContentType getEncryptedContent() { - return encryptedContent; - } - - /** - * Sets the value of the encryptedContent property. - * - * @param value - * allowed object is - * {@link CMSEncryptedContentType } - * - */ - public void setEncryptedContent(CMSEncryptedContentType value) { - this.encryptedContent = value; - } - - /** - * Gets the value of the returnResult property. - * - * @return - * possible object is - * {@link ReturnResultType } - * - */ - public ReturnResultType getReturnResult() { - if (returnResult == null) { - return ReturnResultType.XML; - } else { - return returnResult; - } - } - - /** - * Sets the value of the returnResult property. - * - * @param value - * allowed object is - * {@link ReturnResultType } - * - */ - public void setReturnResult(ReturnResultType value) { - this.returnResult = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptCMSResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptCMSResponseType.java deleted file mode 100644 index d98e29bb..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptCMSResponseType.java +++ /dev/null @@ -1,83 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DecryptCMSResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="DecryptCMSResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="DecryptedData" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DecryptCMSResponseType", propOrder = { - "decryptedData" -}) -public class DecryptCMSResponseType { - - @XmlElement(name = "DecryptedData", required = true) - protected byte[] decryptedData; - - /** - * Gets the value of the decryptedData property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getDecryptedData() { - return decryptedData; - } - - /** - * Sets the value of the decryptedData property. - * - * @param value - * allowed object is - * byte[] - */ - public void setDecryptedData(byte[] value) { - this.decryptedData = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptXMLRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptXMLRequestType.java deleted file mode 100644 index 7372130b..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptXMLRequestType.java +++ /dev/null @@ -1,180 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DecryptXMLRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="DecryptXMLRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="EncryptedContent" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> - * <element name="EncrElemsSelector" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="ReturnResult" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReturnResultType" default="xml" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DecryptXMLRequestType", propOrder = { - "encryptedContent", - "encrElemsSelector", - "supplement" -}) -public class DecryptXMLRequestType { - - @XmlElement(name = "EncryptedContent", required = true) - protected Base64XMLOptRefContentType encryptedContent; - @XmlElement(name = "EncrElemsSelector", required = true) - protected String encrElemsSelector; - @XmlElement(name = "Supplement") - protected List<DataObjectAssociationType> supplement; - @XmlAttribute(name = "ReturnResult") - protected ReturnResultType returnResult; - - /** - * Gets the value of the encryptedContent property. - * - * @return - * possible object is - * {@link Base64XMLOptRefContentType } - * - */ - public Base64XMLOptRefContentType getEncryptedContent() { - return encryptedContent; - } - - /** - * Sets the value of the encryptedContent property. - * - * @param value - * allowed object is - * {@link Base64XMLOptRefContentType } - * - */ - public void setEncryptedContent(Base64XMLOptRefContentType value) { - this.encryptedContent = value; - } - - /** - * Gets the value of the encrElemsSelector property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getEncrElemsSelector() { - return encrElemsSelector; - } - - /** - * Sets the value of the encrElemsSelector property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setEncrElemsSelector(String value) { - this.encrElemsSelector = value; - } - - /** - * Gets the value of the supplement 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 supplement property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getSupplement().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link DataObjectAssociationType } - * - * - */ - public List<DataObjectAssociationType> getSupplement() { - if (supplement == null) { - supplement = new ArrayList<DataObjectAssociationType>(); - } - return this.supplement; - } - - /** - * Gets the value of the returnResult property. - * - * @return - * possible object is - * {@link ReturnResultType } - * - */ - public ReturnResultType getReturnResult() { - if (returnResult == null) { - return ReturnResultType.XML; - } else { - return returnResult; - } - } - - /** - * Sets the value of the returnResult property. - * - * @param value - * allowed object is - * {@link ReturnResultType } - * - */ - public void setReturnResult(ReturnResultType value) { - this.returnResult = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptXMLResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptXMLResponseType.java deleted file mode 100644 index 15ee4c08..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/DecryptXMLResponseType.java +++ /dev/null @@ -1,265 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; - - -/** - * <p>Java class for DecryptXMLResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="DecryptXMLResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence minOccurs="0"> - * <element name="CandidateDocument" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLContentType"/> - * <element name="DecryptedBinaryData" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> - * <attribute name="EncrElemSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DecryptXMLResponseType", propOrder = { - "candidateDocument", - "decryptedBinaryData" -}) -public class DecryptXMLResponseType { - - @XmlElement(name = "CandidateDocument", type = at.gv.egiz.slbinding.impl.XMLContentType.class) - protected at.gv.egiz.slbinding.impl.XMLContentType candidateDocument; - @XmlElement(name = "DecryptedBinaryData") - protected List<DecryptXMLResponseType.DecryptedBinaryData> decryptedBinaryData; - - /** - * Gets the value of the candidateDocument property. - * - * @return - * possible object is - * {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } - * - */ - public at.buergerkarte.namespaces.securitylayer._1.XMLContentType getCandidateDocument() { - return candidateDocument; - } - - /** - * Sets the value of the candidateDocument property. - * - * @param value - * allowed object is - * {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } - * - */ - public void setCandidateDocument(at.buergerkarte.namespaces.securitylayer._1.XMLContentType value) { - this.candidateDocument = ((at.gv.egiz.slbinding.impl.XMLContentType) value); - } - - /** - * Gets the value of the decryptedBinaryData 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 decryptedBinaryData property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getDecryptedBinaryData().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link DecryptXMLResponseType.DecryptedBinaryData } - * - * - */ - public List<DecryptXMLResponseType.DecryptedBinaryData> getDecryptedBinaryData() { - if (decryptedBinaryData == null) { - decryptedBinaryData = new ArrayList<DecryptXMLResponseType.DecryptedBinaryData>(); - } - return this.decryptedBinaryData; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> - * <attribute name="EncrElemSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class DecryptedBinaryData { - - @XmlValue - protected byte[] value; - @XmlAttribute(name = "EncrElemSelector", required = true) - protected String encrElemSelector; - @XmlAttribute(name = "MimeType") - protected String mimeType; - @XmlAttribute(name = "Encoding") - @XmlSchemaType(name = "anyURI") - protected String encoding; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * byte[] - */ - public void setValue(byte[] value) { - this.value = ((byte[]) value); - } - - /** - * Gets the value of the encrElemSelector property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getEncrElemSelector() { - return encrElemSelector; - } - - /** - * Sets the value of the encrElemSelector property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setEncrElemSelector(String value) { - this.encrElemSelector = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the encoding property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getEncoding() { - return encoding; - } - - /** - * Sets the value of the encoding property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setEncoding(String value) { - this.encoding = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptCMSRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptCMSRequestType.java deleted file mode 100644 index 1630df92..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptCMSRequestType.java +++ /dev/null @@ -1,152 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for EncryptCMSRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="EncryptCMSRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="RecipientPublicKey" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSRecipientPublicKeyType" maxOccurs="unbounded"/> - * <element name="ToBeEncrypted" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSToBeEncryptedType"/> - * </sequence> - * <attribute name="ReturnBinaryResult" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EncryptCMSRequestType", propOrder = { - "recipientPublicKey", - "toBeEncrypted" -}) -public class EncryptCMSRequestType { - - @XmlElement(name = "RecipientPublicKey", required = true) - protected List<CMSRecipientPublicKeyType> recipientPublicKey; - @XmlElement(name = "ToBeEncrypted", required = true) - protected CMSToBeEncryptedType toBeEncrypted; - @XmlAttribute(name = "ReturnBinaryResult") - protected Boolean returnBinaryResult; - - /** - * Gets the value of the recipientPublicKey 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 recipientPublicKey property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getRecipientPublicKey().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link CMSRecipientPublicKeyType } - * - * - */ - public List<CMSRecipientPublicKeyType> getRecipientPublicKey() { - if (recipientPublicKey == null) { - recipientPublicKey = new ArrayList<CMSRecipientPublicKeyType>(); - } - return this.recipientPublicKey; - } - - /** - * Gets the value of the toBeEncrypted property. - * - * @return - * possible object is - * {@link CMSToBeEncryptedType } - * - */ - public CMSToBeEncryptedType getToBeEncrypted() { - return toBeEncrypted; - } - - /** - * Sets the value of the toBeEncrypted property. - * - * @param value - * allowed object is - * {@link CMSToBeEncryptedType } - * - */ - public void setToBeEncrypted(CMSToBeEncryptedType value) { - this.toBeEncrypted = value; - } - - /** - * Gets the value of the returnBinaryResult property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isReturnBinaryResult() { - if (returnBinaryResult == null) { - return false; - } else { - return returnBinaryResult; - } - } - - /** - * Sets the value of the returnBinaryResult property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setReturnBinaryResult(Boolean value) { - this.returnBinaryResult = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptCMSResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptCMSResponseType.java deleted file mode 100644 index 1c27b997..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptCMSResponseType.java +++ /dev/null @@ -1,83 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for EncryptCMSResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="EncryptCMSResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="CMSMessage" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EncryptCMSResponseType", propOrder = { - "cmsMessage" -}) -public class EncryptCMSResponseType { - - @XmlElement(name = "CMSMessage", required = true) - protected byte[] cmsMessage; - - /** - * Gets the value of the cmsMessage property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getCMSMessage() { - return cmsMessage; - } - - /** - * Sets the value of the cmsMessage property. - * - * @param value - * allowed object is - * byte[] - */ - public void setCMSMessage(byte[] value) { - this.cmsMessage = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLRequest.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLRequest.java deleted file mode 100644 index e03b78d2..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLRequest.java +++ /dev/null @@ -1,57 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}EncryptXMLRequestType"> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") -@XmlRootElement(name = "EncryptXMLRequest") -public class EncryptXMLRequest - extends EncryptXMLRequestType -{ - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLRequestType.java deleted file mode 100644 index e027452c..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLRequestType.java +++ /dev/null @@ -1,157 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for EncryptXMLRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="EncryptXMLRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="RecipientPublicKey" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLRecipientPublicKeyType" maxOccurs="unbounded"/> - * <element name="ToBeEncrypted" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ToBeEncryptedType" maxOccurs="unbounded"/> - * <element name="EncryptionInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}EncryptionInfoType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EncryptXMLRequestType", propOrder = { - "recipientPublicKey", - "toBeEncrypted", - "encryptionInfo" -}) -@XmlSeeAlso({ - EncryptXMLRequest.class -}) -public class EncryptXMLRequestType { - - @XmlElement(name = "RecipientPublicKey", required = true) - protected List<XMLRecipientPublicKeyType> recipientPublicKey; - @XmlElement(name = "ToBeEncrypted", required = true) - protected List<ToBeEncryptedType> toBeEncrypted; - @XmlElement(name = "EncryptionInfo") - protected EncryptionInfoType encryptionInfo; - - /** - * Gets the value of the recipientPublicKey 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 recipientPublicKey property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getRecipientPublicKey().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link XMLRecipientPublicKeyType } - * - * - */ - public List<XMLRecipientPublicKeyType> getRecipientPublicKey() { - if (recipientPublicKey == null) { - recipientPublicKey = new ArrayList<XMLRecipientPublicKeyType>(); - } - return this.recipientPublicKey; - } - - /** - * Gets the value of the toBeEncrypted 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 toBeEncrypted property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getToBeEncrypted().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link ToBeEncryptedType } - * - * - */ - public List<ToBeEncryptedType> getToBeEncrypted() { - if (toBeEncrypted == null) { - toBeEncrypted = new ArrayList<ToBeEncryptedType>(); - } - return this.toBeEncrypted; - } - - /** - * Gets the value of the encryptionInfo property. - * - * @return - * possible object is - * {@link EncryptionInfoType } - * - */ - public EncryptionInfoType getEncryptionInfo() { - return encryptionInfo; - } - - /** - * Sets the value of the encryptionInfo property. - * - * @param value - * allowed object is - * {@link EncryptionInfoType } - * - */ - public void setEncryptionInfo(EncryptionInfoType value) { - this.encryptionInfo = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLResponseType.java deleted file mode 100644 index dfbd62ee..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptXMLResponseType.java +++ /dev/null @@ -1,189 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for EncryptXMLResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="EncryptXMLResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="EncryptionEnvironment"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="EncryptedData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}EncryptedDataType" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EncryptXMLResponseType", propOrder = { - "encryptionEnvironment", - "encryptedData" -}) -public class EncryptXMLResponseType { - - @XmlElement(name = "EncryptionEnvironment", required = true) - protected EncryptXMLResponseType.EncryptionEnvironment encryptionEnvironment; - @XmlElement(name = "EncryptedData") - protected List<EncryptedDataType> encryptedData; - - /** - * Gets the value of the encryptionEnvironment property. - * - * @return - * possible object is - * {@link EncryptXMLResponseType.EncryptionEnvironment } - * - */ - public EncryptXMLResponseType.EncryptionEnvironment getEncryptionEnvironment() { - return encryptionEnvironment; - } - - /** - * Sets the value of the encryptionEnvironment property. - * - * @param value - * allowed object is - * {@link EncryptXMLResponseType.EncryptionEnvironment } - * - */ - public void setEncryptionEnvironment(EncryptXMLResponseType.EncryptionEnvironment value) { - this.encryptionEnvironment = value; - } - - /** - * Gets the value of the encryptedData 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 encryptedData property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getEncryptedData().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link EncryptedDataType } - * - * - */ - public List<EncryptedDataType> getEncryptedData() { - if (encryptedData == null) { - encryptedData = new ArrayList<EncryptedDataType>(); - } - return this.encryptedData; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "any" - }) - public static class EncryptionEnvironment { - - @XmlAnyElement(lax = true) - protected Object any; - - /** - * Gets the value of the any property. - * - * @return - * possible object is - * {@link Element } - * {@link Object } - * - */ - public Object getAny() { - return any; - } - - /** - * Sets the value of the any property. - * - * @param value - * allowed object is - * {@link Element } - * {@link Object } - * - */ - public void setAny(Object value) { - this.any = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptedDataType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptedDataType.java deleted file mode 100644 index 62931009..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptedDataType.java +++ /dev/null @@ -1,110 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; - - -/** - * <p>Java class for EncryptedDataType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="EncryptedDataType"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> - * <attribute name="EncDataReference" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EncryptedDataType", propOrder = { - "value" -}) -public class EncryptedDataType { - - @XmlValue - protected byte[] value; - @XmlAttribute(name = "EncDataReference", required = true) - @XmlSchemaType(name = "anyURI") - protected String encDataReference; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * byte[] - */ - public void setValue(byte[] value) { - this.value = ((byte[]) value); - } - - /** - * Gets the value of the encDataReference property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getEncDataReference() { - return encDataReference; - } - - /** - * Sets the value of the encDataReference property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setEncDataReference(String value) { - this.encDataReference = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptionInfoType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptionInfoType.java deleted file mode 100644 index 84fe5c49..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/EncryptionInfoType.java +++ /dev/null @@ -1,243 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for EncryptionInfoType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="EncryptionInfoType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="EncryptionEnvironment" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> - * <element name="EncryptedKeyLocation" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="ParentSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="NodeCount" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EncryptionInfoType", propOrder = { - "encryptionEnvironment", - "encryptedKeyLocation", - "supplement" -}) -public class EncryptionInfoType { - - @XmlElement(name = "EncryptionEnvironment", required = true) - protected Base64XMLOptRefContentType encryptionEnvironment; - @XmlElement(name = "EncryptedKeyLocation") - protected EncryptionInfoType.EncryptedKeyLocation encryptedKeyLocation; - @XmlElement(name = "Supplement") - protected List<DataObjectAssociationType> supplement; - - /** - * Gets the value of the encryptionEnvironment property. - * - * @return - * possible object is - * {@link Base64XMLOptRefContentType } - * - */ - public Base64XMLOptRefContentType getEncryptionEnvironment() { - return encryptionEnvironment; - } - - /** - * Sets the value of the encryptionEnvironment property. - * - * @param value - * allowed object is - * {@link Base64XMLOptRefContentType } - * - */ - public void setEncryptionEnvironment(Base64XMLOptRefContentType value) { - this.encryptionEnvironment = value; - } - - /** - * Gets the value of the encryptedKeyLocation property. - * - * @return - * possible object is - * {@link EncryptionInfoType.EncryptedKeyLocation } - * - */ - public EncryptionInfoType.EncryptedKeyLocation getEncryptedKeyLocation() { - return encryptedKeyLocation; - } - - /** - * Sets the value of the encryptedKeyLocation property. - * - * @param value - * allowed object is - * {@link EncryptionInfoType.EncryptedKeyLocation } - * - */ - public void setEncryptedKeyLocation(EncryptionInfoType.EncryptedKeyLocation value) { - this.encryptedKeyLocation = value; - } - - /** - * Gets the value of the supplement 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 supplement property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getSupplement().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link DataObjectAssociationType } - * - * - */ - public List<DataObjectAssociationType> getSupplement() { - if (supplement == null) { - supplement = new ArrayList<DataObjectAssociationType>(); - } - return this.supplement; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="ParentSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="NodeCount" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class EncryptedKeyLocation { - - @XmlAttribute(name = "ParentSelector", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String parentSelector; - @XmlAttribute(name = "NodeCount", required = true) - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger nodeCount; - - /** - * Gets the value of the parentSelector property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getParentSelector() { - return parentSelector; - } - - /** - * Sets the value of the parentSelector property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setParentSelector(String value) { - this.parentSelector = value; - } - - /** - * Gets the value of the nodeCount property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getNodeCount() { - return nodeCount; - } - - /** - * Sets the value of the nodeCount property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setNodeCount(BigInteger value) { - this.nodeCount = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ErrorResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ErrorResponseType.java deleted file mode 100644 index bea8704b..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ErrorResponseType.java +++ /dev/null @@ -1,105 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for ErrorResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ErrorResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="ErrorCode" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ErrorCodeType"/> - * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ErrorResponseType", propOrder = { - "errorCode", - "info" -}) -public class ErrorResponseType { - - @XmlElement(name = "ErrorCode") - protected int errorCode; - @XmlElement(name = "Info", required = true) - protected String info; - - /** - * Gets the value of the errorCode property. - * - */ - public int getErrorCode() { - return errorCode; - } - - /** - * Sets the value of the errorCode property. - * - */ - public void setErrorCode(int value) { - this.errorCode = value; - } - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInfo(String value) { - this.info = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesRequest.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesRequest.java deleted file mode 100644 index c18c8c6e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesRequest.java +++ /dev/null @@ -1,57 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}GetPropertiesRequestType"> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") -@XmlRootElement(name = "GetPropertiesRequest") -public class GetPropertiesRequest - extends GetPropertiesRequestType -{ - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesRequestType.java deleted file mode 100644 index 6e390ce1..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesRequestType.java +++ /dev/null @@ -1,57 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for GetPropertiesRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="GetPropertiesRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "GetPropertiesRequestType") -@XmlSeeAlso({ - GetPropertiesRequest.class -}) -public class GetPropertiesRequestType { - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesResponseType.java deleted file mode 100644 index 0f546d88..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetPropertiesResponseType.java +++ /dev/null @@ -1,265 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for GetPropertiesResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="GetPropertiesResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="ViewerMediaType" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MimeTypeType" maxOccurs="unbounded"/> - * <element name="XMLSignatureTransform" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/> - * <element name="KeyboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}QualifiedBoxIdentifierType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="Binding" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BindingType" maxOccurs="unbounded"/> - * <element name="ProtocolVersion" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded"/> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "GetPropertiesResponseType", propOrder = { - "viewerMediaType", - "xmlSignatureTransform", - "keyboxIdentifier", - "binding", - "protocolVersion", - "any" -}) -public class GetPropertiesResponseType { - - @XmlElement(name = "ViewerMediaType", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected List<String> viewerMediaType; - @XmlElement(name = "XMLSignatureTransform", required = true) - @XmlSchemaType(name = "anyURI") - protected List<String> xmlSignatureTransform; - @XmlElement(name = "KeyboxIdentifier") - protected List<QualifiedBoxIdentifierType> keyboxIdentifier; - @XmlElement(name = "Binding", required = true) - protected List<BindingType> binding; - @XmlElement(name = "ProtocolVersion", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected List<String> protocolVersion; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the viewerMediaType 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 viewerMediaType property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getViewerMediaType().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getViewerMediaType() { - if (viewerMediaType == null) { - viewerMediaType = new ArrayList<String>(); - } - return this.viewerMediaType; - } - - /** - * Gets the value of the xmlSignatureTransform 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 xmlSignatureTransform property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getXMLSignatureTransform().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getXMLSignatureTransform() { - if (xmlSignatureTransform == null) { - xmlSignatureTransform = new ArrayList<String>(); - } - return this.xmlSignatureTransform; - } - - /** - * Gets the value of the keyboxIdentifier 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 keyboxIdentifier property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getKeyboxIdentifier().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link QualifiedBoxIdentifierType } - * - * - */ - public List<QualifiedBoxIdentifierType> getKeyboxIdentifier() { - if (keyboxIdentifier == null) { - keyboxIdentifier = new ArrayList<QualifiedBoxIdentifierType>(); - } - return this.keyboxIdentifier; - } - - /** - * Gets the value of the binding 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 binding property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getBinding().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link BindingType } - * - * - */ - public List<BindingType> getBinding() { - if (binding == null) { - binding = new ArrayList<BindingType>(); - } - return this.binding; - } - - /** - * Gets the value of the protocolVersion 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 protocolVersion property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getProtocolVersion().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getProtocolVersion() { - if (protocolVersion == null) { - protocolVersion = new ArrayList<String>(); - } - return this.protocolVersion; - } - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetStatusRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetStatusRequestType.java deleted file mode 100644 index 50c159a9..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetStatusRequestType.java +++ /dev/null @@ -1,116 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for GetStatusRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="GetStatusRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence minOccurs="0"> - * <element name="TokenStatus" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}TokenStatusType"/> - * <element name="MaxDelay" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "GetStatusRequestType", propOrder = { - "tokenStatus", - "maxDelay" -}) -public class GetStatusRequestType { - - @XmlElement(name = "TokenStatus") - protected TokenStatusType tokenStatus; - @XmlElement(name = "MaxDelay") - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger maxDelay; - - /** - * Gets the value of the tokenStatus property. - * - * @return - * possible object is - * {@link TokenStatusType } - * - */ - public TokenStatusType getTokenStatus() { - return tokenStatus; - } - - /** - * Sets the value of the tokenStatus property. - * - * @param value - * allowed object is - * {@link TokenStatusType } - * - */ - public void setTokenStatus(TokenStatusType value) { - this.tokenStatus = value; - } - - /** - * Gets the value of the maxDelay property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getMaxDelay() { - return maxDelay; - } - - /** - * Sets the value of the maxDelay property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setMaxDelay(BigInteger value) { - this.maxDelay = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetStatusResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetStatusResponseType.java deleted file mode 100644 index 41ba23b8..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/GetStatusResponseType.java +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for GetStatusResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="GetStatusResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="TokenStatus" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}TokenStatusType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "GetStatusResponseType", propOrder = { - "tokenStatus" -}) -public class GetStatusResponseType { - - @XmlElement(name = "TokenStatus", required = true) - protected TokenStatusType tokenStatus; - - /** - * Gets the value of the tokenStatus property. - * - * @return - * possible object is - * {@link TokenStatusType } - * - */ - public TokenStatusType getTokenStatus() { - return tokenStatus; - } - - /** - * Sets the value of the tokenStatus property. - * - * @param value - * allowed object is - * {@link TokenStatusType } - * - */ - public void setTokenStatus(TokenStatusType value) { - this.tokenStatus = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/HashDataType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/HashDataType.java deleted file mode 100644 index de03f034..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/HashDataType.java +++ /dev/null @@ -1,113 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for HashDataType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="HashDataType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> - * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "HashDataType", propOrder = { - "metaInfo", - "content" -}) -public class HashDataType { - - @XmlElement(name = "MetaInfo", required = true) - protected MetaInfoType metaInfo; - @XmlElement(name = "Content", required = true) - protected Base64XMLOptRefContentType content; - - /** - * Gets the value of the metaInfo property. - * - * @return - * possible object is - * {@link MetaInfoType } - * - */ - public MetaInfoType getMetaInfo() { - return metaInfo; - } - - /** - * Sets the value of the metaInfo property. - * - * @param value - * allowed object is - * {@link MetaInfoType } - * - */ - public void setMetaInfo(MetaInfoType value) { - this.metaInfo = value; - } - - /** - * Gets the value of the content property. - * - * @return - * possible object is - * {@link Base64XMLOptRefContentType } - * - */ - public Base64XMLOptRefContentType getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link Base64XMLOptRefContentType } - * - */ - public void setContent(Base64XMLOptRefContentType value) { - this.content = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAssocArrayPairType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAssocArrayPairType.java deleted file mode 100644 index 996777e1..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAssocArrayPairType.java +++ /dev/null @@ -1,83 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for InfoboxAssocArrayPairType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxAssocArrayPairType"> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLContentType"> - * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxAssocArrayPairType") -public class InfoboxAssocArrayPairType - extends Base64XMLContentType -{ - - @XmlAttribute(name = "Key", required = true) - protected String key; - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAvailableRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAvailableRequestType.java deleted file mode 100644 index d7d12767..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAvailableRequestType.java +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for InfoboxAvailableRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxAvailableRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxAvailableRequestType") -public class InfoboxAvailableRequestType { - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAvailableResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAvailableResponseType.java deleted file mode 100644 index a3fb3b36..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxAvailableResponseType.java +++ /dev/null @@ -1,95 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for InfoboxAvailableResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxAvailableResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxAvailableResponseType", propOrder = { - "infoboxIdentifier" -}) -public class InfoboxAvailableResponseType { - - @XmlElement(name = "InfoboxIdentifier") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected List<String> infoboxIdentifier; - - /** - * Gets the value of the infoboxIdentifier 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 infoboxIdentifier property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getInfoboxIdentifier().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getInfoboxIdentifier() { - if (infoboxIdentifier == null) { - infoboxIdentifier = new ArrayList<String>(); - } - return this.infoboxIdentifier; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxCreateRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxCreateRequestType.java deleted file mode 100644 index 0eaebd7b..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxCreateRequestType.java +++ /dev/null @@ -1,284 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for InfoboxCreateRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxCreateRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> - * <element name="InfoboxType" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxTypeType"/> - * <element name="Creator" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="Purpose" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="ReadAccessAuthorization" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AccessAuthorizationType" minOccurs="0"/> - * <element name="UpdateAccessAuthorization" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AccessAuthorizationType" minOccurs="0"/> - * <element name="ReadUserConfirmation" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}UserConfirmationType" minOccurs="0"/> - * <element name="UpdateUserConfirmation" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}UserConfirmationType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxCreateRequestType", propOrder = { - "infoboxIdentifier", - "infoboxType", - "creator", - "purpose", - "readAccessAuthorization", - "updateAccessAuthorization", - "readUserConfirmation", - "updateUserConfirmation" -}) -public class InfoboxCreateRequestType { - - @XmlElement(name = "InfoboxIdentifier", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String infoboxIdentifier; - @XmlElement(name = "InfoboxType", required = true) - protected InfoboxTypeType infoboxType; - @XmlElement(name = "Creator", required = true) - protected String creator; - @XmlElement(name = "Purpose", required = true) - protected String purpose; - @XmlElement(name = "ReadAccessAuthorization") - protected AccessAuthorizationType readAccessAuthorization; - @XmlElement(name = "UpdateAccessAuthorization") - protected AccessAuthorizationType updateAccessAuthorization; - @XmlElement(name = "ReadUserConfirmation") - protected UserConfirmationType readUserConfirmation; - @XmlElement(name = "UpdateUserConfirmation") - protected UserConfirmationType updateUserConfirmation; - - /** - * Gets the value of the infoboxIdentifier property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInfoboxIdentifier() { - return infoboxIdentifier; - } - - /** - * Sets the value of the infoboxIdentifier property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInfoboxIdentifier(String value) { - this.infoboxIdentifier = value; - } - - /** - * Gets the value of the infoboxType property. - * - * @return - * possible object is - * {@link InfoboxTypeType } - * - */ - public InfoboxTypeType getInfoboxType() { - return infoboxType; - } - - /** - * Sets the value of the infoboxType property. - * - * @param value - * allowed object is - * {@link InfoboxTypeType } - * - */ - public void setInfoboxType(InfoboxTypeType value) { - this.infoboxType = value; - } - - /** - * Gets the value of the creator property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCreator() { - return creator; - } - - /** - * Sets the value of the creator property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCreator(String value) { - this.creator = value; - } - - /** - * Gets the value of the purpose property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPurpose() { - return purpose; - } - - /** - * Sets the value of the purpose property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPurpose(String value) { - this.purpose = value; - } - - /** - * Gets the value of the readAccessAuthorization property. - * - * @return - * possible object is - * {@link AccessAuthorizationType } - * - */ - public AccessAuthorizationType getReadAccessAuthorization() { - return readAccessAuthorization; - } - - /** - * Sets the value of the readAccessAuthorization property. - * - * @param value - * allowed object is - * {@link AccessAuthorizationType } - * - */ - public void setReadAccessAuthorization(AccessAuthorizationType value) { - this.readAccessAuthorization = value; - } - - /** - * Gets the value of the updateAccessAuthorization property. - * - * @return - * possible object is - * {@link AccessAuthorizationType } - * - */ - public AccessAuthorizationType getUpdateAccessAuthorization() { - return updateAccessAuthorization; - } - - /** - * Sets the value of the updateAccessAuthorization property. - * - * @param value - * allowed object is - * {@link AccessAuthorizationType } - * - */ - public void setUpdateAccessAuthorization(AccessAuthorizationType value) { - this.updateAccessAuthorization = value; - } - - /** - * Gets the value of the readUserConfirmation property. - * - * @return - * possible object is - * {@link UserConfirmationType } - * - */ - public UserConfirmationType getReadUserConfirmation() { - return readUserConfirmation; - } - - /** - * Sets the value of the readUserConfirmation property. - * - * @param value - * allowed object is - * {@link UserConfirmationType } - * - */ - public void setReadUserConfirmation(UserConfirmationType value) { - this.readUserConfirmation = value; - } - - /** - * Gets the value of the updateUserConfirmation property. - * - * @return - * possible object is - * {@link UserConfirmationType } - * - */ - public UserConfirmationType getUpdateUserConfirmation() { - return updateUserConfirmation; - } - - /** - * Sets the value of the updateUserConfirmation property. - * - * @param value - * allowed object is - * {@link UserConfirmationType } - * - */ - public void setUpdateUserConfirmation(UserConfirmationType value) { - this.updateUserConfirmation = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxCreateResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxCreateResponseType.java deleted file mode 100644 index 16558710..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxCreateResponseType.java +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for InfoboxCreateResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxCreateResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxCreateResponseType") -public class InfoboxCreateResponseType { - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxDeleteRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxDeleteRequestType.java deleted file mode 100644 index 99a342d2..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxDeleteRequestType.java +++ /dev/null @@ -1,88 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for InfoboxDeleteRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxDeleteRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxDeleteRequestType", propOrder = { - "infoboxIdentifier" -}) -public class InfoboxDeleteRequestType { - - @XmlElement(name = "InfoboxIdentifier", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String infoboxIdentifier; - - /** - * Gets the value of the infoboxIdentifier property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInfoboxIdentifier() { - return infoboxIdentifier; - } - - /** - * Sets the value of the infoboxIdentifier property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInfoboxIdentifier(String value) { - this.infoboxIdentifier = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxDeleteResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxDeleteResponseType.java deleted file mode 100644 index 2ca2af9d..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxDeleteResponseType.java +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for InfoboxDeleteResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxDeleteResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxDeleteResponseType") -public class InfoboxDeleteResponseType { - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadDataAssocArrayType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadDataAssocArrayType.java deleted file mode 100644 index 2b410a53..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadDataAssocArrayType.java +++ /dev/null @@ -1,132 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for InfoboxReadDataAssocArrayType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxReadDataAssocArrayType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <element name="Key" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> - * </sequence> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <element name="Pair" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxAssocArrayPairType"/> - * </sequence> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxReadDataAssocArrayType", propOrder = { - "key", - "pair" -}) -public class InfoboxReadDataAssocArrayType { - - @XmlElement(name = "Key") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected List<String> key; - @XmlElement(name = "Pair") - protected List<InfoboxAssocArrayPairType> pair; - - /** - * Gets the value of the key 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 key property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getKey().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getKey() { - if (key == null) { - key = new ArrayList<String>(); - } - return this.key; - } - - /** - * Gets the value of the pair 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 pair property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getPair().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link InfoboxAssocArrayPairType } - * - * - */ - public List<InfoboxAssocArrayPairType> getPair() { - if (pair == null) { - pair = new ArrayList<InfoboxAssocArrayPairType>(); - } - return this.pair; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadParamsAssocArrayType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadParamsAssocArrayType.java deleted file mode 100644 index e9ec5140..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadParamsAssocArrayType.java +++ /dev/null @@ -1,450 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for InfoboxReadParamsAssocArrayType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxReadParamsAssocArrayType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <element name="ReadKeys"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="SearchString" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}WildCardSearchStringType" /> - * <attribute name="UserMakesUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="ReadPairs"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="SearchString" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}WildCardSearchStringType" /> - * <attribute name="UserMakesUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="ValuesAreXMLEntities" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="ReadValue"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Key" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType" /> - * <attribute name="ValueIsXMLEntity" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxReadParamsAssocArrayType", propOrder = { - "readKeys", - "readPairs", - "readValue" -}) -public class InfoboxReadParamsAssocArrayType { - - @XmlElement(name = "ReadKeys") - protected InfoboxReadParamsAssocArrayType.ReadKeys readKeys; - @XmlElement(name = "ReadPairs") - protected InfoboxReadParamsAssocArrayType.ReadPairs readPairs; - @XmlElement(name = "ReadValue") - protected InfoboxReadParamsAssocArrayType.ReadValue readValue; - - /** - * Gets the value of the readKeys property. - * - * @return - * possible object is - * {@link InfoboxReadParamsAssocArrayType.ReadKeys } - * - */ - public InfoboxReadParamsAssocArrayType.ReadKeys getReadKeys() { - return readKeys; - } - - /** - * Sets the value of the readKeys property. - * - * @param value - * allowed object is - * {@link InfoboxReadParamsAssocArrayType.ReadKeys } - * - */ - public void setReadKeys(InfoboxReadParamsAssocArrayType.ReadKeys value) { - this.readKeys = value; - } - - /** - * Gets the value of the readPairs property. - * - * @return - * possible object is - * {@link InfoboxReadParamsAssocArrayType.ReadPairs } - * - */ - public InfoboxReadParamsAssocArrayType.ReadPairs getReadPairs() { - return readPairs; - } - - /** - * Sets the value of the readPairs property. - * - * @param value - * allowed object is - * {@link InfoboxReadParamsAssocArrayType.ReadPairs } - * - */ - public void setReadPairs(InfoboxReadParamsAssocArrayType.ReadPairs value) { - this.readPairs = value; - } - - /** - * Gets the value of the readValue property. - * - * @return - * possible object is - * {@link InfoboxReadParamsAssocArrayType.ReadValue } - * - */ - public InfoboxReadParamsAssocArrayType.ReadValue getReadValue() { - return readValue; - } - - /** - * Sets the value of the readValue property. - * - * @param value - * allowed object is - * {@link InfoboxReadParamsAssocArrayType.ReadValue } - * - */ - public void setReadValue(InfoboxReadParamsAssocArrayType.ReadValue value) { - this.readValue = value; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="SearchString" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}WildCardSearchStringType" /> - * <attribute name="UserMakesUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class ReadKeys { - - @XmlAttribute(name = "SearchString", required = true) - protected String searchString; - @XmlAttribute(name = "UserMakesUnique") - protected Boolean userMakesUnique; - - /** - * Gets the value of the searchString property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSearchString() { - return searchString; - } - - /** - * Sets the value of the searchString property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSearchString(String value) { - this.searchString = value; - } - - /** - * Gets the value of the userMakesUnique property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserMakesUnique() { - if (userMakesUnique == null) { - return false; - } else { - return userMakesUnique; - } - } - - /** - * Sets the value of the userMakesUnique property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserMakesUnique(Boolean value) { - this.userMakesUnique = value; - } - - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="SearchString" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}WildCardSearchStringType" /> - * <attribute name="UserMakesUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="ValuesAreXMLEntities" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class ReadPairs { - - @XmlAttribute(name = "SearchString", required = true) - protected String searchString; - @XmlAttribute(name = "UserMakesUnique") - protected Boolean userMakesUnique; - @XmlAttribute(name = "ValuesAreXMLEntities") - protected Boolean valuesAreXMLEntities; - - /** - * Gets the value of the searchString property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSearchString() { - return searchString; - } - - /** - * Sets the value of the searchString property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSearchString(String value) { - this.searchString = value; - } - - /** - * Gets the value of the userMakesUnique property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserMakesUnique() { - if (userMakesUnique == null) { - return false; - } else { - return userMakesUnique; - } - } - - /** - * Sets the value of the userMakesUnique property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserMakesUnique(Boolean value) { - this.userMakesUnique = value; - } - - /** - * Gets the value of the valuesAreXMLEntities property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isValuesAreXMLEntities() { - if (valuesAreXMLEntities == null) { - return false; - } else { - return valuesAreXMLEntities; - } - } - - /** - * Sets the value of the valuesAreXMLEntities property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setValuesAreXMLEntities(Boolean value) { - this.valuesAreXMLEntities = value; - } - - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Key" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType" /> - * <attribute name="ValueIsXMLEntity" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class ReadValue { - - @XmlAttribute(name = "Key", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String key; - @XmlAttribute(name = "ValueIsXMLEntity") - protected Boolean valueIsXMLEntity; - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the valueIsXMLEntity property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isValueIsXMLEntity() { - if (valueIsXMLEntity == null) { - return false; - } else { - return valueIsXMLEntity; - } - } - - /** - * Sets the value of the valueIsXMLEntity property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setValueIsXMLEntity(Boolean value) { - this.valueIsXMLEntity = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadParamsBinaryFileType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadParamsBinaryFileType.java deleted file mode 100644 index 7d454835..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadParamsBinaryFileType.java +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for InfoboxReadParamsBinaryFileType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxReadParamsBinaryFileType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="ContentIsXMLEntity" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxReadParamsBinaryFileType") -public class InfoboxReadParamsBinaryFileType { - - @XmlAttribute(name = "ContentIsXMLEntity") - protected Boolean contentIsXMLEntity; - - /** - * Gets the value of the contentIsXMLEntity property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isContentIsXMLEntity() { - if (contentIsXMLEntity == null) { - return false; - } else { - return contentIsXMLEntity; - } - } - - /** - * Sets the value of the contentIsXMLEntity property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setContentIsXMLEntity(Boolean value) { - this.contentIsXMLEntity = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadRequestType.java deleted file mode 100644 index cc155ba8..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadRequestType.java +++ /dev/null @@ -1,174 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for InfoboxReadRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxReadRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> - * <choice> - * <element name="BinaryFileParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxReadParamsBinaryFileType"/> - * <element name="AssocArrayParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxReadParamsAssocArrayType"/> - * </choice> - * <element name="BoxSpecificParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyChildrenType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxReadRequestType", propOrder = { - "infoboxIdentifier", - "binaryFileParameters", - "assocArrayParameters", - "boxSpecificParameters" -}) -public class InfoboxReadRequestType { - - @XmlElement(name = "InfoboxIdentifier", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String infoboxIdentifier; - @XmlElement(name = "BinaryFileParameters") - protected InfoboxReadParamsBinaryFileType binaryFileParameters; - @XmlElement(name = "AssocArrayParameters") - protected InfoboxReadParamsAssocArrayType assocArrayParameters; - @XmlElement(name = "BoxSpecificParameters") - protected AnyChildrenType boxSpecificParameters; - - /** - * Gets the value of the infoboxIdentifier property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInfoboxIdentifier() { - return infoboxIdentifier; - } - - /** - * Sets the value of the infoboxIdentifier property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInfoboxIdentifier(String value) { - this.infoboxIdentifier = value; - } - - /** - * Gets the value of the binaryFileParameters property. - * - * @return - * possible object is - * {@link InfoboxReadParamsBinaryFileType } - * - */ - public InfoboxReadParamsBinaryFileType getBinaryFileParameters() { - return binaryFileParameters; - } - - /** - * Sets the value of the binaryFileParameters property. - * - * @param value - * allowed object is - * {@link InfoboxReadParamsBinaryFileType } - * - */ - public void setBinaryFileParameters(InfoboxReadParamsBinaryFileType value) { - this.binaryFileParameters = value; - } - - /** - * Gets the value of the assocArrayParameters property. - * - * @return - * possible object is - * {@link InfoboxReadParamsAssocArrayType } - * - */ - public InfoboxReadParamsAssocArrayType getAssocArrayParameters() { - return assocArrayParameters; - } - - /** - * Sets the value of the assocArrayParameters property. - * - * @param value - * allowed object is - * {@link InfoboxReadParamsAssocArrayType } - * - */ - public void setAssocArrayParameters(InfoboxReadParamsAssocArrayType value) { - this.assocArrayParameters = value; - } - - /** - * Gets the value of the boxSpecificParameters property. - * - * @return - * possible object is - * {@link AnyChildrenType } - * - */ - public AnyChildrenType getBoxSpecificParameters() { - return boxSpecificParameters; - } - - /** - * Sets the value of the boxSpecificParameters property. - * - * @param value - * allowed object is - * {@link AnyChildrenType } - * - */ - public void setBoxSpecificParameters(AnyChildrenType value) { - this.boxSpecificParameters = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadResponseType.java deleted file mode 100644 index 74ed20d6..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxReadResponseType.java +++ /dev/null @@ -1,113 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for InfoboxReadResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxReadResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <element name="BinaryFileData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLContentType"/> - * <element name="AssocArrayData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxReadDataAssocArrayType"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxReadResponseType", propOrder = { - "binaryFileData", - "assocArrayData" -}) -public class InfoboxReadResponseType { - - @XmlElement(name = "BinaryFileData") - protected Base64XMLContentType binaryFileData; - @XmlElement(name = "AssocArrayData") - protected InfoboxReadDataAssocArrayType assocArrayData; - - /** - * Gets the value of the binaryFileData property. - * - * @return - * possible object is - * {@link Base64XMLContentType } - * - */ - public Base64XMLContentType getBinaryFileData() { - return binaryFileData; - } - - /** - * Sets the value of the binaryFileData property. - * - * @param value - * allowed object is - * {@link Base64XMLContentType } - * - */ - public void setBinaryFileData(Base64XMLContentType value) { - this.binaryFileData = value; - } - - /** - * Gets the value of the assocArrayData property. - * - * @return - * possible object is - * {@link InfoboxReadDataAssocArrayType } - * - */ - public InfoboxReadDataAssocArrayType getAssocArrayData() { - return assocArrayData; - } - - /** - * Sets the value of the assocArrayData property. - * - * @param value - * allowed object is - * {@link InfoboxReadDataAssocArrayType } - * - */ - public void setAssocArrayData(InfoboxReadDataAssocArrayType value) { - this.assocArrayData = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxTypeType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxTypeType.java deleted file mode 100644 index b316a512..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxTypeType.java +++ /dev/null @@ -1,74 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for InfoboxTypeType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="InfoboxTypeType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="BinaryFile"/> - * <enumeration value="AssocArray"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "InfoboxTypeType") -@XmlEnum -public enum InfoboxTypeType { - - @XmlEnumValue("BinaryFile") - BINARY_FILE("BinaryFile"), - @XmlEnumValue("AssocArray") - ASSOC_ARRAY("AssocArray"); - private final String value; - - InfoboxTypeType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static InfoboxTypeType fromValue(String v) { - for (InfoboxTypeType c: InfoboxTypeType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateParamsAssocArrayType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateParamsAssocArrayType.java deleted file mode 100644 index c952a6b8..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateParamsAssocArrayType.java +++ /dev/null @@ -1,297 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for InfoboxUpdateParamsAssocArrayType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxUpdateParamsAssocArrayType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <element name="UpdateKey"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="NewKey" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="UpdateValue" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxAssocArrayPairType"/> - * <element name="DeletePair"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxUpdateParamsAssocArrayType", propOrder = { - "updateKey", - "updateValue", - "deletePair" -}) -public class InfoboxUpdateParamsAssocArrayType { - - @XmlElement(name = "UpdateKey") - protected InfoboxUpdateParamsAssocArrayType.UpdateKey updateKey; - @XmlElement(name = "UpdateValue") - protected InfoboxAssocArrayPairType updateValue; - @XmlElement(name = "DeletePair") - protected InfoboxUpdateParamsAssocArrayType.DeletePair deletePair; - - /** - * Gets the value of the updateKey property. - * - * @return - * possible object is - * {@link InfoboxUpdateParamsAssocArrayType.UpdateKey } - * - */ - public InfoboxUpdateParamsAssocArrayType.UpdateKey getUpdateKey() { - return updateKey; - } - - /** - * Sets the value of the updateKey property. - * - * @param value - * allowed object is - * {@link InfoboxUpdateParamsAssocArrayType.UpdateKey } - * - */ - public void setUpdateKey(InfoboxUpdateParamsAssocArrayType.UpdateKey value) { - this.updateKey = value; - } - - /** - * Gets the value of the updateValue property. - * - * @return - * possible object is - * {@link InfoboxAssocArrayPairType } - * - */ - public InfoboxAssocArrayPairType getUpdateValue() { - return updateValue; - } - - /** - * Sets the value of the updateValue property. - * - * @param value - * allowed object is - * {@link InfoboxAssocArrayPairType } - * - */ - public void setUpdateValue(InfoboxAssocArrayPairType value) { - this.updateValue = value; - } - - /** - * Gets the value of the deletePair property. - * - * @return - * possible object is - * {@link InfoboxUpdateParamsAssocArrayType.DeletePair } - * - */ - public InfoboxUpdateParamsAssocArrayType.DeletePair getDeletePair() { - return deletePair; - } - - /** - * Sets the value of the deletePair property. - * - * @param value - * allowed object is - * {@link InfoboxUpdateParamsAssocArrayType.DeletePair } - * - */ - public void setDeletePair(InfoboxUpdateParamsAssocArrayType.DeletePair value) { - this.deletePair = value; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class DeletePair { - - @XmlAttribute(name = "Key", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String key; - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="NewKey" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class UpdateKey { - - @XmlAttribute(name = "Key", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String key; - @XmlAttribute(name = "NewKey", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String newKey; - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the newKey property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNewKey() { - return newKey; - } - - /** - * Sets the value of the newKey property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNewKey(String value) { - this.newKey = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateRequestType.java deleted file mode 100644 index d7d3262a..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateRequestType.java +++ /dev/null @@ -1,174 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for InfoboxUpdateRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxUpdateRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> - * <choice> - * <element name="BinaryFileParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLContentType"/> - * <element name="AssocArrayParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxUpdateParamsAssocArrayType"/> - * </choice> - * <element name="BoxSpecificParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyChildrenType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxUpdateRequestType", propOrder = { - "infoboxIdentifier", - "binaryFileParameters", - "assocArrayParameters", - "boxSpecificParameters" -}) -public class InfoboxUpdateRequestType { - - @XmlElement(name = "InfoboxIdentifier", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String infoboxIdentifier; - @XmlElement(name = "BinaryFileParameters") - protected Base64XMLContentType binaryFileParameters; - @XmlElement(name = "AssocArrayParameters") - protected InfoboxUpdateParamsAssocArrayType assocArrayParameters; - @XmlElement(name = "BoxSpecificParameters") - protected AnyChildrenType boxSpecificParameters; - - /** - * Gets the value of the infoboxIdentifier property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInfoboxIdentifier() { - return infoboxIdentifier; - } - - /** - * Sets the value of the infoboxIdentifier property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInfoboxIdentifier(String value) { - this.infoboxIdentifier = value; - } - - /** - * Gets the value of the binaryFileParameters property. - * - * @return - * possible object is - * {@link Base64XMLContentType } - * - */ - public Base64XMLContentType getBinaryFileParameters() { - return binaryFileParameters; - } - - /** - * Sets the value of the binaryFileParameters property. - * - * @param value - * allowed object is - * {@link Base64XMLContentType } - * - */ - public void setBinaryFileParameters(Base64XMLContentType value) { - this.binaryFileParameters = value; - } - - /** - * Gets the value of the assocArrayParameters property. - * - * @return - * possible object is - * {@link InfoboxUpdateParamsAssocArrayType } - * - */ - public InfoboxUpdateParamsAssocArrayType getAssocArrayParameters() { - return assocArrayParameters; - } - - /** - * Sets the value of the assocArrayParameters property. - * - * @param value - * allowed object is - * {@link InfoboxUpdateParamsAssocArrayType } - * - */ - public void setAssocArrayParameters(InfoboxUpdateParamsAssocArrayType value) { - this.assocArrayParameters = value; - } - - /** - * Gets the value of the boxSpecificParameters property. - * - * @return - * possible object is - * {@link AnyChildrenType } - * - */ - public AnyChildrenType getBoxSpecificParameters() { - return boxSpecificParameters; - } - - /** - * Sets the value of the boxSpecificParameters property. - * - * @param value - * allowed object is - * {@link AnyChildrenType } - * - */ - public void setBoxSpecificParameters(AnyChildrenType value) { - this.boxSpecificParameters = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateResponseType.java deleted file mode 100644 index 3f956cfb..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/InfoboxUpdateResponseType.java +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for InfoboxUpdateResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InfoboxUpdateResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InfoboxUpdateResponseType") -public class InfoboxUpdateResponseType { - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ManifestRefsCheckResultInfoType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ManifestRefsCheckResultInfoType.java deleted file mode 100644 index 37b3fc92..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ManifestRefsCheckResultInfoType.java +++ /dev/null @@ -1,109 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlElementRefs; -import javax.xml.bind.annotation.XmlMixed; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for ManifestRefsCheckResultInfoType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ManifestRefsCheckResultInfoType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="ReferringSigReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> - * <element name="FailedReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" maxOccurs="unbounded" minOccurs="0"/> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ManifestRefsCheckResultInfoType", propOrder = { - "content" -}) -public class ManifestRefsCheckResultInfoType { - - @XmlElementRefs({ - @XmlElementRef(name = "FailedReference", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class), - @XmlElementRef(name = "ReferringSigReference", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class) - }) - @XmlMixed - @XmlAnyElement(lax = true) - protected List<Object> 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 Element } - * {@link String } - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * {@link Object } - * - * - */ - public List<Object> getContent() { - if (content == null) { - content = new ArrayList<Object>(); - } - return this.content; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ManifestRefsCheckResultType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ManifestRefsCheckResultType.java deleted file mode 100644 index 9c36a603..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ManifestRefsCheckResultType.java +++ /dev/null @@ -1,116 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for ManifestRefsCheckResultType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ManifestRefsCheckResultType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> - * <element name="Info" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ManifestRefsCheckResultInfoType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ManifestRefsCheckResultType", propOrder = { - "code", - "info" -}) -public class ManifestRefsCheckResultType { - - @XmlElement(name = "Code", required = true) - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger code; - @XmlElement(name = "Info", required = true) - protected ManifestRefsCheckResultInfoType info; - - /** - * Gets the value of the code property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getCode() { - return code; - } - - /** - * Sets the value of the code property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setCode(BigInteger value) { - this.code = value; - } - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link ManifestRefsCheckResultInfoType } - * - */ - public ManifestRefsCheckResultInfoType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link ManifestRefsCheckResultInfoType } - * - */ - public void setInfo(ManifestRefsCheckResultInfoType value) { - this.info = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/MetaInfoType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/MetaInfoType.java deleted file mode 100644 index 50d81319..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/MetaInfoType.java +++ /dev/null @@ -1,152 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for MetaInfoType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="MetaInfoType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="MimeType" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MimeTypeType"/> - * <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MetaInfoType", propOrder = { - "mimeType", - "description", - "any" -}) -public class MetaInfoType { - - @XmlElement(name = "MimeType", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String mimeType; - @XmlElement(name = "Description") - protected String description; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDescription(String value) { - this.description = value; - } - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/NullOperationRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/NullOperationRequestType.java deleted file mode 100644 index 3df4df31..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/NullOperationRequestType.java +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for NullOperationRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="NullOperationRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NullOperationRequestType") -public class NullOperationRequestType { - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/NullOperationResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/NullOperationResponseType.java deleted file mode 100644 index 84bade8d..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/NullOperationResponseType.java +++ /dev/null @@ -1,53 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for NullOperationResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="NullOperationResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NullOperationResponseType") -public class NullOperationResponseType { - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ObjectFactory.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ObjectFactory.java deleted file mode 100644 index 67ce0e2a..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ObjectFactory.java +++ /dev/null @@ -1,1265 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; -import org.w3._2000._09.xmldsig_.KeyInfoType; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the at.buergerkarte.namespaces.securitylayer._1 package. - * <p>An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _DecryptXMLResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "DecryptXMLResponse"); - private final static QName _GetPropertiesResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "GetPropertiesResponse"); - private final static QName _IdentityLinkDomainIdentifier_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "IdentityLinkDomainIdentifier"); - private final static QName _InfoboxDeleteResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxDeleteResponse"); - private final static QName _EncryptCMSResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "EncryptCMSResponse"); - private final static QName _VerifyXMLSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyXMLSignatureResponse"); - private final static QName _InfoboxUpdateRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxUpdateRequest"); - private final static QName _DecryptXMLRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "DecryptXMLRequest"); - private final static QName _ErrorResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "ErrorResponse"); - private final static QName _CreateXMLSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateXMLSignatureRequest"); - private final static QName _InfoboxCreateResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxCreateResponse"); - private final static QName _VerifyHashRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyHashRequest"); - private final static QName _GetStatusRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "GetStatusRequest"); - private final static QName _VerifyXMLSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyXMLSignatureRequest"); - private final static QName _InfoboxAvailableRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxAvailableRequest"); - private final static QName _VerifyHashResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyHashResponse"); - private final static QName _InfoboxUpdateResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxUpdateResponse"); - private final static QName _InfoboxDeleteRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxDeleteRequest"); - private final static QName _QualifiedCertificate_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "QualifiedCertificate"); - private final static QName _DecryptCMSRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "DecryptCMSRequest"); - private final static QName _NullOperationResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "NullOperationResponse"); - private final static QName _InfoboxCreateRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxCreateRequest"); - private final static QName _CreateHashResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateHashResponse"); - private final static QName _InfoboxReadRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxReadRequest"); - private final static QName _DecryptCMSResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "DecryptCMSResponse"); - private final static QName _EncryptCMSRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "EncryptCMSRequest"); - private final static QName _EncryptXMLResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "EncryptXMLResponse"); - private final static QName _CreateHashRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateHashRequest"); - private final static QName _VerifyCMSSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyCMSSignatureRequest"); - private final static QName _InfoboxReadResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxReadResponse"); - private final static QName _NullOperationRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "NullOperationRequest"); - private final static QName _GetStatusResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "GetStatusResponse"); - private final static QName _CreateCMSSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateCMSSignatureRequest"); - private final static QName _VerifyCMSSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyCMSSignatureResponse"); - private final static QName _CreateCMSSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateCMSSignatureResponse"); - private final static QName _InfoboxAvailableResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxAvailableResponse"); - private final static QName _CreateXMLSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateXMLSignatureResponse"); - private final static QName _ManifestRefsCheckResultInfoTypeReferringSigReference_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "ReferringSigReference"); - private final static QName _ManifestRefsCheckResultInfoTypeFailedReference_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "FailedReference"); - private final static QName _VerifyCMSSignatureResponseTypeSignatureCheck_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "SignatureCheck"); - private final static QName _VerifyCMSSignatureResponseTypeCertificateCheck_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CertificateCheck"); - private final static QName _VerifyCMSSignatureResponseTypeSignerInfo_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "SignerInfo"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.buergerkarte.namespaces.securitylayer._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link ToBeEncryptedType.ElementContent } - * - */ - public ToBeEncryptedType.ElementContent createToBeEncryptedTypeElementContent() { - return new ToBeEncryptedType.ElementContent(); - } - - /** - * Create an instance of {@link InfoboxReadDataAssocArrayType } - * - */ - public InfoboxReadDataAssocArrayType createInfoboxReadDataAssocArrayType() { - return new InfoboxReadDataAssocArrayType(); - } - - /** - * Create an instance of {@link DecryptXMLRequestType } - * - */ - public DecryptXMLRequestType createDecryptXMLRequestType() { - return new DecryptXMLRequestType(); - } - - /** - * Create an instance of {@link Base64XMLLocRefOptRefContentType } - * - */ - public Base64XMLLocRefOptRefContentType createBase64XMLLocRefOptRefContentType() { - return new Base64XMLLocRefOptRefContentType(); - } - - /** - * Create an instance of {@link InfoboxUpdateRequestType } - * - */ - public InfoboxUpdateRequestType createInfoboxUpdateRequestType() { - return new InfoboxUpdateRequestType(); - } - - /** - * Create an instance of {@link CreateXMLSignatureResponseType } - * - */ - public CreateXMLSignatureResponseType createCreateXMLSignatureResponseType() { - return new CreateXMLSignatureResponseType(); - } - - /** - * Create an instance of {@link DecryptCMSRequestType } - * - */ - public DecryptCMSRequestType createDecryptCMSRequestType() { - return new DecryptCMSRequestType(); - } - - /** - * Create an instance of {@link VerificationResultType } - * - */ - public VerificationResultType createVerificationResultType() { - return new VerificationResultType(); - } - - /** - * Create an instance of {@link VerifyHashResponseType } - * - */ - public VerifyHashResponseType createVerifyHashResponseType() { - return new VerifyHashResponseType(); - } - - /** - * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadValue } - * - */ - public InfoboxReadParamsAssocArrayType.ReadValue createInfoboxReadParamsAssocArrayTypeReadValue() { - return new InfoboxReadParamsAssocArrayType.ReadValue(); - } - - /** - * Create an instance of {@link ToBeEncryptedType } - * - */ - public ToBeEncryptedType createToBeEncryptedType() { - return new ToBeEncryptedType(); - } - - /** - * Create an instance of {@link DecryptCMSResponseType } - * - */ - public DecryptCMSResponseType createDecryptCMSResponseType() { - return new DecryptCMSResponseType(); - } - - /** - * Create an instance of {@link ManifestRefsCheckResultType } - * - */ - public ManifestRefsCheckResultType createManifestRefsCheckResultType() { - return new ManifestRefsCheckResultType(); - } - - /** - * Create an instance of {@link XMLRecipientPublicKeyType } - * - */ - public XMLRecipientPublicKeyType createXMLRecipientPublicKeyType() { - return new XMLRecipientPublicKeyType(); - } - - /** - * Create an instance of {@link InfoboxUpdateResponseType } - * - */ - public InfoboxUpdateResponseType createInfoboxUpdateResponseType() { - return new InfoboxUpdateResponseType(); - } - - /** - * Create an instance of {@link SignatureInfoCreationType } - * - */ - public SignatureInfoCreationType createSignatureInfoCreationType() { - return new SignatureInfoCreationType(); - } - - /** - * Create an instance of {@link HashDataType } - * - */ - public HashDataType createHashDataType() { - return new HashDataType(); - } - - /** - * Create an instance of {@link GetStatusRequestType } - * - */ - public GetStatusRequestType createGetStatusRequestType() { - return new GetStatusRequestType(); - } - - /** - * Create an instance of {@link AnyChildrenType } - * - */ - public AnyChildrenType createAnyChildrenType() { - return new AnyChildrenType(); - } - - /** - * Create an instance of {@link VerifyXMLSignatureResponseType } - * - */ - public VerifyXMLSignatureResponseType createVerifyXMLSignatureResponseType() { - return new VerifyXMLSignatureResponseType(); - } - - /** - * Create an instance of {@link DecryptXMLResponseType.DecryptedBinaryData } - * - */ - public DecryptXMLResponseType.DecryptedBinaryData createDecryptXMLResponseTypeDecryptedBinaryData() { - return new DecryptXMLResponseType.DecryptedBinaryData(); - } - - /** - * Create an instance of {@link GetStatusResponseType } - * - */ - public GetStatusResponseType createGetStatusResponseType() { - return new GetStatusResponseType(); - } - - /** - * Create an instance of {@link Base64XMLOptRefContentType } - * - */ - public Base64XMLOptRefContentType createBase64XMLOptRefContentType() { - return new Base64XMLOptRefContentType(); - } - - /** - * Create an instance of {@link InfoboxDeleteResponseType } - * - */ - public InfoboxDeleteResponseType createInfoboxDeleteResponseType() { - return new InfoboxDeleteResponseType(); - } - - /** - * Create an instance of {@link XMLToBeEncryptedNewType } - * - */ - public XMLToBeEncryptedNewType createXMLToBeEncryptedNewType() { - return new XMLToBeEncryptedNewType(); - } - - /** - * Create an instance of {@link CreateCMSSignatureResponseType } - * - */ - public CreateCMSSignatureResponseType createCreateCMSSignatureResponseType() { - return new CreateCMSSignatureResponseType(); - } - - /** - * Create an instance of {@link QualifiedBoxIdentifierType } - * - */ - public QualifiedBoxIdentifierType createQualifiedBoxIdentifierType() { - return new QualifiedBoxIdentifierType(); - } - - /** - * Create an instance of {@link VerifyHashInfoRequestType } - * - */ - public VerifyHashInfoRequestType createVerifyHashInfoRequestType() { - return new VerifyHashInfoRequestType(); - } - - /** - * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType } - * - */ - public at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType createSignatureLocationType() { - return new at.gv.egiz.slbinding.impl.SignatureLocationType(); - } - - /** - * Create an instance of {@link EncryptCMSResponseType } - * - */ - public EncryptCMSResponseType createEncryptCMSResponseType() { - return new EncryptCMSResponseType(); - } - - /** - * Create an instance of {@link DataObjectInfoType } - * - */ - public DataObjectInfoType createDataObjectInfoType() { - return new DataObjectInfoType(); - } - - /** - * Create an instance of {@link CMSToBeEncryptedType } - * - */ - public CMSToBeEncryptedType createCMSToBeEncryptedType() { - return new CMSToBeEncryptedType(); - } - - /** - * Create an instance of {@link InfoboxCreateResponseType } - * - */ - public InfoboxCreateResponseType createInfoboxCreateResponseType() { - return new InfoboxCreateResponseType(); - } - - /** - * Create an instance of {@link EncryptionInfoType } - * - */ - public EncryptionInfoType createEncryptionInfoType() { - return new EncryptionInfoType(); - } - - /** - * Create an instance of {@link CMSDataObjectOptionalMetaType } - * - */ - public CMSDataObjectOptionalMetaType createCMSDataObjectOptionalMetaType() { - return new CMSDataObjectOptionalMetaType(); - } - - /** - * Create an instance of {@link InfoboxReadRequestType } - * - */ - public InfoboxReadRequestType createInfoboxReadRequestType() { - return new InfoboxReadRequestType(); - } - - /** - * Create an instance of {@link Base64OptRefContentType } - * - */ - public Base64OptRefContentType createBase64OptRefContentType() { - return new Base64OptRefContentType(); - } - - /** - * Create an instance of {@link CreateHashInfoRequestType } - * - */ - public CreateHashInfoRequestType createCreateHashInfoRequestType() { - return new CreateHashInfoRequestType(); - } - - /** - * Create an instance of {@link NullOperationRequestType } - * - */ - public NullOperationRequestType createNullOperationRequestType() { - return new NullOperationRequestType(); - } - - /** - * Create an instance of {@link VerifyHashRequestType } - * - */ - public VerifyHashRequestType createVerifyHashRequestType() { - return new VerifyHashRequestType(); - } - - /** - * Create an instance of {@link InfoboxReadParamsBinaryFileType } - * - */ - public InfoboxReadParamsBinaryFileType createInfoboxReadParamsBinaryFileType() { - return new InfoboxReadParamsBinaryFileType(); - } - - /** - * Create an instance of {@link CMSDataObjectRequiredMetaType } - * - */ - public CMSDataObjectRequiredMetaType createCMSDataObjectRequiredMetaType() { - return new CMSDataObjectRequiredMetaType(); - } - - /** - * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType } - * - */ - public at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType createTransformsInfoType() { - return new at.gv.egiz.slbinding.impl.TransformsInfoType(); - } - - /** - * Create an instance of {@link Base64XMLContentType } - * - */ - public Base64XMLContentType createBase64XMLContentType() { - return new Base64XMLContentType(); - } - - /** - * Create an instance of {@link CreateXMLSignatureRequestType } - * - */ - public CreateXMLSignatureRequestType createCreateXMLSignatureRequestType() { - return new CreateXMLSignatureRequestType(); - } - - /** - * Create an instance of {@link VerifyCMSSignatureRequestType } - * - */ - public VerifyCMSSignatureRequestType createVerifyCMSSignatureRequestType() { - return new VerifyCMSSignatureRequestType(); - } - - /** - * Create an instance of {@link InfoboxUpdateParamsAssocArrayType } - * - */ - public InfoboxUpdateParamsAssocArrayType createInfoboxUpdateParamsAssocArrayType() { - return new InfoboxUpdateParamsAssocArrayType(); - } - - /** - * Create an instance of {@link VerifyCMSSignatureResponseType } - * - */ - public VerifyCMSSignatureResponseType createVerifyCMSSignatureResponseType() { - return new VerifyCMSSignatureResponseType(); - } - - /** - * Create an instance of {@link BindingType } - * - */ - public BindingType createBindingType() { - return new BindingType(); - } - - /** - * Create an instance of {@link UserConfirmationType } - * - */ - public UserConfirmationType createUserConfirmationType() { - return new UserConfirmationType(); - } - - /** - * Create an instance of {@link ToBeEncryptedType.Element } - * - */ - public ToBeEncryptedType.Element createToBeEncryptedTypeElement() { - return new ToBeEncryptedType.Element(); - } - - /** - * Create an instance of {@link Base64ContentType } - * - */ - public Base64ContentType createBase64ContentType() { - return new Base64ContentType(); - } - - /** - * Create an instance of {@link CreateCMSSignatureRequestType } - * - */ - public CreateCMSSignatureRequestType createCreateCMSSignatureRequestType() { - return new CreateCMSSignatureRequestType(); - } - - /** - * Create an instance of {@link InfoboxReadParamsAssocArrayType } - * - */ - public InfoboxReadParamsAssocArrayType createInfoboxReadParamsAssocArrayType() { - return new InfoboxReadParamsAssocArrayType(); - } - - /** - * Create an instance of {@link AnyMixedChildrenType } - * - */ - public AnyMixedChildrenType createAnyMixedChildrenType() { - return new AnyMixedChildrenType(); - } - - /** - * Create an instance of {@link SignatureInfoVerificationType } - * - */ - public SignatureInfoVerificationType createSignatureInfoVerificationType() { - return new SignatureInfoVerificationType(); - } - - /** - * Create an instance of {@link CreateHashInfoResponseType } - * - */ - public CreateHashInfoResponseType createCreateHashInfoResponseType() { - return new CreateHashInfoResponseType(); - } - - /** - * Create an instance of {@link ErrorResponseType } - * - */ - public ErrorResponseType createErrorResponseType() { - return new ErrorResponseType(); - } - - /** - * Create an instance of {@link InfoboxUpdateParamsAssocArrayType.DeletePair } - * - */ - public InfoboxUpdateParamsAssocArrayType.DeletePair createInfoboxUpdateParamsAssocArrayTypeDeletePair() { - return new InfoboxUpdateParamsAssocArrayType.DeletePair(); - } - - /** - * Create an instance of {@link EncryptionInfoType.EncryptedKeyLocation } - * - */ - public EncryptionInfoType.EncryptedKeyLocation createEncryptionInfoTypeEncryptedKeyLocation() { - return new EncryptionInfoType.EncryptedKeyLocation(); - } - - /** - * Create an instance of {@link InfoboxAvailableRequestType } - * - */ - public InfoboxAvailableRequestType createInfoboxAvailableRequestType() { - return new InfoboxAvailableRequestType(); - } - - /** - * Create an instance of {@link CMSRecipientPublicKeyType } - * - */ - public CMSRecipientPublicKeyType createCMSRecipientPublicKeyType() { - return new CMSRecipientPublicKeyType(); - } - - /** - * Create an instance of {@link EncryptXMLRequestType } - * - */ - public EncryptXMLRequestType createEncryptXMLRequestType() { - return new EncryptXMLRequestType(); - } - - /** - * Create an instance of {@link ReferencesCheckResultInfoType } - * - */ - public ReferencesCheckResultInfoType createReferencesCheckResultInfoType() { - return new ReferencesCheckResultInfoType(); - } - - /** - * Create an instance of {@link GetPropertiesRequestType } - * - */ - public GetPropertiesRequestType createGetPropertiesRequestType() { - return new GetPropertiesRequestType(); - } - - /** - * Create an instance of {@link AccessAuthorizationType } - * - */ - public AccessAuthorizationType createAccessAuthorizationType() { - return new AccessAuthorizationType(); - } - - /** - * Create an instance of {@link MetaInfoType } - * - */ - public MetaInfoType createMetaInfoType() { - return new MetaInfoType(); - } - - /** - * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadKeys } - * - */ - public InfoboxReadParamsAssocArrayType.ReadKeys createInfoboxReadParamsAssocArrayTypeReadKeys() { - return new InfoboxReadParamsAssocArrayType.ReadKeys(); - } - - /** - * Create an instance of {@link InfoboxCreateRequestType } - * - */ - public InfoboxCreateRequestType createInfoboxCreateRequestType() { - return new InfoboxCreateRequestType(); - } - - /** - * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadPairs } - * - */ - public InfoboxReadParamsAssocArrayType.ReadPairs createInfoboxReadParamsAssocArrayTypeReadPairs() { - return new InfoboxReadParamsAssocArrayType.ReadPairs(); - } - - /** - * Create an instance of {@link VerifyXMLSignatureRequestType } - * - */ - public VerifyXMLSignatureRequestType createVerifyXMLSignatureRequestType() { - return new VerifyXMLSignatureRequestType(); - } - - /** - * Create an instance of {@link EncryptedDataType } - * - */ - public EncryptedDataType createEncryptedDataType() { - return new EncryptedDataType(); - } - - /** - * Create an instance of {@link ReferencesCheckResultType } - * - */ - public ReferencesCheckResultType createReferencesCheckResultType() { - return new ReferencesCheckResultType(); - } - - /** - * Create an instance of {@link InfoboxAvailableResponseType } - * - */ - public InfoboxAvailableResponseType createInfoboxAvailableResponseType() { - return new InfoboxAvailableResponseType(); - } - - /** - * Create an instance of {@link XMLToBeEncryptedNewContentType } - * - */ - public XMLToBeEncryptedNewContentType createXMLToBeEncryptedNewContentType() { - return new XMLToBeEncryptedNewContentType(); - } - - /** - * Create an instance of {@link RequesterIDType } - * - */ - public RequesterIDType createRequesterIDType() { - return new RequesterIDType(); - } - - /** - * Create an instance of {@link EncryptXMLResponseType.EncryptionEnvironment } - * - */ - public EncryptXMLResponseType.EncryptionEnvironment createEncryptXMLResponseTypeEncryptionEnvironment() { - return new EncryptXMLResponseType.EncryptionEnvironment(); - } - - /** - * Create an instance of {@link CMSEncryptedContentType } - * - */ - public CMSEncryptedContentType createCMSEncryptedContentType() { - return new CMSEncryptedContentType(); - } - - /** - * Create an instance of {@link CheckResultType } - * - */ - public CheckResultType createCheckResultType() { - return new CheckResultType(); - } - - /** - * Create an instance of {@link Base64XMLLocRefContentType } - * - */ - public Base64XMLLocRefContentType createBase64XMLLocRefContentType() { - return new Base64XMLLocRefContentType(); - } - - /** - * Create an instance of {@link InfoboxReadResponseType } - * - */ - public InfoboxReadResponseType createInfoboxReadResponseType() { - return new InfoboxReadResponseType(); - } - - /** - * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } - * - */ - public at.buergerkarte.namespaces.securitylayer._1.XMLContentType createXMLContentType() { - return new at.gv.egiz.slbinding.impl.XMLContentType(); - } - - /** - * Create an instance of {@link EncryptXMLRequest } - * - */ - public EncryptXMLRequest createEncryptXMLRequest() { - return new EncryptXMLRequest(); - } - - /** - * Create an instance of {@link InfoboxDeleteRequestType } - * - */ - public InfoboxDeleteRequestType createInfoboxDeleteRequestType() { - return new InfoboxDeleteRequestType(); - } - - /** - * Create an instance of {@link CreateHashRequestType } - * - */ - public CreateHashRequestType createCreateHashRequestType() { - return new CreateHashRequestType(); - } - - /** - * Create an instance of {@link InfoboxAssocArrayPairType } - * - */ - public InfoboxAssocArrayPairType createInfoboxAssocArrayPairType() { - return new InfoboxAssocArrayPairType(); - } - - /** - * Create an instance of {@link DataObjectAssociationType } - * - */ - public DataObjectAssociationType createDataObjectAssociationType() { - return new DataObjectAssociationType(); - } - - /** - * Create an instance of {@link InfoboxUpdateParamsAssocArrayType.UpdateKey } - * - */ - public InfoboxUpdateParamsAssocArrayType.UpdateKey createInfoboxUpdateParamsAssocArrayTypeUpdateKey() { - return new InfoboxUpdateParamsAssocArrayType.UpdateKey(); - } - - /** - * Create an instance of {@link GetPropertiesResponseType } - * - */ - public GetPropertiesResponseType createGetPropertiesResponseType() { - return new GetPropertiesResponseType(); - } - - /** - * Create an instance of {@link GetPropertiesRequest } - * - */ - public GetPropertiesRequest createGetPropertiesRequest() { - return new GetPropertiesRequest(); - } - - /** - * Create an instance of {@link ManifestRefsCheckResultInfoType } - * - */ - public ManifestRefsCheckResultInfoType createManifestRefsCheckResultInfoType() { - return new ManifestRefsCheckResultInfoType(); - } - - /** - * Create an instance of {@link DecryptXMLResponseType } - * - */ - public DecryptXMLResponseType createDecryptXMLResponseType() { - return new DecryptXMLResponseType(); - } - - /** - * Create an instance of {@link CreateHashResponseType } - * - */ - public CreateHashResponseType createCreateHashResponseType() { - return new CreateHashResponseType(); - } - - /** - * Create an instance of {@link EncryptCMSRequestType } - * - */ - public EncryptCMSRequestType createEncryptCMSRequestType() { - return new EncryptCMSRequestType(); - } - - /** - * Create an instance of {@link Base64XMLLocRefReqRefContentType } - * - */ - public Base64XMLLocRefReqRefContentType createBase64XMLLocRefReqRefContentType() { - return new Base64XMLLocRefReqRefContentType(); - } - - /** - * Create an instance of {@link NullOperationResponseType } - * - */ - public NullOperationResponseType createNullOperationResponseType() { - return new NullOperationResponseType(); - } - - /** - * Create an instance of {@link EncryptXMLResponseType } - * - */ - public EncryptXMLResponseType createEncryptXMLResponseType() { - return new EncryptXMLResponseType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DecryptXMLResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptXMLResponse") - public JAXBElement<DecryptXMLResponseType> createDecryptXMLResponse(DecryptXMLResponseType value) { - return new JAXBElement<DecryptXMLResponseType>(_DecryptXMLResponse_QNAME, DecryptXMLResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link GetPropertiesResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetPropertiesResponse") - public JAXBElement<GetPropertiesResponseType> createGetPropertiesResponse(GetPropertiesResponseType value) { - return new JAXBElement<GetPropertiesResponseType>(_GetPropertiesResponse_QNAME, GetPropertiesResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "IdentityLinkDomainIdentifier") - public JAXBElement<String> createIdentityLinkDomainIdentifier(String value) { - return new JAXBElement<String>(_IdentityLinkDomainIdentifier_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxDeleteResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxDeleteResponse") - public JAXBElement<InfoboxDeleteResponseType> createInfoboxDeleteResponse(InfoboxDeleteResponseType value) { - return new JAXBElement<InfoboxDeleteResponseType>(_InfoboxDeleteResponse_QNAME, InfoboxDeleteResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EncryptCMSResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptCMSResponse") - public JAXBElement<EncryptCMSResponseType> createEncryptCMSResponse(EncryptCMSResponseType value) { - return new JAXBElement<EncryptCMSResponseType>(_EncryptCMSResponse_QNAME, EncryptCMSResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VerifyXMLSignatureResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyXMLSignatureResponse") - public JAXBElement<VerifyXMLSignatureResponseType> createVerifyXMLSignatureResponse(VerifyXMLSignatureResponseType value) { - return new JAXBElement<VerifyXMLSignatureResponseType>(_VerifyXMLSignatureResponse_QNAME, VerifyXMLSignatureResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxUpdateRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxUpdateRequest") - public JAXBElement<InfoboxUpdateRequestType> createInfoboxUpdateRequest(InfoboxUpdateRequestType value) { - return new JAXBElement<InfoboxUpdateRequestType>(_InfoboxUpdateRequest_QNAME, InfoboxUpdateRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DecryptXMLRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptXMLRequest") - public JAXBElement<DecryptXMLRequestType> createDecryptXMLRequest(DecryptXMLRequestType value) { - return new JAXBElement<DecryptXMLRequestType>(_DecryptXMLRequest_QNAME, DecryptXMLRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ErrorResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "ErrorResponse") - public JAXBElement<ErrorResponseType> createErrorResponse(ErrorResponseType value) { - return new JAXBElement<ErrorResponseType>(_ErrorResponse_QNAME, ErrorResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CreateXMLSignatureRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateXMLSignatureRequest") - public JAXBElement<CreateXMLSignatureRequestType> createCreateXMLSignatureRequest(CreateXMLSignatureRequestType value) { - return new JAXBElement<CreateXMLSignatureRequestType>(_CreateXMLSignatureRequest_QNAME, CreateXMLSignatureRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxCreateResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxCreateResponse") - public JAXBElement<InfoboxCreateResponseType> createInfoboxCreateResponse(InfoboxCreateResponseType value) { - return new JAXBElement<InfoboxCreateResponseType>(_InfoboxCreateResponse_QNAME, InfoboxCreateResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VerifyHashRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyHashRequest") - public JAXBElement<VerifyHashRequestType> createVerifyHashRequest(VerifyHashRequestType value) { - return new JAXBElement<VerifyHashRequestType>(_VerifyHashRequest_QNAME, VerifyHashRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetStatusRequest") - public JAXBElement<GetStatusRequestType> createGetStatusRequest(GetStatusRequestType value) { - return new JAXBElement<GetStatusRequestType>(_GetStatusRequest_QNAME, GetStatusRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VerifyXMLSignatureRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyXMLSignatureRequest") - public JAXBElement<VerifyXMLSignatureRequestType> createVerifyXMLSignatureRequest(VerifyXMLSignatureRequestType value) { - return new JAXBElement<VerifyXMLSignatureRequestType>(_VerifyXMLSignatureRequest_QNAME, VerifyXMLSignatureRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxAvailableRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxAvailableRequest") - public JAXBElement<InfoboxAvailableRequestType> createInfoboxAvailableRequest(InfoboxAvailableRequestType value) { - return new JAXBElement<InfoboxAvailableRequestType>(_InfoboxAvailableRequest_QNAME, InfoboxAvailableRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VerifyHashResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyHashResponse") - public JAXBElement<VerifyHashResponseType> createVerifyHashResponse(VerifyHashResponseType value) { - return new JAXBElement<VerifyHashResponseType>(_VerifyHashResponse_QNAME, VerifyHashResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxUpdateResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxUpdateResponse") - public JAXBElement<InfoboxUpdateResponseType> createInfoboxUpdateResponse(InfoboxUpdateResponseType value) { - return new JAXBElement<InfoboxUpdateResponseType>(_InfoboxUpdateResponse_QNAME, InfoboxUpdateResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxDeleteRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxDeleteRequest") - public JAXBElement<InfoboxDeleteRequestType> createInfoboxDeleteRequest(InfoboxDeleteRequestType value) { - return new JAXBElement<InfoboxDeleteRequestType>(_InfoboxDeleteRequest_QNAME, InfoboxDeleteRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "QualifiedCertificate") - public JAXBElement<Object> createQualifiedCertificate(Object value) { - return new JAXBElement<Object>(_QualifiedCertificate_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DecryptCMSRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptCMSRequest") - public JAXBElement<DecryptCMSRequestType> createDecryptCMSRequest(DecryptCMSRequestType value) { - return new JAXBElement<DecryptCMSRequestType>(_DecryptCMSRequest_QNAME, DecryptCMSRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NullOperationResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "NullOperationResponse") - public JAXBElement<NullOperationResponseType> createNullOperationResponse(NullOperationResponseType value) { - return new JAXBElement<NullOperationResponseType>(_NullOperationResponse_QNAME, NullOperationResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxCreateRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxCreateRequest") - public JAXBElement<InfoboxCreateRequestType> createInfoboxCreateRequest(InfoboxCreateRequestType value) { - return new JAXBElement<InfoboxCreateRequestType>(_InfoboxCreateRequest_QNAME, InfoboxCreateRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CreateHashResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateHashResponse") - public JAXBElement<CreateHashResponseType> createCreateHashResponse(CreateHashResponseType value) { - return new JAXBElement<CreateHashResponseType>(_CreateHashResponse_QNAME, CreateHashResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxReadRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxReadRequest") - public JAXBElement<InfoboxReadRequestType> createInfoboxReadRequest(InfoboxReadRequestType value) { - return new JAXBElement<InfoboxReadRequestType>(_InfoboxReadRequest_QNAME, InfoboxReadRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DecryptCMSResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptCMSResponse") - public JAXBElement<DecryptCMSResponseType> createDecryptCMSResponse(DecryptCMSResponseType value) { - return new JAXBElement<DecryptCMSResponseType>(_DecryptCMSResponse_QNAME, DecryptCMSResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EncryptCMSRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptCMSRequest") - public JAXBElement<EncryptCMSRequestType> createEncryptCMSRequest(EncryptCMSRequestType value) { - return new JAXBElement<EncryptCMSRequestType>(_EncryptCMSRequest_QNAME, EncryptCMSRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EncryptXMLResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptXMLResponse") - public JAXBElement<EncryptXMLResponseType> createEncryptXMLResponse(EncryptXMLResponseType value) { - return new JAXBElement<EncryptXMLResponseType>(_EncryptXMLResponse_QNAME, EncryptXMLResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CreateHashRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateHashRequest") - public JAXBElement<CreateHashRequestType> createCreateHashRequest(CreateHashRequestType value) { - return new JAXBElement<CreateHashRequestType>(_CreateHashRequest_QNAME, CreateHashRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VerifyCMSSignatureRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyCMSSignatureRequest") - public JAXBElement<VerifyCMSSignatureRequestType> createVerifyCMSSignatureRequest(VerifyCMSSignatureRequestType value) { - return new JAXBElement<VerifyCMSSignatureRequestType>(_VerifyCMSSignatureRequest_QNAME, VerifyCMSSignatureRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxReadResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxReadResponse") - public JAXBElement<InfoboxReadResponseType> createInfoboxReadResponse(InfoboxReadResponseType value) { - return new JAXBElement<InfoboxReadResponseType>(_InfoboxReadResponse_QNAME, InfoboxReadResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NullOperationRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "NullOperationRequest") - public JAXBElement<NullOperationRequestType> createNullOperationRequest(NullOperationRequestType value) { - return new JAXBElement<NullOperationRequestType>(_NullOperationRequest_QNAME, NullOperationRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetStatusResponse") - public JAXBElement<GetStatusResponseType> createGetStatusResponse(GetStatusResponseType value) { - return new JAXBElement<GetStatusResponseType>(_GetStatusResponse_QNAME, GetStatusResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CreateCMSSignatureRequestType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateCMSSignatureRequest") - public JAXBElement<CreateCMSSignatureRequestType> createCreateCMSSignatureRequest(CreateCMSSignatureRequestType value) { - return new JAXBElement<CreateCMSSignatureRequestType>(_CreateCMSSignatureRequest_QNAME, CreateCMSSignatureRequestType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VerifyCMSSignatureResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyCMSSignatureResponse") - public JAXBElement<VerifyCMSSignatureResponseType> createVerifyCMSSignatureResponse(VerifyCMSSignatureResponseType value) { - return new JAXBElement<VerifyCMSSignatureResponseType>(_VerifyCMSSignatureResponse_QNAME, VerifyCMSSignatureResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CreateCMSSignatureResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateCMSSignatureResponse") - public JAXBElement<CreateCMSSignatureResponseType> createCreateCMSSignatureResponse(CreateCMSSignatureResponseType value) { - return new JAXBElement<CreateCMSSignatureResponseType>(_CreateCMSSignatureResponse_QNAME, CreateCMSSignatureResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxAvailableResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxAvailableResponse") - public JAXBElement<InfoboxAvailableResponseType> createInfoboxAvailableResponse(InfoboxAvailableResponseType value) { - return new JAXBElement<InfoboxAvailableResponseType>(_InfoboxAvailableResponse_QNAME, InfoboxAvailableResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CreateXMLSignatureResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateXMLSignatureResponse") - public JAXBElement<CreateXMLSignatureResponseType> createCreateXMLSignatureResponse(CreateXMLSignatureResponseType value) { - return new JAXBElement<CreateXMLSignatureResponseType>(_CreateXMLSignatureResponse_QNAME, CreateXMLSignatureResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "ReferringSigReference", scope = ManifestRefsCheckResultInfoType.class) - public JAXBElement<BigInteger> createManifestRefsCheckResultInfoTypeReferringSigReference(BigInteger value) { - return new JAXBElement<BigInteger>(_ManifestRefsCheckResultInfoTypeReferringSigReference_QNAME, BigInteger.class, ManifestRefsCheckResultInfoType.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "FailedReference", scope = ManifestRefsCheckResultInfoType.class) - public JAXBElement<BigInteger> createManifestRefsCheckResultInfoTypeFailedReference(BigInteger value) { - return new JAXBElement<BigInteger>(_ManifestRefsCheckResultInfoTypeFailedReference_QNAME, BigInteger.class, ManifestRefsCheckResultInfoType.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "FailedReference", scope = ReferencesCheckResultInfoType.class) - public JAXBElement<BigInteger> createReferencesCheckResultInfoTypeFailedReference(BigInteger value) { - return new JAXBElement<BigInteger>(_ManifestRefsCheckResultInfoTypeFailedReference_QNAME, BigInteger.class, ReferencesCheckResultInfoType.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CheckResultType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "SignatureCheck", scope = VerifyCMSSignatureResponseType.class) - public JAXBElement<CheckResultType> createVerifyCMSSignatureResponseTypeSignatureCheck(CheckResultType value) { - return new JAXBElement<CheckResultType>(_VerifyCMSSignatureResponseTypeSignatureCheck_QNAME, CheckResultType.class, VerifyCMSSignatureResponseType.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CheckResultType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CertificateCheck", scope = VerifyCMSSignatureResponseType.class) - public JAXBElement<CheckResultType> createVerifyCMSSignatureResponseTypeCertificateCheck(CheckResultType value) { - return new JAXBElement<CheckResultType>(_VerifyCMSSignatureResponseTypeCertificateCheck_QNAME, CheckResultType.class, VerifyCMSSignatureResponseType.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "SignerInfo", scope = VerifyCMSSignatureResponseType.class) - public JAXBElement<KeyInfoType> createVerifyCMSSignatureResponseTypeSignerInfo(KeyInfoType value) { - return new JAXBElement<KeyInfoType>(_VerifyCMSSignatureResponseTypeSignerInfo_QNAME, KeyInfoType.class, VerifyCMSSignatureResponseType.class, value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/QualifiedBoxIdentifierType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/QualifiedBoxIdentifierType.java deleted file mode 100644 index 0912608b..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/QualifiedBoxIdentifierType.java +++ /dev/null @@ -1,124 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -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; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for QualifiedBoxIdentifierType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="QualifiedBoxIdentifierType"> - * <simpleContent> - * <extension base="<http://www.buergerkarte.at/namespaces/securitylayer/1.2#>BoxIdentifierType"> - * <attribute name="Signature" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * <attribute name="Encryption" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "QualifiedBoxIdentifierType", propOrder = { - "value" -}) -public class QualifiedBoxIdentifierType { - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - @XmlAttribute(name = "Signature", required = true) - protected boolean signature; - @XmlAttribute(name = "Encryption", required = true) - protected boolean encryption; - - /** - * 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 signature property. - * - */ - public boolean isSignature() { - return signature; - } - - /** - * Sets the value of the signature property. - * - */ - public void setSignature(boolean value) { - this.signature = value; - } - - /** - * Gets the value of the encryption property. - * - */ - public boolean isEncryption() { - return encryption; - } - - /** - * Sets the value of the encryption property. - * - */ - public void setEncryption(boolean value) { - this.encryption = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReferencesCheckResultInfoType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReferencesCheckResultInfoType.java deleted file mode 100644 index 4446361e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReferencesCheckResultInfoType.java +++ /dev/null @@ -1,103 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlMixed; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for ReferencesCheckResultInfoType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ReferencesCheckResultInfoType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="FailedReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" maxOccurs="unbounded" minOccurs="0"/> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ReferencesCheckResultInfoType", propOrder = { - "content" -}) -public class ReferencesCheckResultInfoType { - - @XmlElementRef(name = "FailedReference", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class) - @XmlMixed - @XmlAnyElement(lax = true) - protected List<Object> 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 Element } - * {@link String } - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * {@link Object } - * - * - */ - public List<Object> getContent() { - if (content == null) { - content = new ArrayList<Object>(); - } - return this.content; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReferencesCheckResultType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReferencesCheckResultType.java deleted file mode 100644 index 79a2a0c4..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReferencesCheckResultType.java +++ /dev/null @@ -1,116 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for ReferencesCheckResultType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ReferencesCheckResultType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> - * <element name="Info" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReferencesCheckResultInfoType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ReferencesCheckResultType", propOrder = { - "code", - "info" -}) -public class ReferencesCheckResultType { - - @XmlElement(name = "Code", required = true) - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger code; - @XmlElement(name = "Info") - protected ReferencesCheckResultInfoType info; - - /** - * Gets the value of the code property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getCode() { - return code; - } - - /** - * Sets the value of the code property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setCode(BigInteger value) { - this.code = value; - } - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link ReferencesCheckResultInfoType } - * - */ - public ReferencesCheckResultInfoType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link ReferencesCheckResultInfoType } - * - */ - public void setInfo(ReferencesCheckResultInfoType value) { - this.info = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/RequesterIDType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/RequesterIDType.java deleted file mode 100644 index 8b8257e5..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/RequesterIDType.java +++ /dev/null @@ -1,110 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -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 RequesterIDType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="RequesterIDType"> - * <simpleContent> - * <extension base="<http://www.buergerkarte.at/namespaces/securitylayer/1.2#>RequesterIDSimpleType"> - * <attribute name="AuthenticationClass" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AuthenticationClassType" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RequesterIDType", propOrder = { - "value" -}) -public class RequesterIDType { - - @XmlValue - protected String value; - @XmlAttribute(name = "AuthenticationClass", required = true) - protected AuthenticationClassType authenticationClass; - - /** - * 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 authenticationClass property. - * - * @return - * possible object is - * {@link AuthenticationClassType } - * - */ - public AuthenticationClassType getAuthenticationClass() { - return authenticationClass; - } - - /** - * Sets the value of the authenticationClass property. - * - * @param value - * allowed object is - * {@link AuthenticationClassType } - * - */ - public void setAuthenticationClass(AuthenticationClassType value) { - this.authenticationClass = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReturnResultType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReturnResultType.java deleted file mode 100644 index 8deef3c5..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ReturnResultType.java +++ /dev/null @@ -1,77 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for ReturnResultType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="ReturnResultType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="binary"/> - * <enumeration value="xml"/> - * <enumeration value="none"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "ReturnResultType") -@XmlEnum -public enum ReturnResultType { - - @XmlEnumValue("binary") - BINARY("binary"), - @XmlEnumValue("xml") - XML("xml"), - @XmlEnumValue("none") - NONE("none"); - private final String value; - - ReturnResultType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static ReturnResultType fromValue(String v) { - for (ReturnResultType c: ReturnResultType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureInfoCreationType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureInfoCreationType.java deleted file mode 100644 index ca5a6f6f..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureInfoCreationType.java +++ /dev/null @@ -1,148 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for SignatureInfoCreationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SignatureInfoCreationType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="SignatureEnvironment" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> - * <element name="SignatureLocation" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}SignatureLocationType"/> - * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SignatureInfoCreationType", propOrder = { - "signatureEnvironment", - "signatureLocation", - "supplement" -}) -public class SignatureInfoCreationType { - - @XmlElement(name = "SignatureEnvironment", required = true) - protected Base64XMLOptRefContentType signatureEnvironment; - @XmlElement(name = "SignatureLocation", required = true, type = at.gv.egiz.slbinding.impl.SignatureLocationType.class) - protected at.gv.egiz.slbinding.impl.SignatureLocationType signatureLocation; - @XmlElement(name = "Supplement") - protected List<DataObjectAssociationType> supplement; - - /** - * Gets the value of the signatureEnvironment property. - * - * @return - * possible object is - * {@link Base64XMLOptRefContentType } - * - */ - public Base64XMLOptRefContentType getSignatureEnvironment() { - return signatureEnvironment; - } - - /** - * Sets the value of the signatureEnvironment property. - * - * @param value - * allowed object is - * {@link Base64XMLOptRefContentType } - * - */ - public void setSignatureEnvironment(Base64XMLOptRefContentType value) { - this.signatureEnvironment = value; - } - - /** - * Gets the value of the signatureLocation property. - * - * @return - * possible object is - * {@link at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType } - * - */ - public at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType getSignatureLocation() { - return signatureLocation; - } - - /** - * Sets the value of the signatureLocation property. - * - * @param value - * allowed object is - * {@link at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType } - * - */ - public void setSignatureLocation(at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType value) { - this.signatureLocation = ((at.gv.egiz.slbinding.impl.SignatureLocationType) value); - } - - /** - * Gets the value of the supplement 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 supplement property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getSupplement().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link DataObjectAssociationType } - * - * - */ - public List<DataObjectAssociationType> getSupplement() { - if (supplement == null) { - supplement = new ArrayList<DataObjectAssociationType>(); - } - return this.supplement; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureInfoVerificationType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureInfoVerificationType.java deleted file mode 100644 index 64fc4295..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureInfoVerificationType.java +++ /dev/null @@ -1,118 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for SignatureInfoVerificationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SignatureInfoVerificationType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="SignatureEnvironment" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> - * <element name="SignatureLocation" type="{http://www.w3.org/2001/XMLSchema}token"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SignatureInfoVerificationType", propOrder = { - "signatureEnvironment", - "signatureLocation" -}) -public class SignatureInfoVerificationType { - - @XmlElement(name = "SignatureEnvironment", required = true) - protected Base64XMLOptRefContentType signatureEnvironment; - @XmlElement(name = "SignatureLocation", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String signatureLocation; - - /** - * Gets the value of the signatureEnvironment property. - * - * @return - * possible object is - * {@link Base64XMLOptRefContentType } - * - */ - public Base64XMLOptRefContentType getSignatureEnvironment() { - return signatureEnvironment; - } - - /** - * Sets the value of the signatureEnvironment property. - * - * @param value - * allowed object is - * {@link Base64XMLOptRefContentType } - * - */ - public void setSignatureEnvironment(Base64XMLOptRefContentType value) { - this.signatureEnvironment = value; - } - - /** - * Gets the value of the signatureLocation property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSignatureLocation() { - return signatureLocation; - } - - /** - * Sets the value of the signatureLocation property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSignatureLocation(String value) { - this.signatureLocation = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureLocationType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureLocationType.java deleted file mode 100644 index f98af421..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/SignatureLocationType.java +++ /dev/null @@ -1,117 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for SignatureLocationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SignatureLocationType"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>token"> - * <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SignatureLocationType", propOrder = { - "value" -}) -public class SignatureLocationType { - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String value; - @XmlAttribute(name = "Index", required = true) - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger index; - - /** - * 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 index property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getIndex() { - return index; - } - - /** - * Sets the value of the index property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setIndex(BigInteger value) { - this.index = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ToBeEncryptedType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ToBeEncryptedType.java deleted file mode 100644 index 18c8f0ca..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ToBeEncryptedType.java +++ /dev/null @@ -1,325 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for ToBeEncryptedType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ToBeEncryptedType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <element name="Element"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Selector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="ElementContent"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Selector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="New" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLToBeEncryptedNewType"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ToBeEncryptedType", propOrder = { - "element", - "elementContent", - "_new" -}) -public class ToBeEncryptedType { - - @XmlElement(name = "Element") - protected ToBeEncryptedType.Element element; - @XmlElement(name = "ElementContent") - protected ToBeEncryptedType.ElementContent elementContent; - @XmlElement(name = "New") - protected XMLToBeEncryptedNewType _new; - - /** - * Gets the value of the element property. - * - * @return - * possible object is - * {@link ToBeEncryptedType.Element } - * - */ - public ToBeEncryptedType.Element getElement() { - return element; - } - - /** - * Sets the value of the element property. - * - * @param value - * allowed object is - * {@link ToBeEncryptedType.Element } - * - */ - public void setElement(ToBeEncryptedType.Element value) { - this.element = value; - } - - /** - * Gets the value of the elementContent property. - * - * @return - * possible object is - * {@link ToBeEncryptedType.ElementContent } - * - */ - public ToBeEncryptedType.ElementContent getElementContent() { - return elementContent; - } - - /** - * Sets the value of the elementContent property. - * - * @param value - * allowed object is - * {@link ToBeEncryptedType.ElementContent } - * - */ - public void setElementContent(ToBeEncryptedType.ElementContent value) { - this.elementContent = value; - } - - /** - * Gets the value of the new property. - * - * @return - * possible object is - * {@link XMLToBeEncryptedNewType } - * - */ - public XMLToBeEncryptedNewType getNew() { - return _new; - } - - /** - * Sets the value of the new property. - * - * @param value - * allowed object is - * {@link XMLToBeEncryptedNewType } - * - */ - public void setNew(XMLToBeEncryptedNewType value) { - this._new = value; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Selector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Element { - - @XmlAttribute(name = "Selector", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String selector; - @XmlAttribute(name = "EncDataReference") - @XmlSchemaType(name = "anyURI") - protected String encDataReference; - - /** - * Gets the value of the selector property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSelector() { - return selector; - } - - /** - * Sets the value of the selector property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSelector(String value) { - this.selector = value; - } - - /** - * Gets the value of the encDataReference property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getEncDataReference() { - return encDataReference; - } - - /** - * Sets the value of the encDataReference property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setEncDataReference(String value) { - this.encDataReference = value; - } - - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Selector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class ElementContent { - - @XmlAttribute(name = "Selector", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String selector; - @XmlAttribute(name = "EncDataReference") - @XmlSchemaType(name = "anyURI") - protected String encDataReference; - - /** - * Gets the value of the selector property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSelector() { - return selector; - } - - /** - * Sets the value of the selector property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSelector(String value) { - this.selector = value; - } - - /** - * Gets the value of the encDataReference property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getEncDataReference() { - return encDataReference; - } - - /** - * Sets the value of the encDataReference property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setEncDataReference(String value) { - this.encDataReference = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/TokenStatusType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/TokenStatusType.java deleted file mode 100644 index 7e92572b..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/TokenStatusType.java +++ /dev/null @@ -1,74 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for TokenStatusType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="TokenStatusType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="ready"/> - * <enumeration value="removed"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "TokenStatusType") -@XmlEnum -public enum TokenStatusType { - - @XmlEnumValue("ready") - READY("ready"), - @XmlEnumValue("removed") - REMOVED("removed"); - private final String value; - - TokenStatusType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static TokenStatusType fromValue(String v) { - for (TokenStatusType c: TokenStatusType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/TransformsInfoType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/TransformsInfoType.java deleted file mode 100644 index e4a8f48e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/TransformsInfoType.java +++ /dev/null @@ -1,123 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import org.w3._2000._09.xmldsig_.TransformsType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for TransformsInfoType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="TransformsInfoType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> - * <element name="FinalDataMetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TransformsInfoType", propOrder = { - "transforms", - "finalDataMetaInfo" -}) -public class TransformsInfoType { - - @XmlElementRef(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) - @XmlAnyElement(lax = true) - protected Object transforms; - @XmlElement(name = "FinalDataMetaInfo", required = true) - protected MetaInfoType finalDataMetaInfo; - - /** - * Gets the value of the transforms property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * {@link Object } - * {@link Element } - * - */ - public Object getTransforms() { - return transforms; - } - - /** - * Sets the value of the transforms property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * {@link Object } - * {@link Element } - * - */ - public void setTransforms(Object value) { - this.transforms = value; - } - - /** - * Gets the value of the finalDataMetaInfo property. - * - * @return - * possible object is - * {@link MetaInfoType } - * - */ - public MetaInfoType getFinalDataMetaInfo() { - return finalDataMetaInfo; - } - - /** - * Sets the value of the finalDataMetaInfo property. - * - * @param value - * allowed object is - * {@link MetaInfoType } - * - */ - public void setFinalDataMetaInfo(MetaInfoType value) { - this.finalDataMetaInfo = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/UserConfirmationSimpleType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/UserConfirmationSimpleType.java deleted file mode 100644 index 9419a284..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/UserConfirmationSimpleType.java +++ /dev/null @@ -1,80 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for UserConfirmationSimpleType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="UserConfirmationSimpleType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="none"/> - * <enumeration value="info"/> - * <enumeration value="confirm"/> - * <enumeration value="confirmWithSecret"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "UserConfirmationSimpleType") -@XmlEnum -public enum UserConfirmationSimpleType { - - @XmlEnumValue("none") - NONE("none"), - @XmlEnumValue("info") - INFO("info"), - @XmlEnumValue("confirm") - CONFIRM("confirm"), - @XmlEnumValue("confirmWithSecret") - CONFIRM_WITH_SECRET("confirmWithSecret"); - private final String value; - - UserConfirmationSimpleType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static UserConfirmationSimpleType fromValue(String v) { - for (UserConfirmationSimpleType c: UserConfirmationSimpleType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/UserConfirmationType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/UserConfirmationType.java deleted file mode 100644 index 33d2b530..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/UserConfirmationType.java +++ /dev/null @@ -1,102 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -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 UserConfirmationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="UserConfirmationType"> - * <simpleContent> - * <extension base="<http://www.buergerkarte.at/namespaces/securitylayer/1.2#>UserConfirmationSimpleType"> - * <attribute name="UserMayChange" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "UserConfirmationType", propOrder = { - "value" -}) -public class UserConfirmationType { - - @XmlValue - protected UserConfirmationSimpleType value; - @XmlAttribute(name = "UserMayChange", required = true) - protected boolean userMayChange; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link UserConfirmationSimpleType } - * - */ - public UserConfirmationSimpleType getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link UserConfirmationSimpleType } - * - */ - public void setValue(UserConfirmationSimpleType value) { - this.value = value; - } - - /** - * Gets the value of the userMayChange property. - * - */ - public boolean isUserMayChange() { - return userMayChange; - } - - /** - * Sets the value of the userMayChange property. - * - */ - public void setUserMayChange(boolean value) { - this.userMayChange = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerificationResultType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerificationResultType.java deleted file mode 100644 index e484619f..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerificationResultType.java +++ /dev/null @@ -1,105 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for VerificationResultType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerificationResultType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Result" type="{http://www.w3.org/2001/XMLSchema}boolean"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerificationResultType", propOrder = { - "friendlyName", - "result" -}) -public class VerificationResultType { - - @XmlElement(name = "FriendlyName") - protected String friendlyName; - @XmlElement(name = "Result") - protected boolean result; - - /** - * Gets the value of the friendlyName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFriendlyName() { - return friendlyName; - } - - /** - * Sets the value of the friendlyName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFriendlyName(String value) { - this.friendlyName = value; - } - - /** - * Gets the value of the result property. - * - */ - public boolean isResult() { - return result; - } - - /** - * Sets the value of the result property. - * - */ - public void setResult(boolean value) { - this.result = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyCMSSignatureRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyCMSSignatureRequestType.java deleted file mode 100644 index 8d6701e5..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyCMSSignatureRequestType.java +++ /dev/null @@ -1,177 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - * <p>Java class for VerifyCMSSignatureRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerifyCMSSignatureRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> - * <element name="CMSSignature" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * <element name="DataObject" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSDataObjectOptionalMetaType" minOccurs="0"/> - * </sequence> - * <attribute name="Signatories" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}SignatoriesType" default="1" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerifyCMSSignatureRequestType", propOrder = { - "dateTime", - "cmsSignature", - "dataObject" -}) -public class VerifyCMSSignatureRequestType { - - @XmlElement(name = "DateTime") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar dateTime; - @XmlElement(name = "CMSSignature", required = true) - protected byte[] cmsSignature; - @XmlElement(name = "DataObject") - protected CMSDataObjectOptionalMetaType dataObject; - @XmlAttribute(name = "Signatories") - protected List<String> signatories; - - /** - * Gets the value of the dateTime property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getDateTime() { - return dateTime; - } - - /** - * Sets the value of the dateTime property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setDateTime(XMLGregorianCalendar value) { - this.dateTime = value; - } - - /** - * Gets the value of the cmsSignature property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getCMSSignature() { - return cmsSignature; - } - - /** - * Sets the value of the cmsSignature property. - * - * @param value - * allowed object is - * byte[] - */ - public void setCMSSignature(byte[] value) { - this.cmsSignature = ((byte[]) value); - } - - /** - * Gets the value of the dataObject property. - * - * @return - * possible object is - * {@link CMSDataObjectOptionalMetaType } - * - */ - public CMSDataObjectOptionalMetaType getDataObject() { - return dataObject; - } - - /** - * Sets the value of the dataObject property. - * - * @param value - * allowed object is - * {@link CMSDataObjectOptionalMetaType } - * - */ - public void setDataObject(CMSDataObjectOptionalMetaType value) { - this.dataObject = value; - } - - /** - * Gets the value of the signatories 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 signatories property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getSignatories().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getSignatories() { - if (signatories == null) { - signatories = new ArrayList<String>(); - } - return this.signatories; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyCMSSignatureResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyCMSSignatureResponseType.java deleted file mode 100644 index ab44ec4d..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyCMSSignatureResponseType.java +++ /dev/null @@ -1,103 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlElementRefs; -import javax.xml.bind.annotation.XmlType; -import org.w3._2000._09.xmldsig_.KeyInfoType; - - -/** - * <p>Java class for VerifyCMSSignatureResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerifyCMSSignatureResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded"> - * <element name="SignerInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/> - * <element name="SignatureCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CheckResultType"/> - * <element name="CertificateCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CheckResultType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerifyCMSSignatureResponseType", propOrder = { - "signerInfoAndSignatureCheckAndCertificateCheck" -}) -public class VerifyCMSSignatureResponseType { - - @XmlElementRefs({ - @XmlElementRef(name = "CertificateCheck", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class), - @XmlElementRef(name = "SignerInfo", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class), - @XmlElementRef(name = "SignatureCheck", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class) - }) - protected List<JAXBElement<?>> signerInfoAndSignatureCheckAndCertificateCheck; - - /** - * Gets the value of the signerInfoAndSignatureCheckAndCertificateCheck 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 signerInfoAndSignatureCheckAndCertificateCheck property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getSignerInfoAndSignatureCheckAndCertificateCheck().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link CheckResultType }{@code >} - * {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} - * {@link JAXBElement }{@code <}{@link CheckResultType }{@code >} - * - * - */ - public List<JAXBElement<?>> getSignerInfoAndSignatureCheckAndCertificateCheck() { - if (signerInfoAndSignatureCheckAndCertificateCheck == null) { - signerInfoAndSignatureCheckAndCertificateCheck = new ArrayList<JAXBElement<?>>(); - } - return this.signerInfoAndSignatureCheckAndCertificateCheck; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashInfoRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashInfoRequestType.java deleted file mode 100644 index 7b1c143d..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashInfoRequestType.java +++ /dev/null @@ -1,169 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for VerifyHashInfoRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerifyHashInfoRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="HashData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}HashDataType"/> - * <element name="HashAlgorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * <element name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="HashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerifyHashInfoRequestType", propOrder = { - "hashData", - "hashAlgorithm", - "friendlyName", - "hashValue" -}) -public class VerifyHashInfoRequestType { - - @XmlElement(name = "HashData", required = true) - protected HashDataType hashData; - @XmlElement(name = "HashAlgorithm", required = true) - @XmlSchemaType(name = "anyURI") - protected String hashAlgorithm; - @XmlElement(name = "FriendlyName") - protected String friendlyName; - @XmlElement(name = "HashValue", required = true) - protected byte[] hashValue; - - /** - * Gets the value of the hashData property. - * - * @return - * possible object is - * {@link HashDataType } - * - */ - public HashDataType getHashData() { - return hashData; - } - - /** - * Sets the value of the hashData property. - * - * @param value - * allowed object is - * {@link HashDataType } - * - */ - public void setHashData(HashDataType value) { - this.hashData = value; - } - - /** - * Gets the value of the hashAlgorithm property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHashAlgorithm() { - return hashAlgorithm; - } - - /** - * Sets the value of the hashAlgorithm property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHashAlgorithm(String value) { - this.hashAlgorithm = value; - } - - /** - * Gets the value of the friendlyName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFriendlyName() { - return friendlyName; - } - - /** - * Sets the value of the friendlyName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFriendlyName(String value) { - this.friendlyName = value; - } - - /** - * Gets the value of the hashValue property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getHashValue() { - return hashValue; - } - - /** - * Sets the value of the hashValue property. - * - * @param value - * allowed object is - * byte[] - */ - public void setHashValue(byte[] value) { - this.hashValue = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashRequestType.java deleted file mode 100644 index ba7adb76..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashRequestType.java +++ /dev/null @@ -1,92 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for VerifyHashRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerifyHashRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="HashInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}VerifyHashInfoRequestType" maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerifyHashRequestType", propOrder = { - "hashInfo" -}) -public class VerifyHashRequestType { - - @XmlElement(name = "HashInfo", required = true) - protected List<VerifyHashInfoRequestType> hashInfo; - - /** - * Gets the value of the hashInfo 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 hashInfo property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getHashInfo().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link VerifyHashInfoRequestType } - * - * - */ - public List<VerifyHashInfoRequestType> getHashInfo() { - if (hashInfo == null) { - hashInfo = new ArrayList<VerifyHashInfoRequestType>(); - } - return this.hashInfo; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashResponseType.java deleted file mode 100644 index d277ebe3..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyHashResponseType.java +++ /dev/null @@ -1,92 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for VerifyHashResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerifyHashResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="VerificationResult" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}VerificationResultType" maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerifyHashResponseType", propOrder = { - "verificationResult" -}) -public class VerifyHashResponseType { - - @XmlElement(name = "VerificationResult", required = true) - protected List<VerificationResultType> verificationResult; - - /** - * Gets the value of the verificationResult 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 verificationResult property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getVerificationResult().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link VerificationResultType } - * - * - */ - public List<VerificationResultType> getVerificationResult() { - if (verificationResult == null) { - verificationResult = new ArrayList<VerificationResultType>(); - } - return this.verificationResult; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyXMLSignatureRequestType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyXMLSignatureRequestType.java deleted file mode 100644 index c7ee75d4..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyXMLSignatureRequestType.java +++ /dev/null @@ -1,151 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - * <p>Java class for VerifyXMLSignatureRequestType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerifyXMLSignatureRequestType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> - * <element name="SignatureInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}SignatureInfoVerificationType"/> - * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerifyXMLSignatureRequestType", propOrder = { - "dateTime", - "signatureInfo", - "supplement" -}) -public class VerifyXMLSignatureRequestType { - - @XmlElement(name = "DateTime") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar dateTime; - @XmlElement(name = "SignatureInfo", required = true) - protected SignatureInfoVerificationType signatureInfo; - @XmlElement(name = "Supplement") - protected List<DataObjectAssociationType> supplement; - - /** - * Gets the value of the dateTime property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getDateTime() { - return dateTime; - } - - /** - * Sets the value of the dateTime property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setDateTime(XMLGregorianCalendar value) { - this.dateTime = value; - } - - /** - * Gets the value of the signatureInfo property. - * - * @return - * possible object is - * {@link SignatureInfoVerificationType } - * - */ - public SignatureInfoVerificationType getSignatureInfo() { - return signatureInfo; - } - - /** - * Sets the value of the signatureInfo property. - * - * @param value - * allowed object is - * {@link SignatureInfoVerificationType } - * - */ - public void setSignatureInfo(SignatureInfoVerificationType value) { - this.signatureInfo = value; - } - - /** - * Gets the value of the supplement 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 supplement property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getSupplement().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link DataObjectAssociationType } - * - * - */ - public List<DataObjectAssociationType> getSupplement() { - if (supplement == null) { - supplement = new ArrayList<DataObjectAssociationType>(); - } - return this.supplement; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyXMLSignatureResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyXMLSignatureResponseType.java deleted file mode 100644 index b0106756..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/VerifyXMLSignatureResponseType.java +++ /dev/null @@ -1,205 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3._2000._09.xmldsig_.KeyInfoType; - - -/** - * <p>Java class for VerifyXMLSignatureResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="VerifyXMLSignatureResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="SignerInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/> - * <element name="SignatureCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReferencesCheckResultType"/> - * <element name="SignatureManifestCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReferencesCheckResultType"/> - * <element name="XMLDSIGManifestCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ManifestRefsCheckResultType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="CertificateCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CheckResultType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VerifyXMLSignatureResponseType", propOrder = { - "signerInfo", - "signatureCheck", - "signatureManifestCheck", - "xmldsigManifestCheck", - "certificateCheck" -}) -public class VerifyXMLSignatureResponseType { - - @XmlElement(name = "SignerInfo", required = true) - protected KeyInfoType signerInfo; - @XmlElement(name = "SignatureCheck", required = true) - protected ReferencesCheckResultType signatureCheck; - @XmlElement(name = "SignatureManifestCheck", required = true) - protected ReferencesCheckResultType signatureManifestCheck; - @XmlElement(name = "XMLDSIGManifestCheck") - protected List<ManifestRefsCheckResultType> xmldsigManifestCheck; - @XmlElement(name = "CertificateCheck", required = true) - protected CheckResultType certificateCheck; - - /** - * Gets the value of the signerInfo property. - * - * @return - * possible object is - * {@link KeyInfoType } - * - */ - public KeyInfoType getSignerInfo() { - return signerInfo; - } - - /** - * Sets the value of the signerInfo property. - * - * @param value - * allowed object is - * {@link KeyInfoType } - * - */ - public void setSignerInfo(KeyInfoType value) { - this.signerInfo = value; - } - - /** - * Gets the value of the signatureCheck property. - * - * @return - * possible object is - * {@link ReferencesCheckResultType } - * - */ - public ReferencesCheckResultType getSignatureCheck() { - return signatureCheck; - } - - /** - * Sets the value of the signatureCheck property. - * - * @param value - * allowed object is - * {@link ReferencesCheckResultType } - * - */ - public void setSignatureCheck(ReferencesCheckResultType value) { - this.signatureCheck = value; - } - - /** - * Gets the value of the signatureManifestCheck property. - * - * @return - * possible object is - * {@link ReferencesCheckResultType } - * - */ - public ReferencesCheckResultType getSignatureManifestCheck() { - return signatureManifestCheck; - } - - /** - * Sets the value of the signatureManifestCheck property. - * - * @param value - * allowed object is - * {@link ReferencesCheckResultType } - * - */ - public void setSignatureManifestCheck(ReferencesCheckResultType value) { - this.signatureManifestCheck = value; - } - - /** - * Gets the value of the xmldsigManifestCheck 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 xmldsigManifestCheck property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getXMLDSIGManifestCheck().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link ManifestRefsCheckResultType } - * - * - */ - public List<ManifestRefsCheckResultType> getXMLDSIGManifestCheck() { - if (xmldsigManifestCheck == null) { - xmldsigManifestCheck = new ArrayList<ManifestRefsCheckResultType>(); - } - return this.xmldsigManifestCheck; - } - - /** - * Gets the value of the certificateCheck property. - * - * @return - * possible object is - * {@link CheckResultType } - * - */ - public CheckResultType getCertificateCheck() { - return certificateCheck; - } - - /** - * Sets the value of the certificateCheck property. - * - * @param value - * allowed object is - * {@link CheckResultType } - * - */ - public void setCertificateCheck(CheckResultType value) { - this.certificateCheck = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLContentType.java deleted file mode 100644 index f45220ed..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLContentType.java +++ /dev/null @@ -1,86 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -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.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for XMLContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="XMLContentType"> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyMixedChildrenType"> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}space"/> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "XMLContentType") -public class XMLContentType - extends AnyMixedChildrenType -{ - - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String space; - - /** - * Gets the value of the space property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSpace() { - return space; - } - - /** - * Sets the value of the space property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSpace(String value) { - this.space = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLRecipientPublicKeyType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLRecipientPublicKeyType.java deleted file mode 100644 index a862050f..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLRecipientPublicKeyType.java +++ /dev/null @@ -1,112 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3._2000._09.xmldsig_.KeyValueType; - - -/** - * <p>Java class for XMLRecipientPublicKeyType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="XMLRecipientPublicKeyType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/> - * <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "XMLRecipientPublicKeyType", propOrder = { - "keyValue", - "x509Certificate" -}) -public class XMLRecipientPublicKeyType { - - @XmlElement(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#") - protected KeyValueType keyValue; - @XmlElement(name = "X509Certificate") - protected byte[] x509Certificate; - - /** - * Gets the value of the keyValue property. - * - * @return - * possible object is - * {@link KeyValueType } - * - */ - public KeyValueType getKeyValue() { - return keyValue; - } - - /** - * Sets the value of the keyValue property. - * - * @param value - * allowed object is - * {@link KeyValueType } - * - */ - public void setKeyValue(KeyValueType value) { - this.keyValue = value; - } - - /** - * Gets the value of the x509Certificate property. - * - * @return - * possible object is - * byte[] - */ - public byte[] getX509Certificate() { - return x509Certificate; - } - - /** - * Sets the value of the x509Certificate property. - * - * @param value - * allowed object is - * byte[] - */ - public void setX509Certificate(byte[] value) { - this.x509Certificate = ((byte[]) value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLToBeEncryptedNewContentType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLToBeEncryptedNewContentType.java deleted file mode 100644 index fe1fb6db..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLToBeEncryptedNewContentType.java +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for XMLToBeEncryptedNewContentType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="XMLToBeEncryptedNewContentType"> - * <complexContent> - * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefContentType"> - * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "XMLToBeEncryptedNewContentType") -public class XMLToBeEncryptedNewContentType - extends Base64XMLLocRefContentType -{ - - @XmlAttribute(name = "EncDataReference") - @XmlSchemaType(name = "anyURI") - protected String encDataReference; - - /** - * Gets the value of the encDataReference property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getEncDataReference() { - return encDataReference; - } - - /** - * Sets the value of the encDataReference property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setEncDataReference(String value) { - this.encDataReference = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLToBeEncryptedNewType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLToBeEncryptedNewType.java deleted file mode 100644 index 7e65a1b7..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/XMLToBeEncryptedNewType.java +++ /dev/null @@ -1,175 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - - -package at.buergerkarte.namespaces.securitylayer._1; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - * <p>Java class for XMLToBeEncryptedNewType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="XMLToBeEncryptedNewType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> - * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLToBeEncryptedNewContentType"/> - * </sequence> - * <attribute name="ParentSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> - * <attribute name="NodeCount" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "XMLToBeEncryptedNewType", propOrder = { - "metaInfo", - "content" -}) -public class XMLToBeEncryptedNewType { - - @XmlElement(name = "MetaInfo", required = true) - protected MetaInfoType metaInfo; - @XmlElement(name = "Content", required = true) - protected XMLToBeEncryptedNewContentType content; - @XmlAttribute(name = "ParentSelector", required = true) - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String parentSelector; - @XmlAttribute(name = "NodeCount", required = true) - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger nodeCount; - - /** - * Gets the value of the metaInfo property. - * - * @return - * possible object is - * {@link MetaInfoType } - * - */ - public MetaInfoType getMetaInfo() { - return metaInfo; - } - - /** - * Sets the value of the metaInfo property. - * - * @param value - * allowed object is - * {@link MetaInfoType } - * - */ - public void setMetaInfo(MetaInfoType value) { - this.metaInfo = value; - } - - /** - * Gets the value of the content property. - * - * @return - * possible object is - * {@link XMLToBeEncryptedNewContentType } - * - */ - public XMLToBeEncryptedNewContentType getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link XMLToBeEncryptedNewContentType } - * - */ - public void setContent(XMLToBeEncryptedNewContentType value) { - this.content = value; - } - - /** - * Gets the value of the parentSelector property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getParentSelector() { - return parentSelector; - } - - /** - * Sets the value of the parentSelector property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setParentSelector(String value) { - this.parentSelector = value; - } - - /** - * Gets the value of the nodeCount property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getNodeCount() { - return nodeCount; - } - - /** - * Sets the value of the nodeCount property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setNodeCount(BigInteger value) { - this.nodeCount = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/package-info.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/package-info.java deleted file mode 100644 index 666834ce..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/package-info.java +++ /dev/null @@ -1,25 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.25 at 10:41:37 AM GMT -// - -@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.buergerkarte.namespaces.securitylayer._1; diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/ErrorResponseType.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/ErrorResponseType.java deleted file mode 100644 index 69b5cd9d..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/ErrorResponseType.java +++ /dev/null @@ -1,98 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-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: 2009.09.07 at 09:47:31 AM CEST -// - - -package at.buergerkarte.namespaces.securitylayer._20020225_; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for ErrorResponseType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="ErrorResponseType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}integer"/> - * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ErrorResponseType", propOrder = { - "errorCode", - "info" -}) -public class ErrorResponseType { - - @XmlElement(name = "ErrorCode", required = true) - protected BigInteger errorCode; - @XmlElement(name = "Info", required = true) - protected String info; - - /** - * Gets the value of the errorCode property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getErrorCode() { - return errorCode; - } - - /** - * Sets the value of the errorCode property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setErrorCode(BigInteger value) { - this.errorCode = value; - } - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInfo(String value) { - this.info = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/ObjectFactory.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/ObjectFactory.java deleted file mode 100644 index a02f9ca1..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/ObjectFactory.java +++ /dev/null @@ -1,280 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-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: 2009.09.07 at 09:47:31 AM CEST -// - - -package at.buergerkarte.namespaces.securitylayer._20020225_; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the at.buergerkarte.namespaces.securitylayer._20020225_ package. - * <p>An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _CreateXMLSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "CreateXMLSignatureRequest"); - private final static QName _InfoboxUpdateRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "InfoboxUpdateRequest"); - private final static QName _ErrorResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "ErrorResponse"); - private final static QName _VerifyXMLSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "VerifyXMLSignatureResponse"); - private final static QName _CreateSessionKeyResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "CreateSessionKeyResponse"); - private final static QName _GetPropertiesRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "GetPropertiesRequest"); - private final static QName _GetPropertiesResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "GetPropertiesResponse"); - private final static QName _InfoboxAvailableResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "InfoboxAvailableResponse"); - private final static QName _InfoboxAvailableRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "InfoboxAvailableRequest"); - private final static QName _CreateSessionKeyRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "CreateSessionKeyRequest"); - private final static QName _InfoboxUpdateResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "InfoboxUpdateResponse"); - private final static QName _CreateXMLSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "CreateXMLSignatureResponse"); - private final static QName _GetStatusResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "GetStatusResponse"); - private final static QName _CreateCMSSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "CreateCMSSignatureRequest"); - private final static QName _CreateSymmetricSecretRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "CreateSymmetricSecretRequest"); - private final static QName _VerifyXMLSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "VerifyXMLSignatureRequest"); - private final static QName _CreateSymmetricSecretResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "CreateSymmetricSecretResponse"); - private final static QName _CreateCMSSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "CreateCMSSignatureResponse"); - private final static QName _VerifyCMSSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "VerifyCMSSignatureResponse"); - private final static QName _InfoboxReadResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "InfoboxReadResponse"); - private final static QName _VerifyCMSSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "VerifyCMSSignatureRequest"); - private final static QName _InfoboxReadRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "InfoboxReadRequest"); - private final static QName _GetStatusRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "GetStatusRequest"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.buergerkarte.namespaces.securitylayer._20020225_ - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link ErrorResponseType } - * - */ - public ErrorResponseType createErrorResponseType() { - return new ErrorResponseType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "CreateXMLSignatureRequest") - public JAXBElement<Object> createCreateXMLSignatureRequest(Object value) { - return new JAXBElement<Object>(_CreateXMLSignatureRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "InfoboxUpdateRequest") - public JAXBElement<Object> createInfoboxUpdateRequest(Object value) { - return new JAXBElement<Object>(_InfoboxUpdateRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ErrorResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "ErrorResponse") - public JAXBElement<ErrorResponseType> createErrorResponse(ErrorResponseType value) { - return new JAXBElement<ErrorResponseType>(_ErrorResponse_QNAME, ErrorResponseType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "VerifyXMLSignatureResponse") - public JAXBElement<Object> createVerifyXMLSignatureResponse(Object value) { - return new JAXBElement<Object>(_VerifyXMLSignatureResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "CreateSessionKeyResponse") - public JAXBElement<Object> createCreateSessionKeyResponse(Object value) { - return new JAXBElement<Object>(_CreateSessionKeyResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "GetPropertiesRequest") - public JAXBElement<Object> createGetPropertiesRequest(Object value) { - return new JAXBElement<Object>(_GetPropertiesRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "GetPropertiesResponse") - public JAXBElement<Object> createGetPropertiesResponse(Object value) { - return new JAXBElement<Object>(_GetPropertiesResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "InfoboxAvailableResponse") - public JAXBElement<Object> createInfoboxAvailableResponse(Object value) { - return new JAXBElement<Object>(_InfoboxAvailableResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "InfoboxAvailableRequest") - public JAXBElement<Object> createInfoboxAvailableRequest(Object value) { - return new JAXBElement<Object>(_InfoboxAvailableRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "CreateSessionKeyRequest") - public JAXBElement<Object> createCreateSessionKeyRequest(Object value) { - return new JAXBElement<Object>(_CreateSessionKeyRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "InfoboxUpdateResponse") - public JAXBElement<Object> createInfoboxUpdateResponse(Object value) { - return new JAXBElement<Object>(_InfoboxUpdateResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "CreateXMLSignatureResponse") - public JAXBElement<Object> createCreateXMLSignatureResponse(Object value) { - return new JAXBElement<Object>(_CreateXMLSignatureResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "GetStatusResponse") - public JAXBElement<Object> createGetStatusResponse(Object value) { - return new JAXBElement<Object>(_GetStatusResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "CreateCMSSignatureRequest") - public JAXBElement<Object> createCreateCMSSignatureRequest(Object value) { - return new JAXBElement<Object>(_CreateCMSSignatureRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "CreateSymmetricSecretRequest") - public JAXBElement<Object> createCreateSymmetricSecretRequest(Object value) { - return new JAXBElement<Object>(_CreateSymmetricSecretRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "VerifyXMLSignatureRequest") - public JAXBElement<Object> createVerifyXMLSignatureRequest(Object value) { - return new JAXBElement<Object>(_VerifyXMLSignatureRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "CreateSymmetricSecretResponse") - public JAXBElement<Object> createCreateSymmetricSecretResponse(Object value) { - return new JAXBElement<Object>(_CreateSymmetricSecretResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "CreateCMSSignatureResponse") - public JAXBElement<Object> createCreateCMSSignatureResponse(Object value) { - return new JAXBElement<Object>(_CreateCMSSignatureResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "VerifyCMSSignatureResponse") - public JAXBElement<Object> createVerifyCMSSignatureResponse(Object value) { - return new JAXBElement<Object>(_VerifyCMSSignatureResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "InfoboxReadResponse") - public JAXBElement<Object> createInfoboxReadResponse(Object value) { - return new JAXBElement<Object>(_InfoboxReadResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "VerifyCMSSignatureRequest") - public JAXBElement<Object> createVerifyCMSSignatureRequest(Object value) { - return new JAXBElement<Object>(_VerifyCMSSignatureRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "InfoboxReadRequest") - public JAXBElement<Object> createInfoboxReadRequest(Object value) { - return new JAXBElement<Object>(_InfoboxReadRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", name = "GetStatusRequest") - public JAXBElement<Object> createGetStatusRequest(Object value) { - return new JAXBElement<Object>(_GetStatusRequest_QNAME, Object.class, null, value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/package-info.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/package-info.java deleted file mode 100644 index 084f6b11..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020225_/package-info.java +++ /dev/null @@ -1,9 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-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: 2009.09.07 at 09:47:31 AM CEST -// - -@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020225#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.buergerkarte.namespaces.securitylayer._20020225_; diff --git a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020831_/ObjectFactory.java b/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020831_/ObjectFactory.java deleted file mode 100644 index 17f6d4b4..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_20020831_/ObjectFactory.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-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: 2009.09.07 at 09:47:31 AM CEST -// - - -package at.buergerkarte.namespaces.securitylayer._20020831_; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the at.buergerkarte.namespaces.securitylayer._20020831_ package. - * <p>An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _CreateXMLSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020831#", "CreateXMLSignatureRequest"); - private final static QName _GetPropertiesResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020831#", "GetPropertiesResponse"); - private final static QName _VerifyXMLSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020831#", "VerifyXMLSignatureResponse"); - private final static QName _VerifyXMLSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020831#", "VerifyXMLSignatureRequest"); - private final static QName _VerifyCMSSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020831#", "VerifyCMSSignatureResponse"); - private final static QName _CreateXMLSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020831#", "CreateXMLSignatureResponse"); - private final static QName _VerifyCMSSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/20020831#", "VerifyCMSSignatureRequest"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.buergerkarte.namespaces.securitylayer._20020831_ - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020831#", name = "CreateXMLSignatureRequest") - public JAXBElement<Object> createCreateXMLSignatureRequest(Object value) { - return new JAXBElement<Object>(_CreateXMLSignatureRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020831#", name = "GetPropertiesResponse") - public JAXBElement<Object> createGetPropertiesResponse(Object value) { - return new JAXBElement<Object>(_GetPropertiesResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020831#", name = "VerifyXMLSignatureResponse") - public JAXBElement<Object> createVerifyXMLSignatureResponse(Object value) { - return new JAXBElement<Object>(_VerifyXMLSignatureResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020831#", name = "VerifyXMLSignatureRequest") - public JAXBElement<Object> createVerifyXMLSignatureRequest(Object value) { - return new JAXBElement<Object>(_VerifyXMLSignatureRequest_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020831#", name = "VerifyCMSSignatureResponse") - public JAXBElement<Object> createVerifyCMSSignatureResponse(Object value) { - return new JAXBElement<Object>(_VerifyCMSSignatureResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020831#", name = "CreateXMLSignatureResponse") - public JAXBElement<Object> createCreateXMLSignatureResponse(Object value) { - return new JAXBElement<Object>(_CreateXMLSignatureResponse_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/20020831#", name = "VerifyCMSSignatureRequest") - public JAXBElement<Object> createVerifyCMSSignatureRequest(Object value) { - return new JAXBElement<Object>(_VerifyCMSSignatureRequest_QNAME, Object.class, null, value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/AbstractAddressType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/AbstractAddressType.java deleted file mode 100644 index ab531403..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/AbstractAddressType.java +++ /dev/null @@ -1,159 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlID; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; - - -/** - * main structure of address data - * - * <p>Java class for AbstractAddressType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AbstractAddressType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence minOccurs="0"> - * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" maxOccurs="unbounded"/> - * </sequence> - * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AbstractAddressType", propOrder = { - "identification" -}) -@XmlSeeAlso({ - TelephoneAddressType.class, - InternetAddressType.class, - TypedPostalAddressType.class -}) -public abstract class AbstractAddressType { - - @XmlElement(name = "Identification") - protected List<IdentificationType> identification; - @XmlAttribute(name = "Id") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlID - @XmlSchemaType(name = "ID") - protected String id; - @XmlAnyAttribute - private Map<QName, String> otherAttributes = new HashMap<QName, String>(); - - /** - * Gets the value of the identification 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 identification property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getIdentification().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link IdentificationType } - * - * - */ - public List<IdentificationType> getIdentification() { - if (identification == null) { - identification = new ArrayList<IdentificationType>(); - } - return this.identification; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * <p> - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map<QName, String> getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/AbstractPersonType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/AbstractPersonType.java deleted file mode 100644 index 1efb7ed5..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/AbstractPersonType.java +++ /dev/null @@ -1,159 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlID; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; - - -/** - * main structure of person data - * - * <p>Java class for AbstractPersonType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="AbstractPersonType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence minOccurs="0"> - * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" maxOccurs="unbounded"/> - * </sequence> - * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AbstractPersonType", propOrder = { - "identification" -}) -@XmlSeeAlso({ - PersonDataType.class, - PhysicalPersonType.class, - CorporateBodyType.class -}) -public abstract class AbstractPersonType { - - @XmlElement(name = "Identification") - protected List<IdentificationType> identification; - @XmlAttribute(name = "Id") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlID - @XmlSchemaType(name = "ID") - protected String id; - @XmlAnyAttribute - private Map<QName, String> otherAttributes = new HashMap<QName, String>(); - - /** - * Gets the value of the identification 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 identification property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getIdentification().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link IdentificationType } - * - * - */ - public List<IdentificationType> getIdentification() { - if (identification == null) { - identification = new ArrayList<IdentificationType>(); - } - return this.identification; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * <p> - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map<QName, String> getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/CorporateBodyType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/CorporateBodyType.java deleted file mode 100644 index 2474b618..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/CorporateBodyType.java +++ /dev/null @@ -1,260 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import org.w3c.dom.Element; - - -/** - * juridical person, organisation - * - * <p>Java class for CorporateBodyType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="CorporateBodyType"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> - * <sequence minOccurs="0"> - * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> - * <element name="FullName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> - * <element name="AlternativeName" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> - * <element name="LegalForm" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> - * <element name="Organisation" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> - * <any/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CorporateBodyType", propOrder = { - "type", - "fullName", - "alternativeName", - "legalForm", - "organisation", - "any" -}) -public class CorporateBodyType - extends AbstractPersonType -{ - - @XmlElement(name = "Type") - @XmlSchemaType(name = "anyURI") - protected List<String> type; - @XmlElement(name = "FullName") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String fullName; - @XmlElement(name = "AlternativeName") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected List<String> alternativeName; - @XmlElement(name = "LegalForm") - @XmlSchemaType(name = "anyURI") - protected String legalForm; - @XmlElement(name = "Organisation") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String organisation; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the type 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 type property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getType().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getType() { - if (type == null) { - type = new ArrayList<String>(); - } - return this.type; - } - - /** - * Gets the value of the fullName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFullName() { - return fullName; - } - - /** - * Sets the value of the fullName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFullName(String value) { - this.fullName = value; - } - - /** - * Gets the value of the alternativeName 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 alternativeName property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAlternativeName().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getAlternativeName() { - if (alternativeName == null) { - alternativeName = new ArrayList<String>(); - } - return this.alternativeName; - } - - /** - * Gets the value of the legalForm property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLegalForm() { - return legalForm; - } - - /** - * Sets the value of the legalForm property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLegalForm(String value) { - this.legalForm = value; - } - - /** - * Gets the value of the organisation property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getOrganisation() { - return organisation; - } - - /** - * Sets the value of the organisation property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setOrganisation(String value) { - this.organisation = value; - } - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/DefinedAlternativeNameTypeType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/DefinedAlternativeNameTypeType.java deleted file mode 100644 index 938136b7..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/DefinedAlternativeNameTypeType.java +++ /dev/null @@ -1,83 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DefinedAlternativeNameTypeType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="DefinedAlternativeNameTypeType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="ArtistName"/> - * <enumeration value="NickName"/> - * <enumeration value="FormerName"/> - * <enumeration value="Alias"/> - * <enumeration value="MaidenName"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "DefinedAlternativeNameTypeType") -@XmlEnum -public enum DefinedAlternativeNameTypeType { - - @XmlEnumValue("ArtistName") - ARTIST_NAME("ArtistName"), - @XmlEnumValue("NickName") - NICK_NAME("NickName"), - @XmlEnumValue("FormerName") - FORMER_NAME("FormerName"), - @XmlEnumValue("Alias") - ALIAS("Alias"), - @XmlEnumValue("MaidenName") - MAIDEN_NAME("MaidenName"); - private final String value; - - DefinedAlternativeNameTypeType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static DefinedAlternativeNameTypeType fromValue(String v) { - for (DefinedAlternativeNameTypeType c: DefinedAlternativeNameTypeType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/DefinedRelationType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/DefinedRelationType.java deleted file mode 100644 index 972db662..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/DefinedRelationType.java +++ /dev/null @@ -1,95 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DefinedRelationType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="DefinedRelationType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="family:Parent"/> - * <enumeration value="family:Child"/> - * <enumeration value="family:Sibling"/> - * <enumeration value="family:Grandparent"/> - * <enumeration value="family:Grandchild"/> - * <enumeration value="family:Spouse"/> - * <enumeration value="function:LegalGuardian"/> - * <enumeration value="function:IsGuardedBy"/> - * <enumeration value="function:Cohabitant"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "DefinedRelationType") -@XmlEnum -public enum DefinedRelationType { - - @XmlEnumValue("family:Parent") - FAMILY_PARENT("family:Parent"), - @XmlEnumValue("family:Child") - FAMILY_CHILD("family:Child"), - @XmlEnumValue("family:Sibling") - FAMILY_SIBLING("family:Sibling"), - @XmlEnumValue("family:Grandparent") - FAMILY_GRANDPARENT("family:Grandparent"), - @XmlEnumValue("family:Grandchild") - FAMILY_GRANDCHILD("family:Grandchild"), - @XmlEnumValue("family:Spouse") - FAMILY_SPOUSE("family:Spouse"), - @XmlEnumValue("function:LegalGuardian") - FUNCTION_LEGAL_GUARDIAN("function:LegalGuardian"), - @XmlEnumValue("function:IsGuardedBy") - FUNCTION_IS_GUARDED_BY("function:IsGuardedBy"), - @XmlEnumValue("function:Cohabitant") - FUNCTION_COHABITANT("function:Cohabitant"); - private final String value; - - DefinedRelationType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static DefinedRelationType fromValue(String v) { - for (DefinedRelationType c: DefinedRelationType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/IdentificationType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/IdentificationType.java deleted file mode 100644 index ae647fb5..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/IdentificationType.java +++ /dev/null @@ -1,333 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlID; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * unique identifier - * - * <p>Java class for IdentificationType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="IdentificationType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Value"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * <element name="Authority" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> - * <any/> - * </sequence> - * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "IdentificationType", propOrder = { - "value", - "type", - "authority", - "any" -}) -public class IdentificationType { - - @XmlElement(name = "Value", required = true) - protected IdentificationType.Value value; - @XmlElement(name = "Type", required = true) - @XmlSchemaType(name = "anyURI") - protected String type; - @XmlElement(name = "Authority") - @XmlSchemaType(name = "anyURI") - protected String authority; - @XmlAnyElement(lax = true) - protected List<Object> any; - @XmlAttribute(name = "Id") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlID - @XmlSchemaType(name = "ID") - protected String id; - @XmlAnyAttribute - private Map<QName, String> otherAttributes = new HashMap<QName, String>(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link IdentificationType.Value } - * - */ - public IdentificationType.Value getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link IdentificationType.Value } - * - */ - public void setValue(IdentificationType.Value value) { - this.value = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the authority property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAuthority() { - return authority; - } - - /** - * Sets the value of the authority property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAuthority(String value) { - this.authority = value; - } - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * <p> - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map<QName, String> getOtherAttributes() { - return otherAttributes; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Value { - - @XmlValue - protected String value; - @XmlAttribute(name = "Id") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlID - @XmlSchemaType(name = "ID") - protected String id; - - /** - * 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 id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/InternetAddressType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/InternetAddressType.java deleted file mode 100644 index 4787d299..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/InternetAddressType.java +++ /dev/null @@ -1,158 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3._2000._09.xmldsig_.KeyInfoType; -import org.w3c.dom.Element; - - -/** - * internet based communication - * - * <p>Java class for InternetAddressType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="InternetAddressType"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> - * <sequence minOccurs="0"> - * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> - * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * <any/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InternetAddressType", propOrder = { - "keyInfo", - "address", - "any" -}) -public class InternetAddressType - extends AbstractAddressType -{ - - @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") - protected KeyInfoType keyInfo; - @XmlElement(name = "Address") - @XmlSchemaType(name = "anyURI") - protected String address; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * certificate for secure communication - * - * @return - * possible object is - * {@link KeyInfoType } - * - */ - public KeyInfoType getKeyInfo() { - return keyInfo; - } - - /** - * Sets the value of the keyInfo property. - * - * @param value - * allowed object is - * {@link KeyInfoType } - * - */ - public void setKeyInfo(KeyInfoType value) { - this.keyInfo = value; - } - - /** - * Gets the value of the address property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAddress() { - return address; - } - - /** - * Sets the value of the address property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAddress(String value) { - this.address = value; - } - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/MaritalStatusType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/MaritalStatusType.java deleted file mode 100644 index 06a0cf72..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/MaritalStatusType.java +++ /dev/null @@ -1,80 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for MaritalStatusType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="MaritalStatusType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> - * <enumeration value="single"/> - * <enumeration value="married"/> - * <enumeration value="divorced"/> - * <enumeration value="widowed"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "MaritalStatusType") -@XmlEnum -public enum MaritalStatusType { - - @XmlEnumValue("single") - SINGLE("single"), - @XmlEnumValue("married") - MARRIED("married"), - @XmlEnumValue("divorced") - DIVORCED("divorced"), - @XmlEnumValue("widowed") - WIDOWED("widowed"); - private final String value; - - MaritalStatusType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static MaritalStatusType fromValue(String v) { - for (MaritalStatusType c: MaritalStatusType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/MobileTelcomNumberType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/MobileTelcomNumberType.java deleted file mode 100644 index 3ee9e156..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/MobileTelcomNumberType.java +++ /dev/null @@ -1,83 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for MobileTelcomNumberType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="MobileTelcomNumberType"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberType"> - * <attribute name="smsEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MobileTelcomNumberType") -public class MobileTelcomNumberType - extends TelcomNumberType -{ - - @XmlAttribute - protected Boolean smsEnabled; - - /** - * Gets the value of the smsEnabled property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isSmsEnabled() { - return smsEnabled; - } - - /** - * Sets the value of the smsEnabled property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setSmsEnabled(Boolean value) { - this.smsEnabled = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/ObjectFactory.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/ObjectFactory.java deleted file mode 100644 index 53e21a04..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the at.gv.e_government.reference.namespace.persondata._20020228_ package. - * <p>An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _NationalNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "NationalNumber"); - private final static QName _TypedPostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TypedPostalAddress"); - private final static QName _Extension_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Extension"); - private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Address"); - private final static QName _PhysicalPerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PhysicalPerson"); - private final static QName _InternationalCountryCode_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternationalCountryCode"); - private final static QName _CorporateBody_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CorporateBody"); - private final static QName _Mobile_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Mobile"); - private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Person"); - private final static QName _AreaCityCode_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AreaCityCode"); - private final static QName _Pager_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Pager"); - private final static QName _TTYTDD_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TTYTDD"); - private final static QName _PersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PersonData"); - private final static QName _SubscriberNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "SubscriberNumber"); - private final static QName _Fax_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Fax"); - private final static QName _PersonName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PersonName"); - private final static QName _Telephone_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Telephone"); - private final static QName _PostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PostalAddress"); - private final static QName _TelephoneAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TelephoneAddress"); - private final static QName _InternetAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternetAddress"); - private final static QName _FormattedNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "FormattedNumber"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.e_government.reference.namespace.persondata._20020228_ - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link PersonDataType } - * - */ - public PersonDataType createPersonDataType() { - return new PersonDataType(); - } - - /** - * Create an instance of {@link PhysicalPersonType } - * - */ - public PhysicalPersonType createPhysicalPersonType() { - return new PhysicalPersonType(); - } - - /** - * Create an instance of {@link PersonNameType.Affix } - * - */ - public PersonNameType.Affix createPersonNameTypeAffix() { - return new PersonNameType.Affix(); - } - - /** - * Create an instance of {@link PostalAddressType } - * - */ - public PostalAddressType createPostalAddressType() { - return new PostalAddressType(); - } - - /** - * Create an instance of {@link TypedPostalAddressType } - * - */ - public TypedPostalAddressType createTypedPostalAddressType() { - return new TypedPostalAddressType(); - } - - /** - * Create an instance of {@link TelcomNumberType } - * - */ - public TelcomNumberType createTelcomNumberType() { - return new TelcomNumberType(); - } - - /** - * Create an instance of {@link PhysicalPersonType.AlternativeName } - * - */ - public PhysicalPersonType.AlternativeName createPhysicalPersonTypeAlternativeName() { - return new PhysicalPersonType.AlternativeName(); - } - - /** - * Create an instance of {@link TelephoneAddressType } - * - */ - public TelephoneAddressType createTelephoneAddressType() { - return new TelephoneAddressType(); - } - - /** - * Create an instance of {@link MobileTelcomNumberType } - * - */ - public MobileTelcomNumberType createMobileTelcomNumberType() { - return new MobileTelcomNumberType(); - } - - /** - * Create an instance of {@link TelcomNumberListType } - * - */ - public TelcomNumberListType createTelcomNumberListType() { - return new TelcomNumberListType(); - } - - /** - * Create an instance of {@link CorporateBodyType } - * - */ - public CorporateBodyType createCorporateBodyType() { - return new CorporateBodyType(); - } - - /** - * Create an instance of {@link PhysicalPersonType.RelatedPerson } - * - */ - public PhysicalPersonType.RelatedPerson createPhysicalPersonTypeRelatedPerson() { - return new PhysicalPersonType.RelatedPerson(); - } - - /** - * Create an instance of {@link PersonNameType.FormattedName } - * - */ - public PersonNameType.FormattedName createPersonNameTypeFormattedName() { - return new PersonNameType.FormattedName(); - } - - /** - * Create an instance of {@link PersonNameType } - * - */ - public PersonNameType createPersonNameType() { - return new PersonNameType(); - } - - /** - * Create an instance of {@link PostalAddressType.DeliveryAddress } - * - */ - public PostalAddressType.DeliveryAddress createPostalAddressTypeDeliveryAddress() { - return new PostalAddressType.DeliveryAddress(); - } - - /** - * Create an instance of {@link PersonNameType.FamilyName } - * - */ - public PersonNameType.FamilyName createPersonNameTypeFamilyName() { - return new PersonNameType.FamilyName(); - } - - /** - * Create an instance of {@link PersonDataType.AdditionalData } - * - */ - public PersonDataType.AdditionalData createPersonDataTypeAdditionalData() { - return new PersonDataType.AdditionalData(); - } - - /** - * Create an instance of {@link PostalAddressType.Recipient } - * - */ - public PostalAddressType.Recipient createPostalAddressTypeRecipient() { - return new PostalAddressType.Recipient(); - } - - /** - * Create an instance of {@link IdentificationType.Value } - * - */ - public IdentificationType.Value createIdentificationTypeValue() { - return new IdentificationType.Value(); - } - - /** - * Create an instance of {@link IdentificationType } - * - */ - public IdentificationType createIdentificationType() { - return new IdentificationType(); - } - - /** - * Create an instance of {@link InternetAddressType } - * - */ - public InternetAddressType createInternetAddressType() { - return new InternetAddressType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "NationalNumber") - public JAXBElement<String> createNationalNumber(String value) { - return new JAXBElement<String>(_NationalNumber_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link TypedPostalAddressType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TypedPostalAddress") - public JAXBElement<TypedPostalAddressType> createTypedPostalAddress(TypedPostalAddressType value) { - return new JAXBElement<TypedPostalAddressType>(_TypedPostalAddress_QNAME, TypedPostalAddressType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Extension") - public JAXBElement<String> createExtension(String value) { - return new JAXBElement<String>(_Extension_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Address") - public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { - return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PhysicalPerson") - public JAXBElement<PhysicalPersonType> createPhysicalPerson(PhysicalPersonType value) { - return new JAXBElement<PhysicalPersonType>(_PhysicalPerson_QNAME, PhysicalPersonType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "InternationalCountryCode") - public JAXBElement<String> createInternationalCountryCode(String value) { - return new JAXBElement<String>(_InternationalCountryCode_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CorporateBody") - public JAXBElement<CorporateBodyType> createCorporateBody(CorporateBodyType value) { - return new JAXBElement<CorporateBodyType>(_CorporateBody_QNAME, CorporateBodyType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link MobileTelcomNumberType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Mobile") - public JAXBElement<MobileTelcomNumberType> createMobile(MobileTelcomNumberType value) { - return new JAXBElement<MobileTelcomNumberType>(_Mobile_QNAME, MobileTelcomNumberType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Person") - public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { - return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "AreaCityCode") - public JAXBElement<String> createAreaCityCode(String value) { - return new JAXBElement<String>(_AreaCityCode_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Pager") - public JAXBElement<TelcomNumberType> createPager(TelcomNumberType value) { - return new JAXBElement<TelcomNumberType>(_Pager_QNAME, TelcomNumberType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TTYTDD") - public JAXBElement<TelcomNumberType> createTTYTDD(TelcomNumberType value) { - return new JAXBElement<TelcomNumberType>(_TTYTDD_QNAME, TelcomNumberType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link PersonDataType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PersonData") - public JAXBElement<PersonDataType> createPersonData(PersonDataType value) { - return new JAXBElement<PersonDataType>(_PersonData_QNAME, PersonDataType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "SubscriberNumber") - public JAXBElement<String> createSubscriberNumber(String value) { - return new JAXBElement<String>(_SubscriberNumber_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Fax") - public JAXBElement<TelcomNumberType> createFax(TelcomNumberType value) { - return new JAXBElement<TelcomNumberType>(_Fax_QNAME, TelcomNumberType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link PersonNameType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PersonName") - public JAXBElement<PersonNameType> createPersonName(PersonNameType value) { - return new JAXBElement<PersonNameType>(_PersonName_QNAME, PersonNameType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Telephone") - public JAXBElement<TelcomNumberType> createTelephone(TelcomNumberType value) { - return new JAXBElement<TelcomNumberType>(_Telephone_QNAME, TelcomNumberType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PostalAddress") - public JAXBElement<PostalAddressType> createPostalAddress(PostalAddressType value) { - return new JAXBElement<PostalAddressType>(_PostalAddress_QNAME, PostalAddressType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TelephoneAddress") - public JAXBElement<TelephoneAddressType> createTelephoneAddress(TelephoneAddressType value) { - return new JAXBElement<TelephoneAddressType>(_TelephoneAddress_QNAME, TelephoneAddressType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "InternetAddress") - public JAXBElement<InternetAddressType> createInternetAddress(InternetAddressType value) { - return new JAXBElement<InternetAddressType>(_InternetAddress_QNAME, InternetAddressType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "FormattedNumber") - public JAXBElement<String> createFormattedNumber(String value) { - return new JAXBElement<String>(_FormattedNumber_QNAME, String.class, null, value); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PersonDataType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PersonDataType.java deleted file mode 100644 index 345e03ab..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PersonDataType.java +++ /dev/null @@ -1,262 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlMixed; -import javax.xml.bind.annotation.XmlType; -import org.w3._2000._09.xmldsig_.SignatureType; -import org.w3c.dom.Element; - - -/** - * signed person datastructure. The first Identification elements (from the base type) denote the record as such (e.g. database key for this record) - not to be mistaken for identifiers of the person or of an address (they have their own Identification elements). - * - * <p>Java class for PersonDataType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="PersonDataType"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> - * <sequence> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" maxOccurs="unbounded" minOccurs="0"/> - * <element name="AdditionalData" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PersonDataType", propOrder = { - "person", - "address", - "signature", - "additionalData" -}) -public class PersonDataType - extends AbstractPersonType -{ - - @XmlElement(name = "Person", required = true) - protected AbstractPersonType person; - @XmlElement(name = "Address") - protected List<AbstractAddressType> address; - @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") - protected List<SignatureType> signature; - @XmlElement(name = "AdditionalData") - protected PersonDataType.AdditionalData additionalData; - - /** - * Gets the value of the person property. - * - * @return - * possible object is - * {@link AbstractPersonType } - * - */ - public AbstractPersonType getPerson() { - return person; - } - - /** - * Sets the value of the person property. - * - * @param value - * allowed object is - * {@link AbstractPersonType } - * - */ - public void setPerson(AbstractPersonType value) { - this.person = value; - } - - /** - * Gets the value of the address 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 address property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAddress().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link AbstractAddressType } - * - * - */ - public List<AbstractAddressType> getAddress() { - if (address == null) { - address = new ArrayList<AbstractAddressType>(); - } - return this.address; - } - - /** - * one or more electronic signatures applied on fields above Gets the value of the signature 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 signature property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getSignature().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link SignatureType } - * - * - */ - public List<SignatureType> getSignature() { - if (signature == null) { - signature = new ArrayList<SignatureType>(); - } - return this.signature; - } - - /** - * Gets the value of the additionalData property. - * - * @return - * possible object is - * {@link PersonDataType.AdditionalData } - * - */ - public PersonDataType.AdditionalData getAdditionalData() { - return additionalData; - } - - /** - * Sets the value of the additionalData property. - * - * @param value - * allowed object is - * {@link PersonDataType.AdditionalData } - * - */ - public void setAdditionalData(PersonDataType.AdditionalData value) { - this.additionalData = value; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <any/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "content" - }) - public static class AdditionalData { - - @XmlMixed - @XmlAnyElement(lax = true) - protected List<Object> 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 Object } - * {@link String } - * {@link Element } - * - * - */ - public List<Object> getContent() { - if (content == null) { - content = new ArrayList<Object>(); - } - return this.content; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PersonNameType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PersonNameType.java deleted file mode 100644 index 5534897c..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PersonNameType.java +++ /dev/null @@ -1,636 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; - - -/** - * <p>Java class for PersonNameType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="PersonNameType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="FormattedName" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="type" default="presentation"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="presentation"/> - * <enumeration value="legal"/> - * <enumeration value="sortOrder"/> - * </restriction> - * </simpleType> - * </attribute> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * <element name="LegalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="PreferredGivenName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="MiddleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="FamilyName" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="primary" default="undefined"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="true"/> - * <enumeration value="false"/> - * <enumeration value="undefined"/> - * </restriction> - * </simpleType> - * </attribute> - * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="type" use="required"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="academicGrade"/> - * <enumeration value="aristocraticPrefix"/> - * <enumeration value="aristocraticTitle"/> - * <enumeration value="familyNamePrefix"/> - * <enumeration value="familyNameSuffix"/> - * <enumeration value="formOfAddress"/> - * <enumeration value="generation"/> - * <enumeration value="qualification"/> - * </restriction> - * </simpleType> - * </attribute> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PersonNameType", propOrder = { - "formattedName", - "legalName", - "givenName", - "preferredGivenName", - "middleName", - "familyName", - "affix" -}) -@XmlSeeAlso({ - at.gv.e_government.reference.namespace.persondata._20020228_.PhysicalPersonType.AlternativeName.class -}) -public class PersonNameType { - - @XmlElement(name = "FormattedName") - protected List<PersonNameType.FormattedName> formattedName; - @XmlElement(name = "LegalName") - protected String legalName; - @XmlElement(name = "GivenName") - protected List<String> givenName; - @XmlElement(name = "PreferredGivenName") - protected String preferredGivenName; - @XmlElement(name = "MiddleName") - protected String middleName; - @XmlElement(name = "FamilyName") - protected List<PersonNameType.FamilyName> familyName; - @XmlElement(name = "Affix") - protected List<PersonNameType.Affix> affix; - - /** - * Gets the value of the formattedName 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 formattedName property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getFormattedName().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link PersonNameType.FormattedName } - * - * - */ - public List<PersonNameType.FormattedName> getFormattedName() { - if (formattedName == null) { - formattedName = new ArrayList<PersonNameType.FormattedName>(); - } - return this.formattedName; - } - - /** - * Gets the value of the legalName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLegalName() { - return legalName; - } - - /** - * Sets the value of the legalName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLegalName(String value) { - this.legalName = value; - } - - /** - * Gets the value of the givenName 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 givenName property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getGivenName().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getGivenName() { - if (givenName == null) { - givenName = new ArrayList<String>(); - } - return this.givenName; - } - - /** - * Gets the value of the preferredGivenName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPreferredGivenName() { - return preferredGivenName; - } - - /** - * Sets the value of the preferredGivenName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPreferredGivenName(String value) { - this.preferredGivenName = value; - } - - /** - * Gets the value of the middleName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMiddleName() { - return middleName; - } - - /** - * Sets the value of the middleName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMiddleName(String value) { - this.middleName = value; - } - - /** - * Gets the value of the familyName 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 familyName property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getFamilyName().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link PersonNameType.FamilyName } - * - * - */ - public List<PersonNameType.FamilyName> getFamilyName() { - if (familyName == null) { - familyName = new ArrayList<PersonNameType.FamilyName>(); - } - return this.familyName; - } - - /** - * Gets the value of the affix 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 affix property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAffix().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link PersonNameType.Affix } - * - * - */ - public List<PersonNameType.Affix> getAffix() { - if (affix == null) { - affix = new ArrayList<PersonNameType.Affix>(); - } - return this.affix; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="type" use="required"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="academicGrade"/> - * <enumeration value="aristocraticPrefix"/> - * <enumeration value="aristocraticTitle"/> - * <enumeration value="familyNamePrefix"/> - * <enumeration value="familyNameSuffix"/> - * <enumeration value="formOfAddress"/> - * <enumeration value="generation"/> - * <enumeration value="qualification"/> - * </restriction> - * </simpleType> - * </attribute> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Affix { - - @XmlValue - protected String value; - @XmlAttribute(required = true) - protected String type; - - /** - * 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 type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="primary" default="undefined"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="true"/> - * <enumeration value="false"/> - * <enumeration value="undefined"/> - * </restriction> - * </simpleType> - * </attribute> - * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class FamilyName { - - @XmlValue - protected String value; - @XmlAttribute - protected String primary; - @XmlAttribute - protected String prefix; - - /** - * 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 primary property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPrimary() { - if (primary == null) { - return "undefined"; - } else { - return primary; - } - } - - /** - * Sets the value of the primary property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPrimary(String value) { - this.primary = value; - } - - /** - * Gets the value of the prefix property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPrefix() { - return prefix; - } - - /** - * Sets the value of the prefix property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPrefix(String value) { - this.prefix = value; - } - - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="type" default="presentation"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="presentation"/> - * <enumeration value="legal"/> - * <enumeration value="sortOrder"/> - * </restriction> - * </simpleType> - * </attribute> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class FormattedName { - - @XmlValue - protected String value; - @XmlAttribute - protected String type; - - /** - * 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 type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - if (type == null) { - return "presentation"; - } else { - return type; - } - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PhysicalPersonType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PhysicalPersonType.java deleted file mode 100644 index e3b31fd2..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PhysicalPersonType.java +++ /dev/null @@ -1,565 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import org.w3c.dom.Element; - - -/** - * physical person - * - * <p>Java class for PhysicalPersonType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="PhysicalPersonType"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> - * <sequence minOccurs="0"> - * <element name="Name" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/> - * <element name="AlternativeName" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType"> - * <attribute name="Type" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeNameTypeType" /> - * </extension> - * </complexContent> - * </complexType> - * </element> - * <element name="MaritalStatus" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}MaritalStatusType" minOccurs="0"/> - * <element name="Sex" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}SexType" minOccurs="0"/> - * <element name="DateOfBirth" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfBirthType" minOccurs="0"/> - * <element name="PlaceOfBirth" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> - * <element name="CountryOfBirth" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> - * <element name="Nationality" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> - * <element name="Confession" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> - * <element name="relatedPerson" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="TypeOfRelation" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}RelationType" maxOccurs="unbounded"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PhysicalPersonType", propOrder = { - "name", - "alternativeName", - "maritalStatus", - "sex", - "dateOfBirth", - "placeOfBirth", - "countryOfBirth", - "nationality", - "confession", - "relatedPerson", - "any" -}) -public class PhysicalPersonType - extends AbstractPersonType -{ - - @XmlElement(name = "Name") - protected PersonNameType name; - @XmlElement(name = "AlternativeName") - protected List<PhysicalPersonType.AlternativeName> alternativeName; - @XmlElement(name = "MaritalStatus") - protected MaritalStatusType maritalStatus; - @XmlElement(name = "Sex") - protected SexType sex; - @XmlElement(name = "DateOfBirth") - protected String dateOfBirth; - @XmlElement(name = "PlaceOfBirth") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String placeOfBirth; - @XmlElement(name = "CountryOfBirth") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String countryOfBirth; - @XmlElement(name = "Nationality") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected List<String> nationality; - @XmlElement(name = "Confession") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String confession; - protected List<PhysicalPersonType.RelatedPerson> relatedPerson; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link PersonNameType } - * - */ - public PersonNameType getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link PersonNameType } - * - */ - public void setName(PersonNameType value) { - this.name = value; - } - - /** - * Gets the value of the alternativeName 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 alternativeName property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAlternativeName().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link PhysicalPersonType.AlternativeName } - * - * - */ - public List<PhysicalPersonType.AlternativeName> getAlternativeName() { - if (alternativeName == null) { - alternativeName = new ArrayList<PhysicalPersonType.AlternativeName>(); - } - return this.alternativeName; - } - - /** - * Gets the value of the maritalStatus property. - * - * @return - * possible object is - * {@link MaritalStatusType } - * - */ - public MaritalStatusType getMaritalStatus() { - return maritalStatus; - } - - /** - * Sets the value of the maritalStatus property. - * - * @param value - * allowed object is - * {@link MaritalStatusType } - * - */ - public void setMaritalStatus(MaritalStatusType value) { - this.maritalStatus = value; - } - - /** - * Gets the value of the sex property. - * - * @return - * possible object is - * {@link SexType } - * - */ - public SexType getSex() { - return sex; - } - - /** - * Sets the value of the sex property. - * - * @param value - * allowed object is - * {@link SexType } - * - */ - public void setSex(SexType value) { - this.sex = value; - } - - /** - * Gets the value of the dateOfBirth property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDateOfBirth() { - return dateOfBirth; - } - - /** - * Sets the value of the dateOfBirth property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDateOfBirth(String value) { - this.dateOfBirth = value; - } - - /** - * Gets the value of the placeOfBirth property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPlaceOfBirth() { - return placeOfBirth; - } - - /** - * Sets the value of the placeOfBirth property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPlaceOfBirth(String value) { - this.placeOfBirth = value; - } - - /** - * Gets the value of the countryOfBirth property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCountryOfBirth() { - return countryOfBirth; - } - - /** - * Sets the value of the countryOfBirth property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCountryOfBirth(String value) { - this.countryOfBirth = value; - } - - /** - * Gets the value of the nationality 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 nationality property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getNationality().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getNationality() { - if (nationality == null) { - nationality = new ArrayList<String>(); - } - return this.nationality; - } - - /** - * Gets the value of the confession property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfession() { - return confession; - } - - /** - * Sets the value of the confession property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfession(String value) { - this.confession = value; - } - - /** - * Gets the value of the relatedPerson 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 relatedPerson property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getRelatedPerson().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link PhysicalPersonType.RelatedPerson } - * - * - */ - public List<PhysicalPersonType.RelatedPerson> getRelatedPerson() { - if (relatedPerson == null) { - relatedPerson = new ArrayList<PhysicalPersonType.RelatedPerson>(); - } - return this.relatedPerson; - } - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType"> - * <attribute name="Type" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeNameTypeType" /> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class AlternativeName - extends PersonNameType - { - - @XmlAttribute(name = "Type") - protected String type; - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="TypeOfRelation" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}RelationType" maxOccurs="unbounded"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "typeOfRelation", - "person" - }) - public static class RelatedPerson { - - @XmlElement(name = "TypeOfRelation", required = true) - protected List<String> typeOfRelation; - @XmlElement(name = "Person", required = true) - protected AbstractPersonType person; - - /** - * Gets the value of the typeOfRelation 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 typeOfRelation property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getTypeOfRelation().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getTypeOfRelation() { - if (typeOfRelation == null) { - typeOfRelation = new ArrayList<String>(); - } - return this.typeOfRelation; - } - - /** - * Gets the value of the person property. - * - * @return - * possible object is - * {@link AbstractPersonType } - * - */ - public AbstractPersonType getPerson() { - return person; - } - - /** - * Sets the value of the person property. - * - * @param value - * allowed object is - * {@link AbstractPersonType } - * - */ - public void setPerson(AbstractPersonType value) { - this.person = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PostalAddressType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PostalAddressType.java deleted file mode 100644 index bdda75c2..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/PostalAddressType.java +++ /dev/null @@ -1,627 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for PostalAddressType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="PostalAddressType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="CountryCode" minOccurs="0"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <pattern value="[A-Z]{2}"/> - * </restriction> - * </simpleType> - * </element> - * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Region" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="DeliveryAddress" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="PostOfficeBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <element name="Recipient" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="PersonName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/> - * <element name="AdditionalText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="OrganizationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </sequence> - * <attribute name="type" default="undefined"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="postOfficeBoxAddress"/> - * <enumeration value="streetAddress"/> - * <enumeration value="militaryAddress"/> - * <enumeration value="undefined"/> - * </restriction> - * </simpleType> - * </attribute> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PostalAddressType", propOrder = { - "countryCode", - "postalCode", - "region", - "municipality", - "deliveryAddress", - "recipient" -}) -public class PostalAddressType { - - @XmlElement(name = "CountryCode") - protected String countryCode; - @XmlElement(name = "PostalCode") - protected String postalCode; - @XmlElement(name = "Region") - protected List<String> region; - @XmlElement(name = "Municipality") - protected String municipality; - @XmlElement(name = "DeliveryAddress") - protected PostalAddressType.DeliveryAddress deliveryAddress; - @XmlElement(name = "Recipient") - protected List<PostalAddressType.Recipient> recipient; - @XmlAttribute - protected String type; - - /** - * Gets the value of the countryCode property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCountryCode() { - return countryCode; - } - - /** - * Sets the value of the countryCode property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCountryCode(String value) { - this.countryCode = value; - } - - /** - * Gets the value of the postalCode property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPostalCode() { - return postalCode; - } - - /** - * Sets the value of the postalCode property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPostalCode(String value) { - this.postalCode = value; - } - - /** - * Gets the value of the region 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 region property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getRegion().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getRegion() { - if (region == null) { - region = new ArrayList<String>(); - } - return this.region; - } - - /** - * Gets the value of the municipality property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMunicipality() { - return municipality; - } - - /** - * Sets the value of the municipality property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMunicipality(String value) { - this.municipality = value; - } - - /** - * Gets the value of the deliveryAddress property. - * - * @return - * possible object is - * {@link PostalAddressType.DeliveryAddress } - * - */ - public PostalAddressType.DeliveryAddress getDeliveryAddress() { - return deliveryAddress; - } - - /** - * Sets the value of the deliveryAddress property. - * - * @param value - * allowed object is - * {@link PostalAddressType.DeliveryAddress } - * - */ - public void setDeliveryAddress(PostalAddressType.DeliveryAddress value) { - this.deliveryAddress = value; - } - - /** - * Gets the value of the recipient 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 recipient property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getRecipient().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link PostalAddressType.Recipient } - * - * - */ - public List<PostalAddressType.Recipient> getRecipient() { - if (recipient == null) { - recipient = new ArrayList<PostalAddressType.Recipient>(); - } - return this.recipient; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - if (type == null) { - return "undefined"; - } else { - return type; - } - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="PostOfficeBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "addressLine", - "streetName", - "buildingNumber", - "unit", - "postOfficeBox" - }) - public static class DeliveryAddress { - - @XmlElement(name = "AddressLine") - protected List<String> addressLine; - @XmlElement(name = "StreetName") - protected String streetName; - @XmlElement(name = "BuildingNumber") - protected String buildingNumber; - @XmlElement(name = "Unit") - protected String unit; - @XmlElement(name = "PostOfficeBox") - protected String postOfficeBox; - - /** - * Gets the value of the addressLine 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 addressLine property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAddressLine().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getAddressLine() { - if (addressLine == null) { - addressLine = new ArrayList<String>(); - } - return this.addressLine; - } - - /** - * Gets the value of the streetName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStreetName() { - return streetName; - } - - /** - * Sets the value of the streetName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStreetName(String value) { - this.streetName = value; - } - - /** - * Gets the value of the buildingNumber property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBuildingNumber() { - return buildingNumber; - } - - /** - * Sets the value of the buildingNumber property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBuildingNumber(String value) { - this.buildingNumber = value; - } - - /** - * Gets the value of the unit property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getUnit() { - return unit; - } - - /** - * Sets the value of the unit property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setUnit(String value) { - this.unit = value; - } - - /** - * Gets the value of the postOfficeBox property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPostOfficeBox() { - return postOfficeBox; - } - - /** - * Sets the value of the postOfficeBox property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPostOfficeBox(String value) { - this.postOfficeBox = value; - } - - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="PersonName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/> - * <element name="AdditionalText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="OrganizationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "personName", - "additionalText", - "organization", - "organizationName" - }) - public static class Recipient { - - @XmlElement(name = "PersonName") - protected PersonNameType personName; - @XmlElement(name = "AdditionalText") - protected List<String> additionalText; - @XmlElement(name = "Organization") - protected String organization; - @XmlElement(name = "OrganizationName") - protected String organizationName; - - /** - * Gets the value of the personName property. - * - * @return - * possible object is - * {@link PersonNameType } - * - */ - public PersonNameType getPersonName() { - return personName; - } - - /** - * Sets the value of the personName property. - * - * @param value - * allowed object is - * {@link PersonNameType } - * - */ - public void setPersonName(PersonNameType value) { - this.personName = value; - } - - /** - * Gets the value of the additionalText 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 additionalText property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAdditionalText().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getAdditionalText() { - if (additionalText == null) { - additionalText = new ArrayList<String>(); - } - return this.additionalText; - } - - /** - * Gets the value of the organization property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getOrganization() { - return organization; - } - - /** - * Sets the value of the organization property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setOrganization(String value) { - this.organization = value; - } - - /** - * Gets the value of the organizationName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getOrganizationName() { - return organizationName; - } - - /** - * Sets the value of the organizationName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setOrganizationName(String value) { - this.organizationName = value; - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/SexType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/SexType.java deleted file mode 100644 index c6231233..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/SexType.java +++ /dev/null @@ -1,77 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for SexType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="SexType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> - * <enumeration value="male"/> - * <enumeration value="female"/> - * <enumeration value="unknown"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "SexType") -@XmlEnum -public enum SexType { - - @XmlEnumValue("male") - MALE("male"), - @XmlEnumValue("female") - FEMALE("female"), - @XmlEnumValue("unknown") - UNKNOWN("unknown"); - private final String value; - - SexType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static SexType fromValue(String v) { - for (SexType c: SexType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelcomNumberListType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelcomNumberListType.java deleted file mode 100644 index 6a2cc863..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelcomNumberListType.java +++ /dev/null @@ -1,197 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for TelcomNumberListType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="TelcomNumberListType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Telephone" minOccurs="0"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Mobile" minOccurs="0"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Fax" minOccurs="0"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Pager" minOccurs="0"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TTYTDD" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TelcomNumberListType", propOrder = { - "telephone", - "mobile", - "fax", - "pager", - "ttytdd" -}) -public class TelcomNumberListType { - - @XmlElement(name = "Telephone") - protected TelcomNumberType telephone; - @XmlElement(name = "Mobile") - protected MobileTelcomNumberType mobile; - @XmlElement(name = "Fax") - protected TelcomNumberType fax; - @XmlElement(name = "Pager") - protected TelcomNumberType pager; - @XmlElement(name = "TTYTDD") - protected TelcomNumberType ttytdd; - - /** - * Gets the value of the telephone property. - * - * @return - * possible object is - * {@link TelcomNumberType } - * - */ - public TelcomNumberType getTelephone() { - return telephone; - } - - /** - * Sets the value of the telephone property. - * - * @param value - * allowed object is - * {@link TelcomNumberType } - * - */ - public void setTelephone(TelcomNumberType value) { - this.telephone = value; - } - - /** - * Gets the value of the mobile property. - * - * @return - * possible object is - * {@link MobileTelcomNumberType } - * - */ - public MobileTelcomNumberType getMobile() { - return mobile; - } - - /** - * Sets the value of the mobile property. - * - * @param value - * allowed object is - * {@link MobileTelcomNumberType } - * - */ - public void setMobile(MobileTelcomNumberType value) { - this.mobile = value; - } - - /** - * Gets the value of the fax property. - * - * @return - * possible object is - * {@link TelcomNumberType } - * - */ - public TelcomNumberType getFax() { - return fax; - } - - /** - * Sets the value of the fax property. - * - * @param value - * allowed object is - * {@link TelcomNumberType } - * - */ - public void setFax(TelcomNumberType value) { - this.fax = value; - } - - /** - * Gets the value of the pager property. - * - * @return - * possible object is - * {@link TelcomNumberType } - * - */ - public TelcomNumberType getPager() { - return pager; - } - - /** - * Sets the value of the pager property. - * - * @param value - * allowed object is - * {@link TelcomNumberType } - * - */ - public void setPager(TelcomNumberType value) { - this.pager = value; - } - - /** - * Gets the value of the ttytdd property. - * - * @return - * possible object is - * {@link TelcomNumberType } - * - */ - public TelcomNumberType getTTYTDD() { - return ttytdd; - } - - /** - * Sets the value of the ttytdd property. - * - * @param value - * allowed object is - * {@link TelcomNumberType } - * - */ - public void setTTYTDD(TelcomNumberType value) { - this.ttytdd = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelcomNumberType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelcomNumberType.java deleted file mode 100644 index 8b4aa3aa..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelcomNumberType.java +++ /dev/null @@ -1,225 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for TelcomNumberType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="TelcomNumberType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <choice> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}FormattedNumber"/> - * <group ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberGroup"/> - * </choice> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TelcomNumberType", propOrder = { - "formattedNumber", - "internationalCountryCode", - "nationalNumber", - "areaCityCode", - "subscriberNumber", - "extension" -}) -@XmlSeeAlso({ - MobileTelcomNumberType.class -}) -public class TelcomNumberType { - - @XmlElement(name = "FormattedNumber") - protected String formattedNumber; - @XmlElement(name = "InternationalCountryCode") - protected String internationalCountryCode; - @XmlElement(name = "NationalNumber") - protected String nationalNumber; - @XmlElement(name = "AreaCityCode") - protected String areaCityCode; - @XmlElement(name = "SubscriberNumber") - protected String subscriberNumber; - @XmlElement(name = "Extension") - protected String extension; - - /** - * Gets the value of the formattedNumber property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFormattedNumber() { - return formattedNumber; - } - - /** - * Sets the value of the formattedNumber property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFormattedNumber(String value) { - this.formattedNumber = value; - } - - /** - * Gets the value of the internationalCountryCode property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInternationalCountryCode() { - return internationalCountryCode; - } - - /** - * Sets the value of the internationalCountryCode property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInternationalCountryCode(String value) { - this.internationalCountryCode = value; - } - - /** - * Gets the value of the nationalNumber property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getNationalNumber() { - return nationalNumber; - } - - /** - * Sets the value of the nationalNumber property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setNationalNumber(String value) { - this.nationalNumber = value; - } - - /** - * Gets the value of the areaCityCode property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAreaCityCode() { - return areaCityCode; - } - - /** - * Sets the value of the areaCityCode property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAreaCityCode(String value) { - this.areaCityCode = value; - } - - /** - * Gets the value of the subscriberNumber property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSubscriberNumber() { - return subscriberNumber; - } - - /** - * Sets the value of the subscriberNumber property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSubscriberNumber(String value) { - this.subscriberNumber = value; - } - - /** - * Gets the value of the extension property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getExtension() { - return extension; - } - - /** - * Sets the value of the extension property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setExtension(String value) { - this.extension = value; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelephoneAddressType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelephoneAddressType.java deleted file mode 100644 index 9facdf9a..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TelephoneAddressType.java +++ /dev/null @@ -1,162 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * phone numbers - * - * <p>Java class for TelephoneAddressType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="TelephoneAddressType"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> - * <sequence minOccurs="0"> - * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> - * <element name="Number" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberType"/> - * <any/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TelephoneAddressType", propOrder = { - "type", - "number", - "any" -}) -public class TelephoneAddressType - extends AbstractAddressType -{ - - @XmlElement(name = "Type") - @XmlSchemaType(name = "anyURI") - protected List<String> type; - @XmlElement(name = "Number") - protected TelcomNumberType number; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the type 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 type property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getType().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getType() { - if (type == null) { - type = new ArrayList<String>(); - } - return this.type; - } - - /** - * Gets the value of the number property. - * - * @return - * possible object is - * {@link TelcomNumberType } - * - */ - public TelcomNumberType getNumber() { - return number; - } - - /** - * Sets the value of the number property. - * - * @param value - * allowed object is - * {@link TelcomNumberType } - * - */ - public void setNumber(TelcomNumberType value) { - this.number = value; - } - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TypedPostalAddressType.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TypedPostalAddressType.java deleted file mode 100644 index 3184b3e7..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/TypedPostalAddressType.java +++ /dev/null @@ -1,157 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - - -package at.gv.e_government.reference.namespace.persondata._20020228_; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * postal address - * - * <p>Java class for TypedPostalAddressType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="TypedPostalAddressType"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> - * <sequence minOccurs="0"> - * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PostalAddress"/> - * <any/> - * </sequence> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TypedPostalAddressType", propOrder = { - "type", - "postalAddress", - "any" -}) -public class TypedPostalAddressType - extends AbstractAddressType -{ - - @XmlElement(name = "Type") - @XmlSchemaType(name = "anyURI") - protected String type; - @XmlElement(name = "PostalAddress") - protected PostalAddressType postalAddress; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the postalAddress property. - * - * @return - * possible object is - * {@link PostalAddressType } - * - */ - public PostalAddressType getPostalAddress() { - return postalAddress; - } - - /** - * Sets the value of the postalAddress property. - * - * @param value - * allowed object is - * {@link PostalAddressType } - * - */ - public void setPostalAddress(PostalAddressType value) { - this.postalAddress = value; - } - - /** - * Gets the value of the any 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 any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/package-info.java b/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/package-info.java deleted file mode 100644 index f95c7b54..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/e_government/reference/namespace/persondata/_20020228_/package-info.java +++ /dev/null @@ -1,25 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 -// 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: 2008.07.21 at 09:43:54 AM GMT -// - -@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.gv.e_government.reference.namespace.persondata._20020228_; diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugOutputStream.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugOutputStream.java deleted file mode 100644 index 8516b76c..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugOutputStream.java +++ /dev/null @@ -1,48 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils; - -import java.io.ByteArrayOutputStream; -import java.io.FilterOutputStream; -import java.io.IOException; -import java.io.OutputStream; - -public class DebugOutputStream extends FilterOutputStream { - - private ByteArrayOutputStream buffer = new ByteArrayOutputStream(); - - public DebugOutputStream(OutputStream out) { - super(out); - } - - @Override - public void write(byte[] b, int off, int len) throws IOException { - buffer.write(b, off, len); - super.write(b, off, len); - } - - @Override - public void write(int b) throws IOException { - buffer.write(b); - super.write(b); - } - - public byte[] getBufferedBytes() { - return buffer.toByteArray(); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugReader.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugReader.java deleted file mode 100644 index cafe4a72..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugReader.java +++ /dev/null @@ -1,58 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils; - -import java.io.FilterReader; -import java.io.IOException; -import java.io.Reader; -import java.io.StringWriter; - -public class DebugReader extends FilterReader { - - private StringWriter buffer = new StringWriter(); - - public DebugReader(Reader in) { - super(in); - } - - public DebugReader(Reader in, String start) { - super(in); - buffer.write(start); - } - - @Override - public int read() throws IOException { - int c = super.read(); - if (c != -1) - buffer.write(c); - return c; - } - - @Override - public int read(char[] cbuf, int off, int len) throws IOException { - int l = super.read(cbuf, off, len); - if (l != -1 ) { - buffer.write(cbuf, off, l); - } - return l; - } - - public String getCachedString() { - return buffer.toString(); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugWriter.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugWriter.java deleted file mode 100644 index 5566f927..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/DebugWriter.java +++ /dev/null @@ -1,55 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils; - -import java.io.FilterWriter; -import java.io.IOException; -import java.io.StringWriter; -import java.io.Writer; - -public class DebugWriter extends FilterWriter { - - private Writer buffer = new StringWriter(); - - public DebugWriter(Writer out) { - super(out); - } - - @Override - public void write(char[] cbuf, int off, int len) throws IOException { - buffer.write(cbuf, off, len); - super.write(cbuf, off, len); - } - - @Override - public void write(String str, int off, int len) throws IOException { - buffer.write(str, off, len); - super.write(str, off, len); - } - - @Override - public void write(int c) throws IOException { - buffer.write(c); - super.write(c); - } - - public String getBufferedString() { - return buffer.toString(); - } - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/HexDump.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/HexDump.java deleted file mode 100644 index 88d49bad..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/HexDump.java +++ /dev/null @@ -1,75 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringWriter;
-import java.io.Writer;
-
-public class HexDump {
-
- public static String hexDump(InputStream is) throws IOException {
- StringWriter writer = new StringWriter();
- hexDump(is, writer);
- return writer.toString();
- }
-
- public static void hexDump(InputStream is, Writer writer) throws IOException {
- hexDump(is, writer, 16);
- }
-
- public static void hexDump(InputStream is, Writer writer, int chunkSize) throws IOException {
-
- byte[] chunk = new byte[chunkSize];
- long adr = 0;
- for (int l; (l = is.read(chunk)) != -1;) {
-
- writer.append(String.format("[%06x]", adr));
- for (int i = 0; i < l; i++) {
- if (i % 8 == 0) {
- writer.append(" ");
- } else {
- writer.append(":");
- }
- writer.append(Integer.toHexString((chunk[i] & 240) >> 4));
- writer.append(Integer.toHexString(chunk[i] & 15));
- }
-
- for (int i = 0; i < (chunkSize - l); i++) {
- writer.append(" ");
- }
-
- for (int i = 0; i < l; i++) {
- if (i % 8 == 0) {
- writer.append(" ");
- }
- if (chunk[i] > 31 && chunk[i] < 127) {
- writer.append((char) chunk[i]);
- } else {
- writer.append(".");
- }
- }
-
- writer.append("\n");
- adr += l;
-
- }
-
- }
-
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/NullOutputStream.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/NullOutputStream.java deleted file mode 100644 index edbd9c01..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/NullOutputStream.java +++ /dev/null @@ -1,10 +0,0 @@ -package at.gv.egiz.bku.utils;
-
-import java.io.IOException;
-import java.io.OutputStream;
-
-public class NullOutputStream extends OutputStream {
- @Override
- public void write(int b) throws IOException {
- }
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/StreamUtil.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/StreamUtil.java deleted file mode 100644 index a774df2b..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/StreamUtil.java +++ /dev/null @@ -1,101 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.Reader;
-import java.io.Writer;
-
-public class StreamUtil {
-
- /**
- * Copies data. None of the streams will be closed.
- *
- * @param is
- * @param os
- * @throws IOException
- */
- public static void copyStream(InputStream is, OutputStream os)
- throws IOException {
- copyStream(is, os, 1024);
- }
-
- /**
- * Copies data. None of the streams will be closed.
- *
- * @param is
- * @param os
- * @throws IOException
- */
- public static void copyStream(InputStream is, OutputStream os, int bufferSize)
- throws IOException {
- byte[] buffer = new byte[bufferSize];
- copyStream(is, os, buffer);
- }
-
- /**
- * Copies data. None of the streams will be closed.
- *
- * @param is
- * @param os
- * @throws IOException
- */
- public static void copyStream(InputStream is, OutputStream os, byte[] buffer)
- throws IOException {
- for (int i = is.read(buffer); i > -1; i = is.read(buffer)) {
- os.write(buffer, 0, i);
- }
- }
-
- /**
- * Copies data. None of the streams will be closed.
- *
- * @param is
- * @param os
- * @throws IOException
- */
- public static void copyStream(Reader is, Writer os)
- throws IOException {
- copyStream(is, os, 1024);
- }
-
- /**
- * Copies data. None of the streams will be closed.
- *
- * @param is
- * @param os
- * @throws IOException
- */
- public static void copyStream(Reader is, Writer os, int bufferSize)
- throws IOException {
- char[] chars = new char[bufferSize];
- for (int i = is.read(chars); i > -1; i = is.read(chars)) {
- os.write(chars, 0, i);
- }
- }
-
-
- public static String asString(InputStream is, String charset)
- throws IOException {
- ByteArrayOutputStream os = new ByteArrayOutputStream();
- copyStream(is, os);
- return new String(os.toByteArray(), charset);
- }
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingInputStream.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingInputStream.java deleted file mode 100644 index 28ef6b88..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingInputStream.java +++ /dev/null @@ -1,62 +0,0 @@ -/** - * - */ -package at.gv.egiz.bku.utils; - -import java.io.IOException; -import java.io.InputStream; -import java.nio.CharBuffer; - -/** - * @author mcentner - * - */ -public class URLEncodingInputStream extends InputStream { - - private char[] buffer = new char[1]; - - private CharBuffer charBuffer = CharBuffer.wrap(buffer); - - protected Readable in; - - /** - * @param in - */ - public URLEncodingInputStream(Readable in) { - this.in = in; - } - - /* (non-Javadoc) - * @see java.io.InputStream#read() - */ - @Override - public int read() throws IOException { - charBuffer.rewind(); - if (in.read(charBuffer) == -1) { - return -1; - } - if (buffer[0] == '+') { - return ' '; - } else if (buffer[0] == '%') { - charBuffer.rewind(); - if (in.read(charBuffer) == -1) { - throw new IOException("Invalid URL encoding."); - } - int c1 = Character.digit(buffer[0], 16); - charBuffer.rewind(); - if (in.read(charBuffer) == -1) { - throw new IOException("Invalid URL encoding."); - } - int c2 = Character.digit(buffer[0], 16); - if (c1 == -1 || c2 == -1) { - throw new IOException("Invalid URL encoding."); - } - return ((c1 << 4) | c2); - } else { - return buffer[0]; - } - } - - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java deleted file mode 100644 index df42df6d..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java +++ /dev/null @@ -1,134 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils; - -import java.io.IOException; -import java.io.OutputStream; -import java.nio.CharBuffer; -import java.util.BitSet; - -/** - * An URLEncoding <a - * href="http://tools.ietf.org/html/rfc3986#section-2.1">RFC3986, Section 2.1</a> - * OutputStream. - * - * @author mcentner - */ -public class URLEncodingOutputStream extends OutputStream { - - private static final int MAX_BUFFER_SIZE = 512; - - private static final BitSet UNRESERVED = new BitSet(256); - - static { - for (int i = '0'; i <= '9'; i++) { - UNRESERVED.set(i); - } - for (int i = 'a'; i <= 'z'; i++) { - UNRESERVED.set(i); - } - for (int i = 'A'; i <= 'Z'; i++) { - UNRESERVED.set(i); - } - UNRESERVED.set('-'); - UNRESERVED.set('_'); - UNRESERVED.set('.'); - UNRESERVED.set('*'); - UNRESERVED.set(' '); - } - - private static final char[] HEX = new char[] { - '0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' - }; - - private char[] buf; - - protected Appendable out; - - /** - * Creates a new instance of this URLEncodingOutputStream that writes to the - * given Appendable. - * <p> - * Note: According to - * http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars the input - * for the {@link #write()} methods should be the UTF-8. - * </p> - * - * @param out - */ - public URLEncodingOutputStream(Appendable out) { - this.out = out; - } - - /* (non-Javadoc) - * @see java.io.OutputStream#write(int) - */ - @Override - public void write(int b) throws IOException { - b &= 0xFF; - if (UNRESERVED.get(b)) { - if (b == ' ') { - out.append('+'); - } else { - out.append((char) b); - } - } else { - out.append('%').append(HEX[b >>> 4]).append(HEX[b & 0xF]); - } - - } - - /* (non-Javadoc) - * @see java.io.OutputStream#write(byte[], int, int) - */ - @Override - public void write(byte[] b, int off, int len) throws IOException { - - // ensure a buffer at least double the size of end - start + 1 - // but max - int sz = Math.min(len + 1, MAX_BUFFER_SIZE); - if (buf == null || buf.length < sz) { - buf = new char[sz]; - } - - int bPos = 0; - for (int i = 0; i < len; i++) { - if (bPos + 3 > buf.length) { - // flush buffer - out.append(CharBuffer.wrap(buf, 0, bPos)); - bPos = 0; - } - int c = 0xFF & b[off + i]; - if (UNRESERVED.get(c)) { - if (c == ' ') { - buf[bPos++] = '+'; - } else { - buf[bPos++] = (char) c; - } - } else { - buf[bPos++] = '%'; - buf[bPos++] = HEX[c >>> 4]; - buf[bPos++] = HEX[c & 0xF]; - } - } - out.append(CharBuffer.wrap(buf, 0, bPos)); - - } - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingWriter.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingWriter.java deleted file mode 100644 index 3ba90265..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingWriter.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2008 Federal Chancellery Austria and - * Graz University of Technology - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */package at.gv.egiz.bku.utils; - -import java.io.IOException; -import java.io.OutputStreamWriter; -import java.io.Writer; -import java.nio.charset.Charset; - -/** - * An URLEncoding <a - * href="http://tools.ietf.org/html/rfc3986#section-2.1">RFC3986, Section - * 2.1</a> Writer, that uses an UTF-8 encoding according to <a href - * ="http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars" - * >http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars</a> for - * writing non-ASCII characters. - * - * @author mcentner - */ -public class URLEncodingWriter extends Writer { - - protected OutputStreamWriter osw; - - public URLEncodingWriter(Appendable out) { - URLEncodingOutputStream urlEnc = new URLEncodingOutputStream(out); - osw = new OutputStreamWriter(urlEnc, Charset.forName("UTF-8")); - } - - @Override - public void close() throws IOException { - osw.close(); - } - - @Override - public void flush() throws IOException { - osw.flush(); - } - - @Override - public void write(char[] cbuf, int off, int len) throws IOException { - osw.write(cbuf, off, len); - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/binding/Protocol.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/binding/Protocol.java deleted file mode 100644 index f0504697..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/binding/Protocol.java +++ /dev/null @@ -1,41 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils.binding;
-
-public enum Protocol {
- HTTP("http"), HTTPS("https");
-
- private String name;
-
- Protocol(String s) {
- name = s;
- }
-
- public String toString() {
- return name;
- }
-
- public static Protocol fromString(String protocol) {
- if (HTTP.toString().equalsIgnoreCase(protocol)) {
- return HTTP;
- }
- if (HTTPS.toString().equalsIgnoreCase(protocol)) {
- return HTTPS;
- }
- return null;
- }
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/FormDataURLSupplier.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/FormDataURLSupplier.java deleted file mode 100644 index 7272f1bb..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/FormDataURLSupplier.java +++ /dev/null @@ -1,26 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils.urldereferencer;
-
-import java.io.InputStream;
-
-public interface FormDataURLSupplier {
- public static final String PROPERTY_KEY_NAME = "at.gv.egiz.bku.util.urldereferencer.FormDataURLSupplier";
-
- public InputStream getFormData(String aParameterName);
- public String getFormDataContentType(String aParameterName);
-}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/HTTPURLProtocolHandlerImpl.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/HTTPURLProtocolHandlerImpl.java deleted file mode 100644 index dfe7d5e6..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/HTTPURLProtocolHandlerImpl.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2008 Federal Chancellery Austria and - * Graz University of Technology - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package at.gv.egiz.bku.utils.urldereferencer; - -import java.io.IOException; -import java.io.InputStream; -import java.net.HttpURLConnection; -import java.net.URL; -import java.security.InvalidParameterException; - -import javax.net.ssl.HostnameVerifier; -import javax.net.ssl.HttpsURLConnection; -import javax.net.ssl.SSLSocketFactory; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -public class HTTPURLProtocolHandlerImpl implements URLProtocolHandler { - - private static Log log = LogFactory.getLog(HTTPURLProtocolHandlerImpl.class); - - public final static String HTTP = "http"; - public final static String HTTPS = "https"; - public final static String FORMDATA = "formdata"; - public final static String[] PROTOCOLS = { HTTP, HTTPS, FORMDATA }; - - private HostnameVerifier hostnameVerifier; - private SSLSocketFactory sslSocketFactory; - - public StreamData dereference(String aUrl, URLDereferencerContext aContext) - throws IOException { - String urlString = aUrl.toLowerCase().trim(); - if (urlString.startsWith(FORMDATA)) { - log.debug("Requested to dereference a formdata url"); - return dereferenceFormData(aUrl, aContext); - } - - URL url = new URL(aUrl); - if ((!HTTP.equalsIgnoreCase(url.getProtocol()) && (!HTTPS - .equalsIgnoreCase(url.getProtocol())))) { - throw new InvalidParameterException("Url " + aUrl + " not supported"); - } - return dereferenceHTTP(url); - } - - protected StreamData dereferenceHTTP(URL url) throws IOException { - log.debug("Dereferencing url: " + url); - HttpURLConnection httpConn = (HttpURLConnection) url.openConnection(); - if (httpConn instanceof HttpsURLConnection) { - log.trace("Detected ssl connection"); - HttpsURLConnection https = (HttpsURLConnection) httpConn; - if (sslSocketFactory != null) { - log.debug("Setting custom ssl socket factory for ssl connection"); - https.setSSLSocketFactory(sslSocketFactory); - } else { - log.trace("No custom socket factory set"); - } - if (hostnameVerifier != null) { - log.debug("Setting custom hostname verifier"); - https.setHostnameVerifier(hostnameVerifier); - } - } else { - log.trace("No secure connection with: "+url+ " class="+httpConn.getClass()); - } - log.trace("Successfully opened connection"); - return new StreamData(url.toString(), httpConn.getContentType(), httpConn - .getInputStream()); - } - - /** - * - * @param aUrl - * @param aContext - * @return - * @throws IOException if the data cannot be found or reading the stream failed. - */ - protected StreamData dereferenceFormData(String aUrl, - URLDereferencerContext aContext) throws IOException { - log.debug("Dereferencing formdata url: " + aUrl); - String[] parts = aUrl.split(":", 2); - FormDataURLSupplier supplier = (FormDataURLSupplier) aContext - .getProperty(FormDataURLSupplier.PROPERTY_KEY_NAME); - if (supplier == null) { - throw new NullPointerException( - "No FormdataUrlSupplier found in provided context"); - } - String contentType = supplier.getFormDataContentType(parts[1]); - InputStream is = supplier.getFormData(parts[1]); - if (is != null) { - return new StreamData(aUrl, contentType, is); - } - throw new IOException("Cannot dereference url: formdata not found"); - } - - @Override - public void setHostnameVerifier(HostnameVerifier hostnameVerifier) { - this.hostnameVerifier = hostnameVerifier; - } - - @Override - public void setSSLSocketFactory(SSLSocketFactory socketFactory) { - this.sslSocketFactory = socketFactory; - } - -}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/SimpleFormDataContextImpl.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/SimpleFormDataContextImpl.java deleted file mode 100644 index e9da9c81..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/SimpleFormDataContextImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils.urldereferencer;
-
-public class SimpleFormDataContextImpl implements URLDereferencerContext {
- protected FormDataURLSupplier formdata;
-
- /**
- *
- * @param formdata must not be null
- */
- public SimpleFormDataContextImpl(FormDataURLSupplier formdata) {
- if (formdata == null) {
- throw new NullPointerException("FormdataURLSupplier must not be null");
- }
- this.formdata = formdata;
- }
-
- @Override
- public Object getProperty(Object key) {
- if (key.equals(FormDataURLSupplier.PROPERTY_KEY_NAME)) {
- return formdata;
- }
- return null;
- }
-
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/StreamData.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/StreamData.java deleted file mode 100644 index 541c6878..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/StreamData.java +++ /dev/null @@ -1,61 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils.urldereferencer;
-
-import java.io.InputStream;
-
-/**
- * This class models the result when dereferencing an URL.
- *
- */
-public class StreamData {
-
- protected InputStream inputStream;
- protected String url;
- protected String contentType;
-
- /**
- *
- * @param url
- * @param contentType
- * @param stream must not be null
- */
- public StreamData(String url, String contentType, InputStream stream) {
- if (stream == null) {
- throw new NullPointerException("Parameter inputstream must not be null");
- }
- inputStream = stream;
- this.contentType = contentType;
- this.url = url;
- }
-
- public String getUrl() {
- return url;
- }
-
- /**
- *
- * @return the returned stream must be closed
- */
- public InputStream getStream() {
- return inputStream;
- }
-
- public String getContentType() {
- return contentType;
- }
-}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java deleted file mode 100644 index 2d11010e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java +++ /dev/null @@ -1,96 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils.urldereferencer;
-
-import java.io.IOException;
-import java.net.URI;
-import java.net.URISyntaxException;
-
-import javax.xml.transform.Source;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.URIResolver;
-import javax.xml.transform.stream.StreamSource;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-/**
- * Adapter to make the Urldereferencer work as URIResolver for
- * Stylesheettransforms.
- *
- * @author wbauer
- *
- */
-public class URIResolverAdapter implements URIResolver {
-
- private static Log log = LogFactory.getLog(URIResolverAdapter.class);
-
- private URLDereferencer urlDereferencer;
- private URLDereferencerContext ctx;
-
- /**
- *
- * @param deferecencer
- * must not be null
- * @param ctx may be null
- */
- public URIResolverAdapter(URLDereferencer deferecencer,
- URLDereferencerContext ctx) {
- if (deferecencer == null) {
- throw new NullPointerException("Urlderefencer must not be set to null");
- }
- this.urlDereferencer = deferecencer;
- this.ctx = ctx;
- }
-
- @Override
- public Source resolve(String href, String base) throws TransformerException {
- log.debug("Resolving href: "+href+" base: "+base);
- try {
- URI baseUri = null;
- URI hrefUri = new URI(href);
- if (base != null) {
- baseUri = new URI(base);
- }
- URI abs;
- if (baseUri != null) {
- abs = baseUri.resolve(hrefUri);
- } else {
- abs = hrefUri;
- }
- if (!abs.isAbsolute()) {
- throw new TransformerException("Only absolute URLs are supported");
- }
- return new StreamSource(urlDereferencer.dereference(abs.toString(), ctx)
- .getStream());
- } catch (URISyntaxException e) {
- throw new TransformerException("Cannot resolve URI: base:" + base
- + " href:" + href, e);
- } catch (IOException iox) {
- throw new TransformerException("Cannot resolve URI: base:" + base
- + " href:" + href, iox);
- }
- }
-
- public URLDereferencerContext getCtx() {
- return ctx;
- }
-
- public void setCtx(URLDereferencerContext ctx) {
- this.ctx = ctx;
- }
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLDereferencer.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLDereferencer.java deleted file mode 100644 index 7361ec26..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLDereferencer.java +++ /dev/null @@ -1,108 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils.urldereferencer;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.util.HashMap;
-import java.util.Map;
- -import javax.net.ssl.HostnameVerifier; -import javax.net.ssl.SSLSocketFactory; -
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-/**
- * Class used to dereference (external URLs).
- *
- * @author wbauer
- *
- */
-public class URLDereferencer {
-
- private static Log log = LogFactory.getLog(URLDereferencer.class);
-
- private static URLDereferencer instance = new URLDereferencer();
-
- private Map<String, URLProtocolHandler> handlerMap = new HashMap<String, URLProtocolHandler>();
- - private HostnameVerifier hostnameVerifier; - private SSLSocketFactory sslSocketFactory; -
- private URLDereferencer() {
- registerHandlers();
- }
-
- /**
- *
- * @param aUrl
- * must not be null
- * @param aContext
- * @throws MalformedURLException
- * if the protocol is not supported - * @throws IOException if the url cannot be dereferenced (e.g. formdata not provided) - *
- */
- public StreamData dereference(String aUrl, URLDereferencerContext aContext)
- throws IOException {
- log.debug("Looking for handler for URL: " + aUrl);
- int i = aUrl.indexOf(":");
- if (i == -1) {
- throw new MalformedURLException("Invalid url: " + aUrl);
- }
- String protocol = aUrl.substring(0, i).toLowerCase().trim();
- URLProtocolHandler handler = handlerMap.get(protocol);
- if (handler == null) {
- throw new MalformedURLException("No handler for protocol: " + protocol
- + " found");
- } - handler.setHostnameVerifier(hostnameVerifier); - handler.setSSLSocketFactory(sslSocketFactory);
- return handler.dereference(aUrl, aContext);
- }
-
- /**
- * Registers a handler for a protocol.
- *
- * @param aProtocol
- * @param aHandler
- * may be set to null to disable this protocol
- */
- public void registerHandler(String aProtocol, URLProtocolHandler aHandler) {
- handlerMap.put(aProtocol.toLowerCase(), aHandler);
- }
-
- public static URLDereferencer getInstance() {
- return instance;
- }
-
- protected void registerHandlers() {
- URLProtocolHandler handler = new HTTPURLProtocolHandlerImpl();
- for (String proto : HTTPURLProtocolHandlerImpl.PROTOCOLS) {
- handlerMap.put(proto, handler);
- }
- } - - public void setHostnameVerifier(HostnameVerifier hostnameVerifier) { - this.hostnameVerifier = hostnameVerifier; - } - - public void setSSLSocketFactory(SSLSocketFactory socketFactory) { - this.sslSocketFactory = socketFactory; - }
-}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLDereferencerContext.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLDereferencerContext.java deleted file mode 100644 index 6befd5b3..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLDereferencerContext.java +++ /dev/null @@ -1,27 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils.urldereferencer;
-
-public interface URLDereferencerContext {
-
- /**
- *
- * @param key
- * @return may return null
- */
- public Object getProperty(Object key);
-}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLProtocolHandler.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLProtocolHandler.java deleted file mode 100644 index f886bd4e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URLProtocolHandler.java +++ /dev/null @@ -1,39 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.bku.utils.urldereferencer;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
- -import javax.net.ssl.HostnameVerifier; -import javax.net.ssl.SSLSocketFactory; -
-
-public interface URLProtocolHandler {
- /**
- *
- * @param aUrl
- * @param aContext
- * @return the streamdata of this url or null if the url cannot be resolved.
- * @throws IOException
- */
- public StreamData dereference(String aUrl, URLDereferencerContext aContext) throws IOException; - - public void setSSLSocketFactory(SSLSocketFactory socketFactory); - - public void setHostnameVerifier(HostnameVerifier hostnameVerifier);
-}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/dom/DOMUtils.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/dom/DOMUtils.java deleted file mode 100644 index 32c7c5e6..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/dom/DOMUtils.java +++ /dev/null @@ -1,115 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.dom;
-
-import iaik.utils.Base64OutputStream;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Text;
-import org.w3c.dom.bootstrap.DOMImplementationRegistry;
-import org.w3c.dom.ls.DOMImplementationLS;
-
-public final class DOMUtils {
-
- /**
- * DOM Implementation.
- */
- private static String DOM_LS_3_0 = "LS 3.0";
-
- private static DOMImplementationLS domImplLS;
-
- private DOMUtils() {
- }
-
- private static synchronized void ensureDOMImplementation() {
-
- if (domImplLS == null) {
-
- DOMImplementationRegistry registry;
- try {
- registry = DOMImplementationRegistry.newInstance();
- } catch (Exception e) {
- throw new RuntimeException("Failed to get DOMImplementationRegistry.");
- }
-
- domImplLS = (DOMImplementationLS) registry.getDOMImplementation(DOM_LS_3_0);
- if (domImplLS == null) {
- throw new RuntimeException("Failed to get DOMImplementation " + DOM_LS_3_0);
- }
-
- }
-
- }
-
- public static DOMImplementationLS getDOMImplementationLS() {
-
- if (domImplLS == null) {
- ensureDOMImplementation();
- }
-
- return domImplLS;
- }
-
- public static Document createDocument() {
-
- // This does not work with the Xerces-J version (2.6.2) included in Java 6
- //document = ((DOMImplementation) domImplLS).createDocument(null, null, null);
- // Therefore we have to employ the good old DocumentBuilderFactory
- DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
- DocumentBuilder db;
- try {
- db = dbf.newDocumentBuilder();
- } catch (ParserConfigurationException e) {
- throw new RuntimeException(e);
- }
- return db.newDocument();
-
- }
-
- public static Text createBase64Text(byte[] bytes, Document doc) throws IOException {
-
- ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
- Base64OutputStream base64OutputStream = new Base64OutputStream(outputStream);
- base64OutputStream.write(bytes);
- base64OutputStream.flush();
- return doc.createTextNode(outputStream.toString("ASCII"));
-
- }
-
- public static Text createBase64Text(InputStream bytes, Document doc) throws IOException {
-
- ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
- Base64OutputStream base64OutputStream = new Base64OutputStream(outputStream, new byte[] {0xa});
-
- byte[] b = new byte[2^8];
- for(int l; (l = bytes.read(b)) != -1;) {
- base64OutputStream.write(b, 0, l);
- }
-
- base64OutputStream.flush();
- return doc.createTextNode(outputStream.toString("ASCII"));
- }
-
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/CompressedIdentityLinkFactory.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/CompressedIdentityLinkFactory.java deleted file mode 100644 index 31e5163a..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/CompressedIdentityLinkFactory.java +++ /dev/null @@ -1,416 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.idlink; - -import java.io.BufferedReader; -import java.io.ByteArrayInputStream; -import java.io.IOException; -import java.io.InputStreamReader; -import java.security.PublicKey; -import java.security.cert.X509Certificate; -import java.util.List; - -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.PropertyException; -import javax.xml.bind.Unmarshaller; -import javax.xml.transform.Source; -import javax.xml.transform.dom.DOMResult; - -import org.w3._2000._09.xmldsig_.KeyValueType; -import org.w3c.dom.Attr; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - -import at.buergerkarte.namespaces.personenbindung._20020506_.CompressedIdentityLinkType; -import at.gv.e_government.reference.namespace.persondata._20020228_.AbstractPersonType; -import at.gv.e_government.reference.namespace.persondata._20020228_.IdentificationType; -import at.gv.e_government.reference.namespace.persondata._20020228_.PersonNameType; -import at.gv.e_government.reference.namespace.persondata._20020228_.PhysicalPersonType; -import at.gv.e_government.reference.namespace.persondata._20020228_.IdentificationType.Value; -import at.gv.e_government.reference.namespace.persondata._20020228_.PersonNameType.FamilyName; -import at.gv.egiz.idlink.ans1.CitizenPublicKey; -import at.gv.egiz.idlink.ans1.IdentityLink; -import at.gv.egiz.idlink.ans1.PersonData; -import at.gv.egiz.idlink.ans1.PhysicalPersonData; -import at.gv.egiz.marshal.MarshallerFactory; -import at.gv.egiz.marshal.NamespacePrefixMapperImpl; -import at.gv.egiz.xmldsig.KeyTypeNotSupportedException; -import at.gv.egiz.xmldsig.KeyValueFactory; - -public class CompressedIdentityLinkFactory { - - /** - * The instance returned by {@link #getInstance()}. - */ - private static CompressedIdentityLinkFactory instance; - - /** - * The <code>JAXBContext</code>. - */ - private static JAXBContext jaxbContext; - - /** - * The <code>KeyValueFactory</code>. - */ - private static KeyValueFactory keyValueFactory; - - /** - * Get an instance of this <code>CompressedIdentityLinkFactory</code>. - * - * @return an instance of this <code>CompressedIdentityLinkFactory</code> - */ - public synchronized static CompressedIdentityLinkFactory getInstance() { - if (instance == null) { - instance = new CompressedIdentityLinkFactory(); - } - return instance; - } - - /** - * Private constructor. - */ - private CompressedIdentityLinkFactory() { - - keyValueFactory = new KeyValueFactory(); - - StringBuffer packageNames = new StringBuffer(); - packageNames.append(at.gv.e_government.reference.namespace.persondata._20020228_.ObjectFactory.class.getPackage().getName()); - packageNames.append(":"); - packageNames.append(org.w3._2000._09.xmldsig_.ObjectFactory.class.getPackage().getName()); - packageNames.append(":"); - packageNames.append(org.w3._2001._04.xmldsig_more_.ObjectFactory.class.getPackage().getName()); - packageNames.append(":"); - packageNames.append(at.buergerkarte.namespaces.personenbindung._20020506_.ObjectFactory.class.getPackage().getName()); - - try { - jaxbContext = JAXBContext.newInstance(packageNames.toString()); - } catch (JAXBException e) { - // we should not get an JAXBException initializing the JAXBContext - throw new RuntimeException(e); - } - - } - - public IdentityLink createIdLink(CompressedIdentityLinkType compressedIdentityLinkType) { - - // IssuerTemplate - String issuerTemplate = compressedIdentityLinkType.getIssuerTemplate(); - - // AssertionId - String assertionID = compressedIdentityLinkType.getAssertionID(); - - // IssueInstant - String issueInstant = compressedIdentityLinkType.getIssueInstant(); - - AbstractPersonType personDataType = compressedIdentityLinkType.getPersonData(); - - String baseId = null; - - List<IdentificationType> identifications = personDataType.getIdentification(); - for (IdentificationType identificationType : identifications) { - String type = identificationType.getType(); - if ("urn:publicid:gv.at:baseid".equals(type)) { - baseId = identificationType.getValue().getValue(); - } - } - - String givenName = null; - String familyName = null; - String dateOfBirth = null; - - if (personDataType instanceof PhysicalPersonType) { - PhysicalPersonType physicalPersonType = (PhysicalPersonType) personDataType; - PersonNameType name = physicalPersonType.getName(); - List<String> givenNames = name.getGivenName(); - if (!givenNames.isEmpty()) { - givenName = givenNames.get(0); - } - List<FamilyName> familyNames = name.getFamilyName(); - if (!familyNames.isEmpty()) { - familyName = familyNames.get(0).getValue(); - } - dateOfBirth = physicalPersonType.getDateOfBirth(); - } - - PhysicalPersonData physicalPersonData = new PhysicalPersonData(baseId, givenName, familyName, dateOfBirth); - PersonData personData = new PersonData(physicalPersonData); - - int numKeys = compressedIdentityLinkType.getCitizenPublicKey().size(); - CitizenPublicKey[] citizenPublicKeys = new CitizenPublicKey[numKeys]; - for (int i = 0; i < numKeys;) { - citizenPublicKeys[i] = new CitizenPublicKey(++i); - } - - byte[] signatureValue = compressedIdentityLinkType.getSignatureValue(); - byte[] referenceDigest = compressedIdentityLinkType.getReferenceDigest(); - byte[] referenceManifestDigest = compressedIdentityLinkType.getReferenceManifestDigest(); - byte[] manifestReferenceDigest = compressedIdentityLinkType.getManifestReferenceDigest(); - - IdentityLink idLink = new IdentityLink(issuerTemplate, assertionID, issueInstant, personData, citizenPublicKeys, signatureValue); - idLink.setReferenceDigest(referenceDigest); - idLink.setReferenceManifestDigest(referenceManifestDigest); - idLink.setManifestReferenceDigest(manifestReferenceDigest); - - return idLink; - - } - - /** - * Creates a new <code>CompressedIdentityLink</code> element from the given - * ASN.1 representation of an <code>idLink</code>. - * - * @param idLink - * the ASN.1 representation of an <code>IdentityLink</code> - * @param certificates - * a list of {@link X509Certificate}s containing the corresponding - * public keys - * @param domainId TODO - * @return a new <code>CompressedIdentityLink</code> element - * - * @throws NullPointerException - * if <code>idLink</code> or <code>certificates</code> is - * <code>null</code> - * @throws IllegalArgumentException - * if <code>idLink</code> references certificates not in the range - * of the <code>certificates</code> list - */ - public JAXBElement<CompressedIdentityLinkType> createCompressedIdentityLink( - at.gv.egiz.idlink.ans1.IdentityLink idLink, - List<X509Certificate> certificates, String domainId) { - - at.gv.e_government.reference.namespace.persondata._20020228_.ObjectFactory prFactory = - new at.gv.e_government.reference.namespace.persondata._20020228_.ObjectFactory(); - - at.buergerkarte.namespaces.personenbindung._20020506_.ObjectFactory pbFactory = - new at.buergerkarte.namespaces.personenbindung._20020506_.ObjectFactory(); - - org.w3._2000._09.xmldsig_.ObjectFactory dsFactory = new org.w3._2000._09.xmldsig_.ObjectFactory(); - - // PersonData - PhysicalPersonData __physicalPersonData = idLink.getPersonData() - .getPhysicalPerson(); - - Value identificationTypeValue = prFactory.createIdentificationTypeValue(); - identificationTypeValue.setValue(__physicalPersonData.getBaseId()); - IdentificationType identificationType = prFactory - .createIdentificationType(); - identificationType.setValue(identificationTypeValue); - if (domainId != null) { - identificationType.setType(domainId); - } else { - identificationType.setType("urn:publicid:gv.at:baseid"); - } - - PersonNameType personNameType = prFactory.createPersonNameType(); - FamilyName personNameTypeFamilyName = prFactory - .createPersonNameTypeFamilyName(); - personNameTypeFamilyName.setValue(__physicalPersonData.getFamilyName()); - personNameType.getFamilyName().add(personNameTypeFamilyName); - personNameType.getGivenName().add(__physicalPersonData.getGivenName()); - - PhysicalPersonType physicalPersonType = prFactory - .createPhysicalPersonType(); - physicalPersonType.getIdentification().add(identificationType); - physicalPersonType.setName(personNameType); - physicalPersonType.setDateOfBirth(__physicalPersonData.getDateOfBirth()); - - // CompressedIdentityLink - CompressedIdentityLinkType compressedIdentityLinkType = pbFactory - .createCompressedIdentityLinkType(); - compressedIdentityLinkType.setIssuerTemplate(idLink.getIssuerTemplate()); - compressedIdentityLinkType.setAssertionID(idLink.getAssertionID()); - compressedIdentityLinkType.setIssueInstant(idLink.getIssueInstant()); - compressedIdentityLinkType.setPersonData(physicalPersonType); - - // CitizenPublicKey - CitizenPublicKey[] __citizenPublicKeys = idLink.getCitizenPublicKeys(); - for (CitizenPublicKey __citizenPublicKey : __citizenPublicKeys) { - - X509Certificate certificate = certificates.get(__citizenPublicKey.getOnToken()); - PublicKey publicKey = certificate.getPublicKey(); - - JAXBElement<?> keyValue; - try { - keyValue = keyValueFactory.createKeyValue(publicKey); - } catch (KeyTypeNotSupportedException e) { - // TODO: handle exception properly - throw new RuntimeException(e); - } - - KeyValueType keyValueType = dsFactory.createKeyValueType(); - keyValueType.getContent().add(keyValue); - - compressedIdentityLinkType.getCitizenPublicKey().add(keyValueType); - } - - compressedIdentityLinkType.setSignatureValue(idLink.getSignatureValue()); - compressedIdentityLinkType.setReferenceDigest(idLink.getReferenceDigest()); - compressedIdentityLinkType.setReferenceManifestDigest(idLink - .getReferenceManifestDigest()); - compressedIdentityLinkType.setManifestReferenceDigest(idLink - .getManifestReferenceDigest()); - JAXBElement<CompressedIdentityLinkType> compressedIdentityLink = pbFactory - .createCompressedIdentityLink(compressedIdentityLinkType); - - return compressedIdentityLink; - - } - - /** - * Marshall the given <code>compressedIdentityLink</code> into a DOM document - * with the given Nodes as <code>parent</code> and <code>nextSibling</code> - * nodes. - * - * @param compressedIdentityLink - * the <code>CompressedIdentityLink</code> element - * @param parent - * the parent node - * @param nextSibling - * the next sibling node (may be <code>null</code>) - * @param applyWorkarounds - * apply workarounds as spefiyed by - * {@link #applyWorkarounds(Element, int)} - * - * @throws JAXBException - * if an unexpected error occurs while marshalling - * @throws NullPointerException - * if <code>compressdIdentityLink</code> or <code>parent</code> is - * <code>null</code> - */ - public void marshallCompressedIdentityLink( - JAXBElement<CompressedIdentityLinkType> compressedIdentityLink, - Node parent, Node nextSibling, boolean applyWorkarounds) throws JAXBException { - - DOMResult result = new DOMResult(parent, nextSibling); - - - try { - Marshaller marshaller = MarshallerFactory.createMarshaller(jaxbContext); - - marshaller.marshal(compressedIdentityLink, result); - } catch (PropertyException e) { - throw new RuntimeException(e); - } - - if (applyWorkarounds) { - Element element = (Element) ((nextSibling != null) - ? nextSibling.getPreviousSibling() - : parent.getFirstChild()); - applyWorkarounds(element, 76); - } - - } - - @SuppressWarnings("unchecked") - public CompressedIdentityLinkType unmarshallCompressedIdentityLink(Source source) throws JAXBException { - - Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); - - return ((JAXBElement<CompressedIdentityLinkType>) unmarshaller.unmarshal(source)).getValue(); - - } - - /** - * Apply some workarounds to the given CompressedIdentityLink - * <code>element</code> to achieve compatibility with IdentityLink - * transformation stylesheets that have been designed for a (buggy) form of - * the CompressedIdentityLink as produced by a well-known citizen card - * environment implementation. - * - * <ol> - * <li>Replace the attribute node <code>URN</code> of the - * <code>NamedCurve</code> element of an <code>ECDSAKeyValue</code> element by - * a child text-node with the same content.</li> - * <li>Replace the attribute nodes <code>Value</code> of the <code>X</code> - * and <code>Y</code> elements of an <code>ECDSAKeyValue</code> element by a - * child text-node with the same content.</li> - * <li>Insert "\n" at <code>base64LineLength</code> into the Base64 - * content of the <code>Modulus</code> element of an <code>RSAKeyValue</code> - * element. - * </ol> - * - * @param element - * the <code>CompressedIdentityLink</code> element - * @param base64LineLength - * the line length of Base64 content - */ - public void applyWorkarounds(Element element, int base64LineLength) { - - Document document = element.getOwnerDocument(); - - NodeList nodeList = element.getElementsByTagNameNS( - "http://www.w3.org/2001/04/xmldsig-more#", "NamedCurve"); - for (int i = 0; i < nodeList.getLength(); i++) { - Node ecdsaNameCurve = nodeList.item(i); - Attr attrNode = ((Element) ecdsaNameCurve).getAttributeNodeNS(null, - "URN"); - ecdsaNameCurve - .appendChild(document.createTextNode(attrNode.getValue())); - ((Element) ecdsaNameCurve).removeAttributeNode(attrNode); - } - nodeList = document.getElementsByTagNameNS( - "http://www.w3.org/2001/04/xmldsig-more#", "X"); - for (int i = 0; i < nodeList.getLength(); i++) { - Node x = nodeList.item(i); - Attr attrNode = ((Element) x).getAttributeNodeNS(null, "Value"); - x.appendChild(document.createTextNode(attrNode.getValue())); - ((Element) x).removeAttributeNode(attrNode); - } - nodeList = document.getElementsByTagNameNS( - "http://www.w3.org/2001/04/xmldsig-more#", "Y"); - for (int i = 0; i < nodeList.getLength(); i++) { - Node y = nodeList.item(i); - Attr attrNode = ((Element) y).getAttributeNodeNS(null, "Value"); - y.appendChild(document.createTextNode(attrNode.getValue())); - ((Element) y).removeAttributeNode(attrNode); - } - - if (base64LineLength > 0) { - nodeList = document.getElementsByTagNameNS( - "http://www.w3.org/2000/09/xmldsig#", "Modulus"); - for (int i = 0; i < nodeList.getLength(); i++) { - Node modulus = nodeList.item(i); - String value = ((Element) modulus).getTextContent(); - BufferedReader reader = new BufferedReader(new InputStreamReader( - new ByteArrayInputStream(value.getBytes()))); - char[] buff = new char[base64LineLength]; - StringBuffer newValue = new StringBuffer(); - int found = 0; - try { - while ((found = reader.read(buff)) > 0) { - newValue.append(buff, 0, found); - if (found == base64LineLength) - newValue.append('\n'); - } - } catch (IOException e) { - // this should never happen, as we are reading from a ByteArrayInputStream - throw new RuntimeException(e); - } - ((Element) modulus).setTextContent(newValue.toString()); - } - - } - - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java deleted file mode 100644 index 38597446..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java +++ /dev/null @@ -1,428 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.idlink; - -import iaik.xml.crypto.XmldsigMore; - -import java.io.InputStreamReader; -import java.io.Reader; -import java.io.StringWriter; -import java.math.BigInteger; -import java.nio.charset.Charset; -import java.security.InvalidAlgorithmParameterException; -import java.security.NoSuchAlgorithmException; -import java.security.PrivateKey; -import java.security.PublicKey; -import java.security.cert.X509Certificate; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Date; -import java.util.GregorianCalendar; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.TimeZone; - -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.PropertyException; -import javax.xml.crypto.MarshalException; -import javax.xml.crypto.dsig.CanonicalizationMethod; -import javax.xml.crypto.dsig.DigestMethod; -import javax.xml.crypto.dsig.Manifest; -import javax.xml.crypto.dsig.Reference; -import javax.xml.crypto.dsig.SignatureMethod; -import javax.xml.crypto.dsig.SignedInfo; -import javax.xml.crypto.dsig.Transform; -import javax.xml.crypto.dsig.XMLObject; -import javax.xml.crypto.dsig.XMLSignature; -import javax.xml.crypto.dsig.XMLSignatureException; -import javax.xml.crypto.dsig.XMLSignatureFactory; -import javax.xml.crypto.dsig.dom.DOMSignContext; -import javax.xml.crypto.dsig.keyinfo.KeyInfo; -import javax.xml.crypto.dsig.keyinfo.KeyInfoFactory; -import javax.xml.crypto.dsig.keyinfo.X509Data; -import javax.xml.crypto.dsig.spec.C14NMethodParameterSpec; -import javax.xml.crypto.dsig.spec.TransformParameterSpec; -import javax.xml.crypto.dsig.spec.XPathFilterParameterSpec; -import javax.xml.datatype.DatatypeConfigurationException; -import javax.xml.datatype.DatatypeFactory; -import javax.xml.transform.Transformer; -import javax.xml.transform.TransformerFactory; -import javax.xml.transform.dom.DOMResult; -import javax.xml.transform.dom.DOMSource; -import javax.xml.transform.stream.StreamResult; - -import oasis.names.tc.saml._1_0.assertion.AssertionType; -import oasis.names.tc.saml._1_0.assertion.AttributeStatementType; -import oasis.names.tc.saml._1_0.assertion.AttributeType; -import oasis.names.tc.saml._1_0.assertion.SubjectConfirmationType; -import oasis.names.tc.saml._1_0.assertion.SubjectType; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.w3c.dom.Element; -import org.w3c.dom.Node; - -import at.gv.e_government.reference.namespace.persondata._20020228_.AbstractPersonType; -import at.gv.e_government.reference.namespace.persondata._20020228_.IdentificationType; -import at.gv.e_government.reference.namespace.persondata._20020228_.PersonNameType; -import at.gv.e_government.reference.namespace.persondata._20020228_.PhysicalPersonType; -import at.gv.e_government.reference.namespace.persondata._20020228_.IdentificationType.Value; -import at.gv.e_government.reference.namespace.persondata._20020228_.PersonNameType.FamilyName; -import at.gv.egiz.marshal.MarshallerFactory; -import at.gv.egiz.marshal.NamespacePrefixMapperImpl; -import at.gv.egiz.xmldsig.KeyTypeNotSupportedException; -import at.gv.egiz.xmldsig.KeyValueFactory; -import oasis.names.tc.saml._1_0.assertion.AnyType; - -public class IdentityLinkFactory { - - private static Log log = LogFactory.getLog(IdentityLinkFactory.class); - - /** - * The instance returned by {@link #getInstance()}. - */ - private static IdentityLinkFactory instance; - - /** - * The <code>JAXBContext</code>. - */ - private static JAXBContext jaxbContext; - - /** - * The <code>KeyValueFactory</code>. - */ - private static KeyValueFactory keyValueFactory; - - /** - * Get an instance of this <code>CompressedIdentityLinkFactory</code>. - * - * @return an instance of this <code>CompressedIdentityLinkFactory</code> - */ - public synchronized static IdentityLinkFactory getInstance() { - if (instance == null) { - instance = new IdentityLinkFactory(); - } - return instance; - } - - /** - * Private constructor. - */ - private IdentityLinkFactory() { - - keyValueFactory = new KeyValueFactory(); - - StringBuffer packageNames = new StringBuffer(); - packageNames.append(at.gv.e_government.reference.namespace.persondata._20020228_.ObjectFactory.class.getPackage().getName()); - packageNames.append(":"); - packageNames.append(org.w3._2000._09.xmldsig_.ObjectFactory.class.getPackage().getName()); - packageNames.append(":"); - packageNames.append(org.w3._2001._04.xmldsig_more_.ObjectFactory.class.getPackage().getName()); - packageNames.append(":"); - packageNames.append(at.buergerkarte.namespaces.personenbindung._20020506_.ObjectFactory.class.getPackage().getName()); - packageNames.append(":"); - packageNames.append(oasis.names.tc.saml._1_0.assertion.ObjectFactory.class.getPackage().getName()); - - try { - jaxbContext = JAXBContext.newInstance(packageNames.toString()); - } catch (JAXBException e) { - // we should not get an JAXBException initializing the JAXBContext - throw new RuntimeException(e); - } - - } - - public JAXBElement<AssertionType> createAssertion(String assertionId, - Date issueInstant, String issuer, long majorVersion, long minorVersion, AttributeStatementType attributeStatement) { - - oasis.names.tc.saml._1_0.assertion.ObjectFactory asFactory = - new oasis.names.tc.saml._1_0.assertion.ObjectFactory(); - - AssertionType assertionType = asFactory.createAssertionType(); - - assertionType.setAssertionID(assertionId); - - GregorianCalendar gregorianCalendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); - gregorianCalendar.setTime(issueInstant); - try { - DatatypeFactory datatypeFactory = DatatypeFactory.newInstance(); - assertionType.setIssueInstant(datatypeFactory.newXMLGregorianCalendar(gregorianCalendar)); - } catch (DatatypeConfigurationException e) { - throw new RuntimeException(e); - } - - assertionType.setIssuer(issuer); - - assertionType.setMajorVersion(BigInteger.valueOf(majorVersion)); - assertionType.setMinorVersion(BigInteger.valueOf(minorVersion)); - - assertionType.getStatementOrSubjectStatementOrAuthenticationStatement().add(attributeStatement); - - return asFactory.createAssertion(assertionType); - - } - - public AttributeStatementType createAttributeStatement(String idValue, String idType, - String givenName, String familyName, String dateOfBirth, - PublicKey[] publicKeys) throws KeyTypeNotSupportedException { - - oasis.names.tc.saml._1_0.assertion.ObjectFactory asFactory = - new oasis.names.tc.saml._1_0.assertion.ObjectFactory(); - - at.gv.e_government.reference.namespace.persondata._20020228_.ObjectFactory prFactory = - new at.gv.e_government.reference.namespace.persondata._20020228_.ObjectFactory(); - - AttributeStatementType attributeStatementType = asFactory.createAttributeStatementType(); - - // saml:Subject - SubjectConfirmationType subjectConfirmationType = asFactory.createSubjectConfirmationType(); - - subjectConfirmationType.getConfirmationMethod().add("urn:oasis:names:tc:SAML:1.0:cm:sender-vouches"); - - // pr:Person - Value identificationTypeValue = prFactory.createIdentificationTypeValue(); - identificationTypeValue.setValue(idValue); - IdentificationType identificationType = prFactory - .createIdentificationType(); - identificationType.setValue(identificationTypeValue); - identificationType.setType(idType); - - PersonNameType personNameType = prFactory.createPersonNameType(); - FamilyName personNameTypeFamilyName = prFactory - .createPersonNameTypeFamilyName(); - personNameTypeFamilyName.setValue(familyName); - personNameTypeFamilyName.setPrimary("undefined"); - personNameType.getFamilyName().add(personNameTypeFamilyName); - personNameType.getGivenName().add(givenName); - - PhysicalPersonType physicalPersonType = prFactory - .createPhysicalPersonType(); - physicalPersonType.getIdentification().add(identificationType); - physicalPersonType.setName(personNameType); - physicalPersonType.setDateOfBirth(dateOfBirth); - JAXBElement<AbstractPersonType> physicalPerson = prFactory.createPerson(physicalPersonType); - - AnyType personType = asFactory.createAnyType(); - personType.getContent().add(physicalPerson); - subjectConfirmationType.setSubjectConfirmationData(personType); - - JAXBElement<SubjectConfirmationType> subjectConfirmation = asFactory.createSubjectConfirmation(subjectConfirmationType); - - SubjectType subjectType = asFactory.createSubjectType(); - subjectType.getContent().add(subjectConfirmation); - - attributeStatementType.setSubject(subjectType); - - // saml:Attribute CitizenPublicKey - for (int i = 0; i < publicKeys.length; i++) { - - JAXBElement<?> createKeyValue = keyValueFactory.createKeyValue(publicKeys[i]); - AttributeType attributeType = asFactory.createAttributeType(); - attributeType.setAttributeName("CitizenPublicKey"); - attributeType.setAttributeNamespace("urn:publicid:gv.at:namespaces:identitylink:1.2"); - AnyType attributeValueType = asFactory.createAnyType(); - attributeValueType.getContent().add(createKeyValue); - attributeType.getAttributeValue().add(attributeValueType); - - attributeStatementType.getAttribute().add(attributeType); - - } - - return attributeStatementType; - } - - /** - * Marshall the given <code>compressedIdentityLink</code> into a DOM document - * with the given Nodes as <code>parent</code> and <code>nextSibling</code> - * nodes. - * - * @param identityLink - * the <code>CompressedIdentityLink</code> element - * @param parent - * the parent node - * @param nextSibling - * the next sibling node (may be <code>null</code>) - * @param applyWorkarounds - * apply workarounds as spefiyed by - * {@link #applyWorkarounds(Element, int)} - * - * @throws JAXBException - * if an unexpected error occurs while marshalling - * @throws NullPointerException - * if <code>compressdIdentityLink</code> or <code>parent</code> is - * <code>null</code> - */ - public void marshallIdentityLink( - JAXBElement<AssertionType> identityLink, - Node parent, Node nextSibling) throws JAXBException { - - DOMResult result = new DOMResult(parent, nextSibling); - - try { - Marshaller marshaller = MarshallerFactory.createMarshaller(jaxbContext, true); - - marshaller.marshal(identityLink, result); - } catch (PropertyException e) { - throw new RuntimeException(e); - } - - } - - public void signIdentityLink(Element assertion, X509Certificate certificate, - PrivateKey key) throws NoSuchAlgorithmException, - InvalidAlgorithmParameterException, XMLSignatureException, - MarshalException { - - XMLSignatureFactory signatureFactory = XMLSignatureFactory.getInstance(); - - KeyInfoFactory keyInfoFactory = KeyInfoFactory.getInstance(); - - List<Reference> references = new ArrayList<Reference>(); - - // Reference #1 - - Map<String, String> prefixMap = new HashMap<String, String>(); - prefixMap.put("pr", "http://reference.e-government.gv.at/namespace/persondata/20020228#"); - List<Transform> transforms1 = new ArrayList<Transform>(); - transforms1.add(signatureFactory.newTransform(Transform.XPATH, - new XPathFilterParameterSpec( - "not(ancestor-or-self::pr:Identification)", prefixMap))); - transforms1.add(signatureFactory.newTransform(Transform.ENVELOPED, (TransformParameterSpec) null)); - DigestMethod digestMethod1 = signatureFactory.newDigestMethod(DigestMethod.SHA1, null); - references.add(signatureFactory.newReference("", digestMethod1, transforms1, null, null)); - - // Reference (Manifest) - - DigestMethod digestMethod2 = signatureFactory.newDigestMethod(DigestMethod.SHA1, null); - references.add(signatureFactory.newReference("#manifest", digestMethod2, null, Manifest.TYPE, null)); - - CanonicalizationMethod canonicalizationMethod = signatureFactory - .newCanonicalizationMethod(CanonicalizationMethod.EXCLUSIVE, - (C14NMethodParameterSpec) null); - - SignatureMethod signatureMethod; - String algorithm = key.getAlgorithm(); - if ("RSA".equalsIgnoreCase(algorithm)) { - signatureMethod = signatureFactory.newSignatureMethod(SignatureMethod.RSA_SHA1, null); - } else if ("ECDSA".equalsIgnoreCase(algorithm) || "EC".equalsIgnoreCase(algorithm)) { - signatureMethod = signatureFactory.newSignatureMethod(XmldsigMore.SIGNATURE_ECDSA_SHA1, null); - } else if ("DSA".equalsIgnoreCase(algorithm)) { - signatureMethod = signatureFactory.newSignatureMethod(SignatureMethod.DSA_SHA1, null); - } else { - throw new NoSuchAlgorithmException("Algorithm '" + algorithm + "' not supported."); - } - - SignedInfo signedInfo = signatureFactory.newSignedInfo(canonicalizationMethod, signatureMethod, references); - - - X509Data x509Data = keyInfoFactory.newX509Data(Collections.singletonList(certificate)); - KeyInfo keyInfo = keyInfoFactory.newKeyInfo(Collections.singletonList(x509Data)); - - // Manifest - - Map<String, String> manifestPrefixMap = new HashMap<String, String>(); - manifestPrefixMap.put("dsig", XMLSignature.XMLNS); - List<Transform> manifestTransforms = Collections - .singletonList(signatureFactory.newTransform(Transform.XPATH, - new XPathFilterParameterSpec( - "not(ancestor-or-self::dsig:Signature)", manifestPrefixMap))); - Reference manifestReference = signatureFactory.newReference("", - signatureFactory.newDigestMethod(DigestMethod.SHA1, null), - manifestTransforms, null, null); - - Manifest manifest = signatureFactory.newManifest(Collections - .singletonList(manifestReference), "manifest"); - - XMLObject xmlObject = signatureFactory.newXMLObject(Collections - .singletonList(manifest), null, null, null); - - XMLSignature xmlSignature = signatureFactory.newXMLSignature(signedInfo, - keyInfo, Collections.singletonList(xmlObject), null, null); - - DOMSignContext signContext = new DOMSignContext(key, assertion); - - if (log.isTraceEnabled()) { - signContext.setProperty("javax.xml.crypto.dsig.cacheReference", Boolean.TRUE); - } - - xmlSignature.sign(signContext); - - if (log.isDebugEnabled()) { - - try { - - TransformerFactory tf = TransformerFactory.newInstance(); - Transformer transformer = tf.newTransformer(); - - StringWriter writer = new StringWriter(); - - transformer.transform(new DOMSource(assertion), new StreamResult(writer)); - - log.debug(writer.toString()); - - } catch (Exception e) { - log.debug(e); - } - - } - - if (log.isTraceEnabled()) { - - StringBuilder sb = new StringBuilder(); - - sb.append("Digest input data:\n\n"); - - try { - - Iterator<Reference> refs = references.iterator(); - for (int i = 0; refs.hasNext(); i++) { - Reference reference = (Reference) refs.next(); - sb.append("Reference " + i + "\n"); - - Reader reader = new InputStreamReader(reference - .getDigestInputStream(), Charset.forName("UTF-8")); - char c[] = new char[512]; - for (int l; (l = reader.read(c)) != -1;) { - sb.append(c, 0, l); - } - sb.append("\n"); - } - - sb.append("Manifest Reference\n"); - - Reader reader = new InputStreamReader(manifestReference - .getDigestInputStream(), Charset.forName("UTF-8")); - char c[] = new char[512]; - for (int l; (l = reader.read(c)) != -1;) { - sb.append(c, 0, l); - } - - } catch (Exception e) { - sb.append(e.getMessage()); - } - - log.trace(sb.toString()); - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkTransformer.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkTransformer.java deleted file mode 100644 index 8bee5fa4..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkTransformer.java +++ /dev/null @@ -1,188 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.idlink;
-
-import java.io.IOException; -import java.net.MalformedURLException; -import java.net.URL; -import java.util.HashMap; -import java.util.Map; - -import javax.xml.transform.Result; -import javax.xml.transform.Source; -import javax.xml.transform.Templates; -import javax.xml.transform.Transformer; -import javax.xml.transform.TransformerConfigurationException; -import javax.xml.transform.TransformerException; -import javax.xml.transform.sax.SAXTransformerFactory; -import javax.xml.transform.stream.StreamSource; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; -import org.w3c.dom.Text; - -import at.gv.egiz.bku.utils.urldereferencer.StreamData; -import at.gv.egiz.bku.utils.urldereferencer.URLDereferencer; -
-public class IdentityLinkTransformer { - - protected static Log log = LogFactory.getLog(IdentityLinkTransformer.class);
-
- /**
- * The transformer factory.
- */
- private static SAXTransformerFactory factory;
-
- /**
- * The instance to be returned by {@link #getInstance()}.
- */
- private static IdentityLinkTransformer instance;
-
- /**
- * Returns an instance of this <code>IdentityLinkTransfomer</code>.
- *
- * @return an instance of this <code>IdentityLinkTransformer</code>
- */
- public static IdentityLinkTransformer getInstance() {
- if (instance == null) {
- instance = new IdentityLinkTransformer();
- factory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
- }
- return instance;
- }
-
- /**
- * Sets the given <code>domainIdentifier</code> on the corresponding
- * node of the given <code>idLink</code>.
- * <p>This method may be used to cope with a flaw in the IssuerTemplate-Stylesheets
- * used to transform a <code>CompressedIdentitiyLink</code> into an
- * <code>IdentityLink</code>. Some IssuerTemplate-Stylesheets do not
- * consider the <code>pr:Type</code> element value of the
- * <code>CompressedIdentityLink</code> and render a <code>pr:Type</code>
- * element value of <code>urn:publicid:gv.at:baseid</code>
- * into the <code>IdentityLink</code> structure. This method allows to
- * set the <code>pr:Type</code> element value on the given <code>idLink</code>
- * after the transformation.
- * </p>
- *
- * @param idLink the <code>IdentityLink</code> element or one of it's ancestors.
- * Must not be <code>null</code>.
- *
- * @param domainIdentifier the value to be set for the <code>pr:Type</code> element
- *
- * @throws NullPointerException if <code>idLink</code> is <code>null</code>.
- */
- public static void setDomainIdentifier(Node idLink, String domainIdentifier) {
-
- Element element;
- if (idLink instanceof Element) {
- element = (Element) idLink;
- } else if (idLink instanceof Document) {
- element = ((Document) idLink).getDocumentElement();
- } else if (idLink != null) {
- Document document = idLink.getOwnerDocument();
- element = document.getDocumentElement();
- } else {
- throw new NullPointerException("Parameter 'idLink' must no be null.");
- }
-
- NodeList nodeList = element.getElementsByTagNameNS(
- "http://reference.e-government.gv.at/namespace/persondata/20020228#",
- "Type");
-
- for (int i = 0; i < nodeList.getLength(); i++) {
- if (nodeList.item(i) instanceof Element) {
- Element typeElement = (Element) nodeList.item(i);
- NodeList children = typeElement.getChildNodes();
- for (int j = 0; j < children.getLength(); j++) {
- if (children.item(j) instanceof Text) {
- ((Text) children.item(j)).setNodeValue(domainIdentifier);
- }
- }
- }
- }
-
- }
-
- /** - * Mapping of issuer template URIs to transformation templates. - */ - private Map<String, Templates> templates = new HashMap<String, Templates>();
-
- /**
- * Private constructor.
- */
- private IdentityLinkTransformer() {
- } - - /** - * Transforms an identity link <code>source</code> to <code>result</code> with - * the given issuer template from the <code>stylesheetURL</code>. - * - * @param stylesheetURL - * the URL of the issuer template to be used for transformation - * @param source - * the compressed identity link source - * @param result - * the transformed identity link result - * - * @throws MalformedURLException - * if the given <code>stylesheetURL</code> is not a valid - * <code>http</code> or <code>https</code> URL. - * @throws IOException - * if dereferencing the <code>stylesheetURL</code> fails. - * @throws TransformerConfigurationException - * if creating a transformation template from the dereferenced - * stylesheet fails. - * @throws TransformerException - * if transforming the identity link fails. - */
- public void transformIdLink(String stylesheetURL, Source source, Result result) throws IOException, TransformerException { - - Templates templ = templates.get(stylesheetURL); - - if (templ == null) { - - // TODO: implement stylesheet cache - URL url = new URL(stylesheetURL); - - if (!"http".equalsIgnoreCase(url.getProtocol()) && !"https".equalsIgnoreCase(url.getProtocol())) { - throw new MalformedURLException("Protocol " + url.getProtocol() + " not supported for IssuerTemplate URL."); - } - - URLDereferencer dereferencer = URLDereferencer.getInstance(); - StreamData data = dereferencer.dereference(url.toExternalForm(), null); - - log.trace("Trying to create issuer template."); - templ = factory.newTemplates(new StreamSource(data.getStream())); - log.trace("Successfully created issuer template"); - - templates.put(stylesheetURL, templ); - - } - - Transformer transformer = templ.newTransformer(); - - transformer.transform(source, result); - - }
-
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/CitizenPublicKey.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/CitizenPublicKey.java deleted file mode 100644 index c32cf2b9..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/CitizenPublicKey.java +++ /dev/null @@ -1,92 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.idlink.ans1; - -import java.math.BigInteger; - -import iaik.asn1.*; - -/** - * This class implements the ASN.1 representation of the - * <code>CitizenPublicKey</code> of a compressed identity link. - * - * <pre>CitizenPublicKey ::= CHOICE { - onToken [0] INTEGER, - referenceURL [1] UTF8String, - x509Data [2] SubjectPublicKeyInfo -} -</pre> - * - * @author mivkovic@egiz.gv.at, mcentner@egiz.gv.at - */ -public class CitizenPublicKey implements ASN1Type { - - /** - * <code>onToken</code> - */ - private int onToken; // INTEGER - - /** - * Creates a new <code>CitizenPublicKey</code> with the given - * <code>onToken</code> value. - * - * @param onToken - */ - public CitizenPublicKey(int onToken) { - this.onToken = onToken; - } - - /** - * Creates a new <code>CitizenPublicKey</code> from the given ASN.1 representation. - * - * @param obj - * @throws CodingException - */ - public CitizenPublicKey(ASN1Object obj) throws CodingException { - decode(obj); - } - - @Override - public void decode(ASN1Object obj) throws CodingException { - try { - BigInteger Value = (BigInteger)(obj.getValue()); - onToken = Value.intValue(); - } catch (Exception ex) { - throw new CodingException(ex.toString()); - } - } - - @Override - public ASN1Object toASN1Object() { - INTEGER ot = new INTEGER(onToken); - return ot; - } - - /** - * Returns the DER encoding of this <code>CitizenPublicKey</code>. - * - * @return the DER encoding of this <code>CitizenPublicKey</code> - */ - public byte[] getEncoded() { - return DerCoder.encode(toASN1Object()); - } - - public int getOnToken() { - return onToken; - } - -}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/IdentityLink.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/IdentityLink.java deleted file mode 100644 index 37e4b240..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/IdentityLink.java +++ /dev/null @@ -1,315 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.idlink.ans1;
-
-import iaik.asn1.ASN1Object;
-import iaik.asn1.ASN1Type;
-import iaik.asn1.BIT_STRING;
-import iaik.asn1.CON_SPEC;
-import iaik.asn1.CodingException;
-import iaik.asn1.DerCoder;
-import iaik.asn1.INTEGER;
-import iaik.asn1.SEQUENCE;
-import iaik.asn1.UTF8String;
-
-/**
- * This class impelments an ASN.1 representation of the compressed <code>IdentiyLink</code>.
- * <pre>
-PersonenBindung ::= SEQUENCE {
- version INTEGER,
- issuerTemplate UTF8String,
- assertionID UTF8String,
- issueInstant UTF8String,
- personData PersonData,
- citizenPublicKey SEQUENCE SIZE (1..MAX) OF CitizenPublicKey,
- signatureValue BIT STRING,
- referenceDigest [0] BIT STRING OPTIONAL,
- referenceManifestDigest [1] BIT STRING OPTIONAL,
- manifestReferenceDigest [2] BIT STRING OPTIONAL
-}
-</pre>
- *
- * @author mivkovic@egiz.gv.at, mcentner@egiz.gv.at
- */
-public class IdentityLink implements ASN1Type {
-
- private int version = 1; // INTEGER
- private String issuerTemplate; // UTF8String
- private String assertionID; // UTF8String
- private String issueInstant; // UTF8String
- private PersonData personData; // PersonData
- private CitizenPublicKey[] citizenPublicKeys; // SEQUENCE SIZE (1..MAX) OF
- private byte[] signatureValue; // BIT STRING
- private byte[] referenceDigest; // BIT STRING OPTIONAL
- private byte[] referenceManifestDigest; // BIT STRING OPTIONAL
- private byte[] manifestReferenceDigest; // BIT STRING OPTIONAL
-
- /**
- * Creates a new <code>IdentityLink</code> with the given
- * <code>issuerTemplate</code>, <code>assertionID</code>,
- * <code>issueInstant</code>, <code>personData</code>,
- * <code>citizenPublicKeys</code> and <code>signatureValue</code>.
- *
- * @param issuerTemplate
- * @param assertionID
- * @param issueInstant
- * @param personData
- * @param citizenPublicKeys
- * @param signatureValue
- */
- public IdentityLink(String issuerTemplate, String assertionID,
- String issueInstant, PersonData personData,
- CitizenPublicKey[] citizenPublicKeys, byte[] signatureValue) {
- this.issuerTemplate = issuerTemplate;
- this.assertionID = assertionID;
- this.issueInstant = issueInstant;
- this.personData = personData;
- this.citizenPublicKeys = citizenPublicKeys;
- this.signatureValue = signatureValue;
- }
-
- /**
- * Create a new IdentityLink from an ASN1Object.
- *
- * @param identiyLink
- * @throws CodingException
- */
- public IdentityLink(ASN1Object identiyLink) throws CodingException {
- decode(identiyLink);
- }
-
- @Override
- public void decode(ASN1Object obj) throws CodingException {
- issuerTemplate = (String) ((ASN1Object) obj.getComponentAt(1)).getValue();
- assertionID = (String) ((ASN1Object) obj.getComponentAt(2)).getValue();
- issueInstant = (String) ((ASN1Object) obj.getComponentAt(3)).getValue();
-
- if (((CON_SPEC) obj.getComponentAt(4)).getAsnType().getTag() == 0)
- personData = new PersonData((ASN1Object) obj.getComponentAt(4).getValue());
- else {
- throw new CodingException("CorporateBodyData currently not supported.");
- }
-
- SEQUENCE publicKeySequence = (SEQUENCE) obj.getComponentAt(5);
- int anz = publicKeySequence.countComponents();
- citizenPublicKeys = new CitizenPublicKey[anz];
- for (int i = 0; i < citizenPublicKeys.length; i++) {
- CON_SPEC tmp = (CON_SPEC) publicKeySequence.getComponentAt(i);
- if (tmp.getAsnType().getTag() == 0) {
- citizenPublicKeys[i] = new CitizenPublicKey((ASN1Object) tmp.getValue());
- } else {
- throw new CodingException(
- "Currently only PublicKeys on token are supported.");
- }
- }
-
- signatureValue = (byte[]) ((ASN1Object) obj.getComponentAt(6)).getValue();
-
- for (int i = 7; i < obj.countComponents(); i++) {
- CON_SPEC tmp = (CON_SPEC) obj.getComponentAt(i);
- switch (tmp.getAsnType().getTag()) {
- case 0:
- referenceDigest = (byte[]) ((BIT_STRING) tmp.getValue()).getValue();
- break;
- case 1:
- referenceManifestDigest = (byte[]) ((BIT_STRING) tmp.getValue())
- .getValue();
- break;
- case 2:
- manifestReferenceDigest = (byte[]) ((BIT_STRING) tmp.getValue())
- .getValue();
- break;
- }
-
- }
-
- }
-
- @Override
- public ASN1Object toASN1Object() {
- SEQUENCE pb = new SEQUENCE();
- pb.addComponent(new INTEGER(version));
- pb.addComponent(new UTF8String(issuerTemplate));
- pb.addComponent(new UTF8String(assertionID));
- pb.addComponent(new UTF8String(issueInstant));
-
- pb.addComponent(new CON_SPEC(0, personData.toASN1Object()));
- SEQUENCE seq = new SEQUENCE();
- for (int i = 0; i < citizenPublicKeys.length; i++) {
- seq.addComponent(new CON_SPEC(0, citizenPublicKeys[i].toASN1Object()));
- }
- pb.addComponent(seq);
- pb.addComponent(new BIT_STRING(signatureValue));
- if (referenceDigest != null)
- pb.addComponent(new CON_SPEC(0, new BIT_STRING(referenceDigest)));
- if (referenceManifestDigest != null)
- pb.addComponent(new CON_SPEC(1, new BIT_STRING(referenceManifestDigest)));
- if (manifestReferenceDigest != null)
- pb.addComponent(new CON_SPEC(2, new BIT_STRING(manifestReferenceDigest)));
- return pb;
- }
-
- /**
- * Returns the DER encoding of this <code>IdentityLink</code>.
- *
- * @return the DER encoding of this <code>IdentityLink</code>
- */
- public byte[] toByteArray() {
- return DerCoder.encode(toASN1Object());
- }
-
- /**
- * @return the version
- */
- public int getVersion() {
- return version;
- }
-
- /**
- * @param version the version to set
- */
- public void setVersion(int version) {
- this.version = version;
- }
-
- /**
- * @return the issuerTemplate
- */
- public String getIssuerTemplate() {
- return issuerTemplate;
- }
-
- /**
- * @param issuerTemplate the issuerTemplate to set
- */
- public void setIssuerTemplate(String issuerTemplate) {
- this.issuerTemplate = issuerTemplate;
- }
-
- /**
- * @return the assertionID
- */
- public String getAssertionID() {
- return assertionID;
- }
-
- /**
- * @param assertionID the assertionID to set
- */
- public void setAssertionID(String assertionID) {
- this.assertionID = assertionID;
- }
-
- /**
- * @return the issueInstant
- */
- public String getIssueInstant() {
- return issueInstant;
- }
-
- /**
- * @param issueInstant the issueInstant to set
- */
- public void setIssueInstant(String issueInstant) {
- this.issueInstant = issueInstant;
- }
-
- /**
- * @return the personData
- */
- public PersonData getPersonData() {
- return personData;
- }
-
- /**
- * @param personData the personData to set
- */
- public void setPersonData(PersonData personData) {
- this.personData = personData;
- }
-
- /**
- * @return the citizenPublicKeys
- */
- public CitizenPublicKey[] getCitizenPublicKeys() {
- return citizenPublicKeys;
- }
-
- /**
- * @param citizenPublicKeys the citizenPublicKeys to set
- */
- public void setCitizenPublicKeys(CitizenPublicKey[] citizenPublicKeys) {
- this.citizenPublicKeys = citizenPublicKeys;
- }
-
- /**
- * @return the signatureValue
- */
- public byte[] getSignatureValue() {
- return signatureValue;
- }
-
- /**
- * @param signatureValue the signatureValue to set
- */
- public void setSignatureValue(byte[] signatureValue) {
- this.signatureValue = signatureValue;
- }
-
- /**
- * @return the referenceDigest
- */
- public byte[] getReferenceDigest() {
- return referenceDigest;
- }
-
- /**
- * @param referenceDigest the referenceDigest to set
- */
- public void setReferenceDigest(byte[] referenceDigest) {
- this.referenceDigest = referenceDigest;
- }
-
- /**
- * @return the referenceManifestDigest
- */
- public byte[] getReferenceManifestDigest() {
- return referenceManifestDigest;
- }
-
- /**
- * @param referenceManifestDigest the referenceManifestDigest to set
- */
- public void setReferenceManifestDigest(byte[] referenceManifestDigest) {
- this.referenceManifestDigest = referenceManifestDigest;
- }
-
- /**
- * @return the manifestReferenceDigest
- */
- public byte[] getManifestReferenceDigest() {
- return manifestReferenceDigest;
- }
-
- /**
- * @param manifestReferenceDigest the manifestReferenceDigest to set
- */
- public void setManifestReferenceDigest(byte[] manifestReferenceDigest) {
- this.manifestReferenceDigest = manifestReferenceDigest;
- }
-
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/PersonData.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/PersonData.java deleted file mode 100644 index 2a537eb3..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/PersonData.java +++ /dev/null @@ -1,91 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.idlink.ans1; - -import iaik.asn1.*; - -/** - * This class represents the ASN.1 version of the <code>PersonData</code> - * of a compressed identity link. - * - * <pre> -PersonData ::= CHOICE { - physcialPerson [0] PhysicalPersonData, - corporateBody [1] CorporateBodyData -} </pre> - * - * @author mivkovic@egiz.gv.at, mcentner@egiz.gv.at - * - */ -public class PersonData implements ASN1Type { - - /** - * <code>physicalPerson</code> - */ - private PhysicalPersonData physicalPerson; // PhysicalPersonData - - /** - * Creates a new <code>PersonData</code> with the given - * <code>physicalPersonData</code>. - * - * @param physicalPersonData - */ - public PersonData(PhysicalPersonData physicalPersonData) { - physicalPerson = physicalPersonData; - } - - /** - * Creates a new <code>PersonData</code> from its ASN.1 representation. - * - * @param obj - * @throws CodingException - */ - public PersonData(ASN1Object obj) throws CodingException { - decode(obj); - } - - @Override - public void decode(ASN1Object obj) throws CodingException { - try { - physicalPerson = new PhysicalPersonData(obj); - } catch (Exception ex) { - throw new CodingException(ex.toString()); - } - } - - @Override - public ASN1Object toASN1Object() { - return physicalPerson.toASN1Object(); - } - - /** - * Returns the DER encoded representation of this <code>PersonData</code>. - * - * @return the DER encoded representation of this <code>PersonData</code> - */ - public byte[] getEncoded() { - return DerCoder.encode(toASN1Object()); - } - - /** - * @return the physicalPerson - */ - public PhysicalPersonData getPhysicalPerson() { - return physicalPerson; - } - -}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/PhysicalPersonData.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/PhysicalPersonData.java deleted file mode 100644 index a6aea97e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/idlink/ans1/PhysicalPersonData.java +++ /dev/null @@ -1,143 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.idlink.ans1; - -import iaik.asn1.*; - -/** - * This class represents the ASN.1 version of the <code>PhysicalPersonData</code> - * of an compressed identity link. - * - * <pre>PhysicalPersonData ::= SEQUENCE { - baseId UTF8String, - givenName UTF8String, - familyName UTF8String, - dateOfBirth UTF8String -}</pre> - * - * @author mivkovic@egiz.gv.at, mcentner@eigz.gv.at - */ -public class PhysicalPersonData implements ASN1Type { - - /** - * <code>baseId</code> - */ - private String baseId; // UTF8String - - /** - * <code>givenName</code> - */ - private String givenName; // UTF8String - - /** - * <code>familyName</code> - */ - private String familyName; // UTF8String - - /** - * <code>dataOfBirth</code> - */ - private String dateOfBirth; // UTF8String - - /** - * Creates a new <code>PhysicalPersonData</code> with the - * given <code>baseId</code>, <code>givenName</code>, <code>familyName</code> - * and <code>dataOfBirth</code>. - * - * @param baseId - * @param givenName - * @param familyName - * @param dateOfBirth - */ - public PhysicalPersonData(String baseId, String givenName, String familyName, String dateOfBirth) { - this.baseId = baseId; - this.givenName = givenName; - this.familyName = familyName; - this.dateOfBirth = dateOfBirth; - } - - /** - * Creates a new <code>PhysicalPersonData</code> from its ASN.1 representation. - * - * @param obj - * - * @throws CodingException - */ - public PhysicalPersonData(ASN1Object obj) throws CodingException { - decode(obj); - } - - @Override - public void decode(ASN1Object obj) throws CodingException { - try { - baseId = (String) ((ASN1Object) obj.getComponentAt(0)).getValue(); - givenName = (String) ((ASN1Object) obj.getComponentAt(1)).getValue(); - familyName = (String) ((ASN1Object) obj.getComponentAt(2)).getValue(); - dateOfBirth = (String) ((ASN1Object) obj.getComponentAt(3)).getValue(); - } catch (Exception ex) { - throw new CodingException(ex.toString()); - } - } - - @Override - public ASN1Object toASN1Object() { - SEQUENCE ppd = new SEQUENCE(); - ppd.addComponent(new UTF8String(baseId)); - ppd.addComponent(new UTF8String(givenName)); - ppd.addComponent(new UTF8String(familyName)); - ppd.addComponent(new UTF8String(dateOfBirth)); - return ppd; - } - - /** - * Returns the DER encoding of this <code>PhysicalPersonData</code>. - * - * @return the DER encoding of this <code>PhysicalPersonData</code> - */ - public byte[] toByteArray() { - return DerCoder.encode(toASN1Object()); - } - - /** - * @return the baseId - */ - public String getBaseId() { - return baseId; - } - - /** - * @return the givenName - */ - public String getGivenName() { - return givenName; - } - - /** - * @return the familyName - */ - public String getFamilyName() { - return familyName; - } - - /** - * @return the dateOfBirth - */ - public String getDateOfBirth() { - return dateOfBirth; - } - -}
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/marshal/MarshallerFactory.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/marshal/MarshallerFactory.java deleted file mode 100644 index 3ac0a86e..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/marshal/MarshallerFactory.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2008 Federal Chancellery Austria and - * Graz University of Technology - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package at.gv.egiz.marshal; - -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.PropertyException; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * - * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at> - */ -public class MarshallerFactory { - - private static final Log log = LogFactory.getLog(MarshallerFactory.class); - - public static Marshaller createMarshaller(JAXBContext ctx, boolean formattedOutput, boolean fragment) throws JAXBException { - Marshaller m = ctx.createMarshaller(); - try { - if (formattedOutput) { - log.trace("setting marshaller property FORMATTED_OUTPUT"); - m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } - if (fragment) { - log.trace("setting marshaller property FRAGMENT"); - m.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE); - } - log.trace("setting marshaller property NamespacePrefixMapper"); - m.setProperty("com.sun.xml.bind.namespacePrefixMapper", new NamespacePrefixMapperImpl()); - } catch (PropertyException ex) { - log.info("failed to set marshaller property: " + ex.getMessage()); - } - return m; - } - - public static Marshaller createMarshaller(JAXBContext ctx, boolean formattedOutput) throws JAXBException { - return createMarshaller(ctx, formattedOutput, false); - } - - public static Marshaller createMarshaller(JAXBContext ctx) throws JAXBException { - return createMarshaller(ctx, false, false); - } -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/marshal/NamespacePrefixMapperImpl.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/marshal/NamespacePrefixMapperImpl.java deleted file mode 100644 index e0698977..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/marshal/NamespacePrefixMapperImpl.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2008 Federal Chancellery Austria and - * Graz University of Technology - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package at.gv.egiz.marshal; - -//import com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper; -import java.util.HashMap; -import java.util.Map; - -import com.sun.xml.bind.marshaller.NamespacePrefixMapper; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * - * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at> - */ -public class NamespacePrefixMapperImpl extends NamespacePrefixMapper { - - private static final Log log = LogFactory.getLog(NamespacePrefixMapperImpl.class); - - protected static final Map<String, String> prefixMap = new HashMap<String, String>(); - - static { - prefixMap.put("http://www.w3.org/2001/XMLSchema-instance", "xsi"); - prefixMap.put("http://www.w3.org/2000/09/xmldsig#", "dsig"); - prefixMap.put("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "sl"); - prefixMap.put("http://www.buergerkarte.at/cardchannel", "cc"); - prefixMap.put("http://www.w3.org/2001/04/xmldsig-more#", "ecdsa"); - prefixMap.put("http://reference.e-government.gv.at/namespace/persondata/20020228#", "pr"); - prefixMap.put("urn:oasis:names:tc:SAML:1.0:assertion", "saml"); - prefixMap.put("http://uri.etsi.org/01903/v1.1.1#", "xades"); - prefixMap.put("http://www.buergerkarte.at/namespaces/securitylayer/20020225#", "sl10"); - prefixMap.put("http://www.buergerkarte.at/namespaces/securitylayer/20020831#", "sl11"); - } - - - @Override - public String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix) { - - if (log.isTraceEnabled()) { - log.trace("prefix for namespace " + namespaceUri + " requested"); - } - - String prefix = prefixMap.get(namespaceUri); - - return (prefix != null) ? prefix : suggestion; - } - - /** - * Returns a list of namespace URIs that should be declared - * at the root element. - * <p> - * By default, the JAXB RI produces namespace declarations only when - * they are necessary, only at where they are used. Because of this - * lack of look-ahead, sometimes the marshaller produces a lot of - * namespace declarations that look redundant to human eyes. For example, - */ - @Override - public String[] getPreDeclaredNamespaceUris() { - return new String[]{ "http://www.buergerkarte.at/namespaces/securitylayer/1.2#" }; - } -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/org/apache/tomcat/util/http/AcceptLanguage.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/org/apache/tomcat/util/http/AcceptLanguage.java deleted file mode 100644 index 231966ac..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/org/apache/tomcat/util/http/AcceptLanguage.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package at.gv.egiz.org.apache.tomcat.util.http; - -import java.util.Enumeration; -import java.util.Hashtable; -import java.util.Locale; -import java.util.StringTokenizer; -import java.util.Vector; - -/** - * Util to process the "Accept-Language" header. Used by facade to implement - * getLocale() and by StaticInterceptor. - * - * Not optimized - it's very slow. - * - * @author James Duncan Davidson [duncan@eng.sun.com] - * @author James Todd [gonzo@eng.sun.com] - * @author Jason Hunter [jch@eng.sun.com] - * @author Harish Prabandham - * @author costin@eng.sun.com - */ -public class AcceptLanguage { - - public static Locale getLocale(String acceptLanguage) { - if( acceptLanguage == null ) return Locale.getDefault(); - - Hashtable<String,Vector<String>> languages = - new Hashtable<String,Vector<String>>(); - Vector<Double> quality = new Vector<Double>(); - processAcceptLanguage(acceptLanguage, languages, quality); - - if (languages.size() == 0) return Locale.getDefault(); - - Vector<Locale> l = new Vector<Locale>(); - extractLocales( languages,quality, l); - - return (Locale)l.elementAt(0); - } - - public static Enumeration getLocales(String acceptLanguage) { - // Short circuit with an empty enumeration if null header - if (acceptLanguage == null) { - Vector<Locale> v = new Vector<Locale>(); - v.addElement(Locale.getDefault()); - return v.elements(); - } - - Hashtable<String,Vector<String>> languages = - new Hashtable<String,Vector<String>>(); - Vector<Double> quality=new Vector<Double>(); - processAcceptLanguage(acceptLanguage, languages , quality); - - if (languages.size() == 0) { - Vector<Locale> v = new Vector<Locale>(); - v.addElement(Locale.getDefault()); - return v.elements(); - } - Vector<Locale> l = new Vector<Locale>(); - extractLocales( languages, quality , l); - return l.elements(); - } - - private static void processAcceptLanguage( String acceptLanguage, - Hashtable<String,Vector<String>> languages, Vector<Double> q) - { - StringTokenizer languageTokenizer = - new StringTokenizer(acceptLanguage, ","); - - while (languageTokenizer.hasMoreTokens()) { - String language = languageTokenizer.nextToken().trim(); - int qValueIndex = language.indexOf(';'); - int qIndex = language.indexOf('q'); - int equalIndex = language.indexOf('='); - Double qValue = new Double(1); - - if (qValueIndex > -1 && - qValueIndex < qIndex && - qIndex < equalIndex) { - String qValueStr = language.substring(qValueIndex + 1); - language = language.substring(0, qValueIndex); - qValueStr = qValueStr.trim().toLowerCase(); - qValueIndex = qValueStr.indexOf('='); - qValue = new Double(0); - if (qValueStr.startsWith("q") && - qValueIndex > -1) { - qValueStr = qValueStr.substring(qValueIndex + 1); - try { - qValue = new Double(qValueStr.trim()); - } catch (NumberFormatException nfe) { - } - } - } - - // XXX - // may need to handle "*" at some point in time - - if (! language.equals("*")) { - String key = qValue.toString(); - Vector<String> v; - if (languages.containsKey(key)) { - v = languages.get(key) ; - } else { - v= new Vector<String>(); - q.addElement(qValue); - } - v.addElement(language); - languages.put(key, v); - } - } - } - - private static void extractLocales(Hashtable languages, Vector q, - Vector<Locale> l) - { - // XXX We will need to order by q value Vector in the Future ? - Enumeration e = q.elements(); - while (e.hasMoreElements()) { - Vector v = - (Vector)languages.get(((Double)e.nextElement()).toString()); - Enumeration le = v.elements(); - while (le.hasMoreElements()) { - String language = (String)le.nextElement(); - String country = ""; - int countryIndex = language.indexOf("-"); - if (countryIndex > -1) { - country = language.substring(countryIndex + 1).trim(); - language = language.substring(0, countryIndex).trim(); - } - l.addElement(new Locale(language, country)); - } - } - } - - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/NamespaceContextCallback.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/NamespaceContextCallback.java deleted file mode 100644 index 08c075ac..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/NamespaceContextCallback.java +++ /dev/null @@ -1,41 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package at.gv.egiz.slbinding; - -import javax.xml.namespace.NamespaceContext; - -/** - * - * @author clemens - */ -public interface NamespaceContextCallback { - - /** - * preserves the current namespace context from the XMLEventFilter - * @param filter - */ - void preserveNamespaceContext(RedirectEventFilter filter); - - /** - * @return the namespace context if preserveNamespaceContext() was called on this object before, null otherwise - */ - NamespaceContext getNamespaceContext(); -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectCallback.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectCallback.java deleted file mode 100644 index 80fb56dc..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectCallback.java +++ /dev/null @@ -1,42 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package at.gv.egiz.slbinding; - -import java.io.ByteArrayOutputStream; -import javax.xml.stream.XMLStreamException; - -/** - * - * The beforeUnmarshal(Unmarshaller um, Object parent) methods don't allow to pass the RedirectEventFilter, - * so we implement a callback interface common to all generated classes - * @author clemens - */ -public interface RedirectCallback { - - void enableRedirect(RedirectEventFilter filter) throws XMLStreamException; - - void disableRedirect(RedirectEventFilter filter) throws XMLStreamException; - - /** - * @return the redirected stream or null if enableRedirect() was not called before - */ - ByteArrayOutputStream getRedirectedStream(); -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectEventFilter.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectEventFilter.java deleted file mode 100644 index 5fe84aae..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectEventFilter.java +++ /dev/null @@ -1,263 +0,0 @@ -/* - * Copyright 2008 Federal Chancellery Austria and - * Graz University of Technology - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package at.gv.egiz.slbinding; - -import java.io.OutputStream; -import java.util.Set; -import javax.xml.namespace.NamespaceContext; -import javax.xml.namespace.QName; -import javax.xml.stream.EventFilter; -import javax.xml.stream.XMLEventWriter; -import javax.xml.stream.XMLOutputFactory; -import javax.xml.stream.XMLStreamConstants; -import javax.xml.stream.XMLStreamException; -import javax.xml.stream.events.XMLEvent; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/* - * TODO: don't set redirect stream from caller (caller does not know whether redirection will be triggered) - * rather create on trigger and pass to caller - */ -public class RedirectEventFilter implements EventFilter { - - public static final String DEFAULT_ENCODING = "UTF-8"; - private static Log log = LogFactory.getLog(RedirectEventFilter.class); - protected XMLEventWriter redirectWriter = null; - protected Set<QName> redirectTriggers = null; - private int depth = -1; - protected NamespaceContext currentNamespaceContext = null; - - /** - * Event redirection is disabled, set a redirect stream to enable. - */ - public RedirectEventFilter() { - redirectWriter = null; - // redirectTriggers = null; - } - - /** - * - * @param redirectStream - * if null, no events are redirected - * @param redirectTriggers - * if null, all events are redirected - */ - public RedirectEventFilter(OutputStream redirectStream, String encoding) - throws XMLStreamException { // , List<QName> redirectTriggers - if (redirectStream != null) { - XMLOutputFactory outputFactory = XMLOutputFactory.newInstance(); - if (encoding == null) { - encoding = DEFAULT_ENCODING; - } - this.redirectWriter = outputFactory.createXMLEventWriter(redirectStream, - encoding); - } - // this.redirectTriggers = redirectTriggers; - } - - /** - * All startElement events occuring in the redirectTriggers list will trigger - * redirection of the entire (sub-)fragment. - * - * @param event - * @return false if an event is redirected - */ - @Override - public boolean accept(XMLEvent event) { - int eventType = event.getEventType(); - - if (eventType == XMLStreamConstants.START_ELEMENT) { - //hopefully, this is a copy - currentNamespaceContext = event.asStartElement().getNamespaceContext(); - } - if (redirectWriter == null) { - return true; - } - if (eventType == XMLStreamConstants.START_ELEMENT) { - if (depth >= 0 || triggersRedirect(event.asStartElement().getName())) { - depth++; - } - } else if (eventType == XMLStreamConstants.END_ELEMENT) { - if (depth >= 0 && --depth < 0) { - // redirect the end element of the trigger, - // but do not redirect the end element of the calling type - if (redirectTriggers != null) { - redirectEvent(event); - return false; - } - } - } - if (depth >= 0) { //|| (depth == 0 && redirectTriggers == null)) { - redirectEvent(event); - return false; - } - return true; // depth < 0; - -// switch (event.getEventType()) { -// case XMLStreamConstants.START_ELEMENT: -// StartElement startElt = event.asStartElement(); -// if (depth >= 0 || triggersRedirect(startElt.getName())) { -// depth++; -// } -// // namespace context changes only on start elements -// // (first event might not be startElement, but we don't need CDATA's -// // namespace context) -// currentNamespaceContext = startElt.getNamespaceContext(); -// break; -// case XMLStreamConstants.END_ELEMENT: -// // if depth switches from positive to negative, this is the closing tag of -// // the trigger (redirect as well!) -// if (depth >= 0 && --depth < 0) { -// redirectEvent(event); -// return false; -// } -// break; -// } -// if (depth >= 0) { -// redirectEvent(event); -// return false; -// } -// return true; // depth < 0; - } - - /** - * @param startElt - * @return true if the set of triggers contains startElement - * (or no triggers are registered, i.e. everything is redirected) - */ - private boolean triggersRedirect(QName startElement) { - if (redirectTriggers != null) { - return redirectTriggers.contains(startElement); - } - return true; - } - - private void redirectEvent(XMLEvent event) { - try { - redirectWriter.add(event); - } catch (XMLStreamException ex) { - ex.printStackTrace(); - } - } - - /** - * Enable/disable redirection of <em>all</em> events from now on. - * The redirected events will be UTF-8 encoded and written to the stream. - * - * @param redirectstream - * if null, redirection is disabled - */ - public void setRedirectStream(OutputStream redirectStream) throws XMLStreamException { - setRedirectStream(redirectStream, DEFAULT_ENCODING, null); - } - - /** - * Enable/disable redirection of <em>all</em> events from now on. - * - * @param redirectStream if null, redirection is disabled - * @param encoding The encoding for the redirect stream - * @throws javax.xml.stream.XMLStreamException - */ - public void setRedirectStream(OutputStream redirectStream, String encoding) throws XMLStreamException { - setRedirectStream(redirectStream, encoding, null); - } - - /** - * Enable/disable redirection of all (child) elements contained in redirect triggers. - * The redirected events will be UTF-8 encoded and written to the stream. - * - * @param redirectstream - * if null, redirection is disabled - * @param redirectTriggers elements that trigger the redirection - */ - public void setRedirectStream(OutputStream redirectStream, Set<QName> redirectTriggers) throws XMLStreamException { - setRedirectStream(redirectStream, DEFAULT_ENCODING, redirectTriggers); - } - - /** - * Enable/disable redirection of all (child) elements contained in redirect triggers. - * - * TODO: don't set redirect stream from caller (caller does not know whether redirection will be triggered) - * rather create on trigger and pass to caller - * @param redirectstream - * if null, redirection is disabled - * @param encoding The encoding for the redirect stream - * @param redirectTriggers elements that trigger the redirection - */ - public void setRedirectStream(OutputStream redirectStream, String encoding, Set<QName> redirectTriggers) throws XMLStreamException { - if (redirectStream != null) { - XMLOutputFactory outputFactory = XMLOutputFactory.newInstance(); - if (encoding == null) { - encoding = DEFAULT_ENCODING; - } - redirectWriter = outputFactory.createXMLEventWriter(redirectStream, - encoding); - if (redirectTriggers == null) { - // start redirecting - depth = 0; - } - this.redirectTriggers = redirectTriggers; - } else { - redirectWriter = null; - this.redirectTriggers = null; - } - } - - /** - * Enable/disable redirection of fragments (defined by elements in - * redirectTriggers) - * - * @param redirectStream - * if null, redirection is disabled - * @param redirectTriggers - * All startElement events occuring in this list will trigger - * redirection of the entire fragment. If null, all events are - * redirected - */ - // public void setRedirectStream(OutputStream redirectStream, List<QName> - // redirectTriggers) throws XMLStreamException { - // if (redirectStream != null) { - // XMLOutputFactory outputFactory = XMLOutputFactory.newInstance(); - // redirectWriter = outputFactory.createXMLEventWriter(redirectStream); - // } else { - // redirectWriter = null; - // } - // this.redirectTriggers = (redirectStream == null) ? null : redirectTriggers; - // } - /** - * flushes the internal EventWriter - * - * @throws javax.xml.stream.XMLStreamException - */ - public void flushRedirectStream() throws XMLStreamException { - redirectWriter.flush(); - } - - /** - * the namespaceContext of the last startelement event read - * - * @return - */ - public NamespaceContext getCurrentNamespaceContext() { - return currentNamespaceContext; - } -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectUnmarshallerListener.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectUnmarshallerListener.java deleted file mode 100644 index 08c12146..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/RedirectUnmarshallerListener.java +++ /dev/null @@ -1,68 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package at.gv.egiz.slbinding; - -import javax.xml.bind.Unmarshaller; -import javax.xml.stream.XMLStreamException; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Enables event redirection before marshalling a target of type RedirectCallback. - * It is up to the target class to implement the redirection (default implementation in RedirectCallback). - * Disables event redirection after marshalling (when the closing tag occurs). - * @author clemens - */ -public class RedirectUnmarshallerListener extends Unmarshaller.Listener { - - private static Log log = LogFactory.getLog(RedirectUnmarshallerListener.class); - protected RedirectEventFilter eventFilter; - - public RedirectUnmarshallerListener(RedirectEventFilter eventFilter) { - this.eventFilter = eventFilter; - } - - @Override - public void beforeUnmarshal(Object target, Object parent) { - if (target instanceof RedirectCallback) { - try { - ((RedirectCallback) target).enableRedirect(eventFilter); - } catch (XMLStreamException ex) { - log.error("failed to enable event redirection for " + target.getClass().getName() + ": " + ex.getMessage(), ex); - } - } - if (target instanceof NamespaceContextCallback) { - ((NamespaceContextCallback) target).preserveNamespaceContext(eventFilter); - } - } - - @Override - public void afterUnmarshal(Object target, Object parent) { - if (target instanceof RedirectCallback) { - try { - ((RedirectCallback) target).disableRedirect(eventFilter); - } catch (XMLStreamException ex) { - log.error("failed to disable event redirection for " + target.getClass().getName() + ": " + ex.getMessage(), ex); - } - } - } -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/SignatureLocationType.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/SignatureLocationType.java deleted file mode 100644 index 494e6972..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/SignatureLocationType.java +++ /dev/null @@ -1,50 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package at.gv.egiz.slbinding.impl; - -import at.gv.egiz.slbinding.*; -import javax.xml.bind.annotation.XmlTransient; -import javax.xml.namespace.NamespaceContext; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * - * @author clemens - */ -public class SignatureLocationType extends at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType implements NamespaceContextCallback { - - @XmlTransient - private static Log log = LogFactory.getLog(SignatureLocationType.class); - @XmlTransient - protected NamespaceContext namespaceContext; - - @Override - public NamespaceContext getNamespaceContext() { - return namespaceContext; - } - - @Override - public void preserveNamespaceContext(RedirectEventFilter filter) { - log.debug("preserving namespace context for SignatureLocationType"); - namespaceContext = filter.getCurrentNamespaceContext(); - } -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/TransformsInfoType.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/TransformsInfoType.java deleted file mode 100644 index b1de9406..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/TransformsInfoType.java +++ /dev/null @@ -1,79 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package at.gv.egiz.slbinding.impl; - -import at.gv.egiz.slbinding.*; -import java.io.ByteArrayOutputStream; -import java.io.UnsupportedEncodingException; -import java.util.HashSet; -import java.util.Set; -import javax.xml.bind.annotation.XmlTransient; -import javax.xml.namespace.NamespaceContext; -import javax.xml.namespace.QName; -import javax.xml.stream.XMLStreamException; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * - * @author clemens - */ -public class TransformsInfoType extends at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType implements RedirectCallback { - - @XmlTransient - private static Log log = LogFactory.getLog(TransformsInfoType.class); - @XmlTransient - private static final Set<QName> redirectTriggers = initRedirectTriggers(); - @XmlTransient - protected ByteArrayOutputStream redirectOS = null; - - private static Set<QName> initRedirectTriggers() { - HashSet<QName> dsigTransforms = new HashSet<QName>(); - dsigTransforms.add(new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms")); - return dsigTransforms; - } - - @Override - public void enableRedirect(RedirectEventFilter filter) throws XMLStreamException { - log.debug("enabling event redirection for TransformsInfoType"); - redirectOS = new ByteArrayOutputStream(); - filter.setRedirectStream(redirectOS, redirectTriggers); - } - - @Override - public void disableRedirect(RedirectEventFilter filter) throws XMLStreamException { - log.debug("disabling event redirection for TransformsInfoType"); - filter.flushRedirectStream(); - filter.setRedirectStream(null); - if (log.isDebugEnabled()) { - try { - log.debug("redirected events (UTF-8): " + redirectOS.toString("UTF-8")); - } catch (UnsupportedEncodingException ex) { - log.debug("failed to log redirected events", ex); - } - } - } - - @Override - public ByteArrayOutputStream getRedirectedStream() { - return redirectOS; - } -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/XMLContentType.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/XMLContentType.java deleted file mode 100644 index fd52e378..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/slbinding/impl/XMLContentType.java +++ /dev/null @@ -1,69 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package at.gv.egiz.slbinding.impl; - -import at.gv.egiz.slbinding.RedirectCallback; -import at.gv.egiz.slbinding.RedirectEventFilter; -import java.io.ByteArrayOutputStream; -import java.io.UnsupportedEncodingException; - -import javax.xml.bind.annotation.XmlTransient; -import javax.xml.stream.XMLStreamException; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * - * @author clemens - */ -public class XMLContentType extends at.buergerkarte.namespaces.securitylayer._1.XMLContentType implements RedirectCallback { - - @XmlTransient - private static Log log = LogFactory.getLog(XMLContentType.class); - @XmlTransient - protected ByteArrayOutputStream redirectOS = null; - - @Override - public void enableRedirect(RedirectEventFilter filter) throws XMLStreamException { - log.debug("enabling event redirection for XMLContentType"); - redirectOS = new ByteArrayOutputStream(); - filter.setRedirectStream(redirectOS); - } - - @Override - public void disableRedirect(RedirectEventFilter filter) throws XMLStreamException { - log.debug("disabling event redirection for XMLContentType"); - filter.flushRedirectStream(); - filter.setRedirectStream(null); - if (log.isDebugEnabled()) { - try { - log.debug("redirected events (UTF-8): " + redirectOS.toString("UTF-8")); - } catch (UnsupportedEncodingException ex) { - log.debug("failed to log redirected events", ex); - } - } - } - - @Override - public ByteArrayOutputStream getRedirectedStream() { - return redirectOS; - } -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/validation/ReportingValidationEventHandler.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/validation/ReportingValidationEventHandler.java deleted file mode 100644 index 6543c333..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/validation/ReportingValidationEventHandler.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2008 Federal Chancellery Austria and - * Graz University of Technology - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package at.gv.egiz.validation; - -import javax.xml.bind.ValidationEvent; -import javax.xml.bind.ValidationEventHandler; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * - * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at> - */ -public class ReportingValidationEventHandler implements ValidationEventHandler { - - protected static final Log log = LogFactory.getLog(ReportingValidationEventHandler.class); - - protected ValidationEvent errorEvent; - - /** - * - * @param event - * @return false, terminate the current unmarshal, validate, or marshal operation after handling this warning/error - * (except for WARNING validation events) - */ - @Override - public boolean handleEvent(ValidationEvent event) { - switch (event.getSeverity()) { - case ValidationEvent.WARNING: - log.info(event.getMessage()); - return true; - case ValidationEvent.ERROR: - log.warn(event.getMessage()); - errorEvent = event; - return false; - case ValidationEvent.FATAL_ERROR: - log.error(event.getMessage()); - errorEvent = event; - return false; - default: - log.debug(event.getMessage()); - return false; - } - } - - public ValidationEvent getErrorEvent() { - return errorEvent; - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xades/QualifyingPropertiesException.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xades/QualifyingPropertiesException.java deleted file mode 100644 index e892a13b..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xades/QualifyingPropertiesException.java +++ /dev/null @@ -1,40 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.xades;
-
-public class QualifyingPropertiesException extends Exception {
-
- public QualifyingPropertiesException() {
- // TODO Auto-generated constructor stub
- }
-
- public QualifyingPropertiesException(String message) {
- super(message);
- // TODO Auto-generated constructor stub
- }
-
- public QualifyingPropertiesException(Throwable cause) {
- super(cause);
- // TODO Auto-generated constructor stub
- }
-
- public QualifyingPropertiesException(String message, Throwable cause) {
- super(message, cause);
- // TODO Auto-generated constructor stub
- }
-
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xades/QualifyingPropertiesFactory.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xades/QualifyingPropertiesFactory.java deleted file mode 100644 index 6f694b91..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xades/QualifyingPropertiesFactory.java +++ /dev/null @@ -1,230 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.xades; - -import java.math.BigInteger; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.security.cert.CertificateEncodingException; -import java.security.cert.X509Certificate; -import java.util.Date; -import java.util.GregorianCalendar; -import java.util.List; -import java.util.TimeZone; - -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.PropertyException; -import javax.xml.crypto.dsig.DigestMethod; -import javax.xml.datatype.DatatypeConfigurationException; -import javax.xml.datatype.DatatypeFactory; -import javax.xml.datatype.XMLGregorianCalendar; - -import org.etsi.uri._01903.v1_1.CertIDListType; -import org.etsi.uri._01903.v1_1.CertIDType; -import org.etsi.uri._01903.v1_1.DataObjectFormatType; -import org.etsi.uri._01903.v1_1.DigestAlgAndValueType; -import org.etsi.uri._01903.v1_1.QualifyingPropertiesType; -import org.etsi.uri._01903.v1_1.SignaturePolicyIdentifierType; -import org.etsi.uri._01903.v1_1.SignedDataObjectPropertiesType; -import org.etsi.uri._01903.v1_1.SignedPropertiesType; -import org.etsi.uri._01903.v1_1.SignedSignaturePropertiesType; -import org.w3._2000._09.xmldsig_.DigestMethodType; -import org.w3._2000._09.xmldsig_.X509IssuerSerialType; -import org.w3c.dom.Node; - -import at.gv.egiz.marshal.MarshallerFactory; - -public class QualifyingPropertiesFactory { - - public static String NS_URI_V1_1_1 = "http://uri.etsi.org/01903/v1.1.1#"; - - public static String SIGNED_PROPERTIES_REFERENCE_TYPE_V1_1_1 = NS_URI_V1_1_1 + "SignedProperties"; - - private static QualifyingPropertiesFactory instance; - - /** - * The <code>JAXBContext</code>. - */ - private static JAXBContext jaxbContext; - - public static synchronized QualifyingPropertiesFactory getInstance() { - if (instance == null) { - instance = new QualifyingPropertiesFactory(); - } - return instance; - } - - private DatatypeFactory datatypeFactory; - - private org.etsi.uri._01903.v1_1.ObjectFactory qpFactory; - - private org.w3._2000._09.xmldsig_.ObjectFactory dsFactory; - - public QualifyingPropertiesFactory() { - - try { - datatypeFactory = DatatypeFactory.newInstance(); - } catch (DatatypeConfigurationException e) { - throw new RuntimeException(e); - } - - qpFactory = new org.etsi.uri._01903.v1_1.ObjectFactory(); - - dsFactory = new org.w3._2000._09.xmldsig_.ObjectFactory(); - - StringBuffer packageNames = new StringBuffer(); - - packageNames.append(org.etsi.uri._01903.v1_1.ObjectFactory.class.getPackage().getName()); - packageNames.append(":"); - packageNames.append(org.w3._2000._09.xmldsig_.ObjectFactory.class.getPackage().getName()); - - try { - jaxbContext = JAXBContext.newInstance(packageNames.toString()); - } catch (JAXBException e) { - // we should not get an JAXBException initializing the JAXBContext - throw new RuntimeException(e); - } - - } - - public DigestAlgAndValueType createDigestAlgAndValueType(X509Certificate certificate, DigestMethod dm) throws QualifyingPropertiesException { - - DigestMethodType digestMethodType = dsFactory.createDigestMethodType(); - digestMethodType.setAlgorithm(dm.getAlgorithm()); - - byte[] digest; - try { - MessageDigest messageDigest = MessageDigest.getInstance(dm.getAlgorithm()); - digest = messageDigest.digest(certificate.getEncoded()); - } catch (CertificateEncodingException e) { - throw new QualifyingPropertiesException(e); - } catch (NoSuchAlgorithmException e) { - throw new QualifyingPropertiesException(e); - } - - DigestAlgAndValueType digestAlgAndValueType = qpFactory.createDigestAlgAndValueType(); - digestAlgAndValueType.setDigestMethod(digestMethodType); - digestAlgAndValueType.setDigestValue(digest); - - return digestAlgAndValueType; - - } - - public X509IssuerSerialType createX509IssuerSerialType(X509Certificate certificate) { - - String name = certificate.getIssuerX500Principal().getName("RFC2253"); - BigInteger serialNumber = certificate.getSerialNumber(); - - X509IssuerSerialType issuerSerialType = dsFactory.createX509IssuerSerialType(); - issuerSerialType.setX509IssuerName(name); - issuerSerialType.setX509SerialNumber(serialNumber); - - return issuerSerialType; - - } - - public DataObjectFormatType createDataObjectFormatType(String objectReference, String mimeType, String description) { - - DataObjectFormatType dataObjectFormatType = qpFactory.createDataObjectFormatType(); - dataObjectFormatType.setObjectReference(objectReference); - - if (mimeType != null) { - dataObjectFormatType.setMimeType(mimeType); - } - if (description != null) { - dataObjectFormatType.setDescription(description); - } - - return dataObjectFormatType; - } - - public JAXBElement<QualifyingPropertiesType> createQualifyingProperties111( - String target, Date signingTime, List<X509Certificate> certificates, - String idValue, List<DataObjectFormatType> dataObjectFormats, - DigestMethod digestMethod) throws QualifyingPropertiesException { - - GregorianCalendar gregorianCalendar = new GregorianCalendar(); - gregorianCalendar.setTimeZone(TimeZone.getTimeZone("UTC")); - gregorianCalendar.setTime(signingTime); - - SignedSignaturePropertiesType signedSignaturePropertiesType = qpFactory.createSignedSignaturePropertiesType(); - - // SigningTime - XMLGregorianCalendar xmlGregorianCalendar = datatypeFactory.newXMLGregorianCalendar(gregorianCalendar); - xmlGregorianCalendar.setFractionalSecond(null); - signedSignaturePropertiesType.setSigningTime(xmlGregorianCalendar); - - // SigningCertificate - CertIDListType certIDListType = qpFactory.createCertIDListType(); - List<CertIDType> certIDs = certIDListType.getCert(); - - for (X509Certificate certificate : certificates) { - - CertIDType certIDType = qpFactory.createCertIDType(); - certIDType.setCertDigest(createDigestAlgAndValueType(certificate, digestMethod)); - certIDType.setIssuerSerial(createX509IssuerSerialType(certificate)); - - certIDs.add(certIDType); - - } - signedSignaturePropertiesType.setSigningCertificate(certIDListType); - - // SignaturePolicy - SignaturePolicyIdentifierType signaturePolicyIdentifierType = qpFactory.createSignaturePolicyIdentifierType(); - signaturePolicyIdentifierType.setSignaturePolicyImplied(new SignaturePolicyIdentifierType.SignaturePolicyImplied()); - signedSignaturePropertiesType.setSignaturePolicyIdentifier(signaturePolicyIdentifierType); - - // SignedProperties - SignedPropertiesType signedPropertiesType = qpFactory.createSignedPropertiesType(); - signedPropertiesType.setSignedSignatureProperties(signedSignaturePropertiesType); - - // DataObjectFormat - if (dataObjectFormats != null && !dataObjectFormats.isEmpty()) { - SignedDataObjectPropertiesType signedDataObjectPropertiesType = qpFactory.createSignedDataObjectPropertiesType(); - List<DataObjectFormatType> dataObjectFormatTypes = signedDataObjectPropertiesType.getDataObjectFormat(); - dataObjectFormatTypes.addAll(dataObjectFormats); - signedPropertiesType.setSignedDataObjectProperties(signedDataObjectPropertiesType); - } - - signedPropertiesType.setId(idValue); - - // QualifyingProperties - QualifyingPropertiesType qualifyingPropertiesType = qpFactory.createQualifyingPropertiesType(); - qualifyingPropertiesType.setSignedProperties(signedPropertiesType); - - qualifyingPropertiesType.setTarget(target); - - return qpFactory.createQualifyingProperties(qualifyingPropertiesType); - - } - - public void marshallQualifyingProperties(JAXBElement<QualifyingPropertiesType> qualifyingProperties, Node parent) throws JAXBException { - - try { - Marshaller marshaller = MarshallerFactory.createMarshaller(jaxbContext, true); - - marshaller.marshal(qualifyingProperties, parent); - } catch (PropertyException e) { - throw new RuntimeException(e); - } - - } - -} diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xmldsig/KeyTypeNotSupportedException.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xmldsig/KeyTypeNotSupportedException.java deleted file mode 100644 index 3afa6d51..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xmldsig/KeyTypeNotSupportedException.java +++ /dev/null @@ -1,65 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -/**
- *
- */
-package at.gv.egiz.xmldsig;
-
-/**
- * @author mcentner
- *
- */
-public class KeyTypeNotSupportedException extends Exception {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- *
- */
- public KeyTypeNotSupportedException() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @param message
- */
- public KeyTypeNotSupportedException(String message) {
- super(message);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @param cause
- */
- public KeyTypeNotSupportedException(Throwable cause) {
- super(cause);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @param message
- * @param cause
- */
- public KeyTypeNotSupportedException(String message, Throwable cause) {
- super(message, cause);
- // TODO Auto-generated constructor stub
- }
-
-}
diff --git a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xmldsig/KeyValueFactory.java b/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xmldsig/KeyValueFactory.java deleted file mode 100644 index c1772312..00000000 --- a/mocca-1.2.11/utils/src/main/java/at/gv/egiz/xmldsig/KeyValueFactory.java +++ /dev/null @@ -1,279 +0,0 @@ -/* -* Copyright 2008 Federal Chancellery Austria and -* Graz University of Technology -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -package at.gv.egiz.xmldsig;
-
-import iaik.security.ecc.interfaces.ECDSAParams;
-import iaik.security.ecc.interfaces.ECDSAPublicKey;
-import iaik.security.ecc.math.ecgroup.Coordinate;
-import iaik.security.ecc.math.ecgroup.ECPoint;
-import iaik.security.ecc.math.ecgroup.EllipticCurve;
-import iaik.security.ecc.math.field.BinaryField;
-import iaik.security.ecc.math.field.Field;
-import iaik.security.ecc.math.field.FieldElement;
-import iaik.security.ecc.math.field.PrimeField;
-
-import java.math.BigInteger;
-import java.security.InvalidKeyException;
-import java.security.PublicKey;
-import java.security.interfaces.DSAParams;
-import java.security.interfaces.DSAPublicKey;
-import java.security.interfaces.RSAPublicKey;
-
-import javax.xml.bind.JAXBElement;
-
-import org.w3._2000._09.xmldsig_.DSAKeyValueType;
-import org.w3._2000._09.xmldsig_.RSAKeyValueType;
-import org.w3._2001._04.xmldsig_more_.BasePointParamsType;
-import org.w3._2001._04.xmldsig_more_.CharTwoFieldElemType;
-import org.w3._2001._04.xmldsig_more_.CurveParamsType;
-import org.w3._2001._04.xmldsig_more_.DomainParamsType;
-import org.w3._2001._04.xmldsig_more_.ECDSAKeyValueType;
-import org.w3._2001._04.xmldsig_more_.ECPointType;
-import org.w3._2001._04.xmldsig_more_.ExplicitParamsType;
-import org.w3._2001._04.xmldsig_more_.FieldElemType;
-import org.w3._2001._04.xmldsig_more_.FieldParamsType;
-import org.w3._2001._04.xmldsig_more_.PnBFieldParamsType;
-import org.w3._2001._04.xmldsig_more_.PrimeFieldElemType;
-import org.w3._2001._04.xmldsig_more_.PrimeFieldParamsType;
-import org.w3._2001._04.xmldsig_more_.TnBFieldParamsType;
-import org.w3._2001._04.xmldsig_more_.DomainParamsType.NamedCurve;
-
-public class KeyValueFactory {
-
- private static byte[] bigInteger2byteArray(BigInteger bigPositiveInt) {
- if (bigPositiveInt == null)
- throw new NullPointerException("Argument 'bigPositiveInt' must not be null");
- if (bigPositiveInt.signum() != 1)
- throw new IllegalArgumentException("Argument 'bigPositiveInt' must not be negative");
-
- byte[] byteRepresentation = bigPositiveInt.toByteArray();
- if (byteRepresentation[0] == 0) {
- byte[] oldByteRepresentation = byteRepresentation;
- byteRepresentation = new byte[oldByteRepresentation.length - 1];
- System.arraycopy(oldByteRepresentation, 1, byteRepresentation, 0, oldByteRepresentation.length - 1);
- }
- return byteRepresentation;
- }
-
- org.w3._2001._04.xmldsig_more_.ObjectFactory ecFactory = new org.w3._2001._04.xmldsig_more_.ObjectFactory();
-
- org.w3._2000._09.xmldsig_.ObjectFactory dsFactory = new org.w3._2000._09.xmldsig_.ObjectFactory();
-
- public JAXBElement<?> createKeyValue(PublicKey publicKey) throws KeyTypeNotSupportedException {
-
- if (publicKey instanceof RSAPublicKey) {
- RSAKeyValueType keyValueType = createRSAKeyValueType((RSAPublicKey) publicKey);
- return dsFactory.createRSAKeyValue(keyValueType);
- } else if (publicKey instanceof DSAPublicKey) {
- DSAKeyValueType keyValueType = createKeyValueType((DSAPublicKey) publicKey);
- return dsFactory.createDSAKeyValue(keyValueType);
- } else if (publicKey instanceof ECDSAPublicKey) {
- ECDSAKeyValueType keyValueType = createKeyValueType((ECDSAPublicKey) publicKey);
- return ecFactory.createECDSAKeyValue(keyValueType);
- } else if ("EC".equals(publicKey.getAlgorithm())) {
- byte[] encoded = publicKey.getEncoded();
- try {
- iaik.security.ecc.ecdsa.ECPublicKey key = new iaik.security.ecc.ecdsa.ECPublicKey(encoded);
- ECDSAKeyValueType keyValueType = createKeyValueType(key);
- return ecFactory.createECDSAKeyValue(keyValueType);
- } catch (InvalidKeyException e) {
- throw new KeyTypeNotSupportedException("Public key of type "
- + publicKey.getAlgorithm() + " (" + publicKey.getClass()
- + ") not supported.");
- }
- } else {
- throw new KeyTypeNotSupportedException("Public key of type "
- + publicKey.getAlgorithm() + " (" + publicKey.getClass()
- + ") not supported.");
- }
-
- }
-
- public RSAKeyValueType createRSAKeyValueType(RSAPublicKey publicKey) {
-
- RSAKeyValueType keyValueType = dsFactory.createRSAKeyValueType();
- keyValueType.setExponent(bigInteger2byteArray(publicKey.getPublicExponent()));
- keyValueType.setModulus(bigInteger2byteArray(publicKey.getModulus()));
-
- return keyValueType;
- }
-
- public DSAKeyValueType createKeyValueType(DSAPublicKey publicKey) {
-
- DSAKeyValueType keyValueType = dsFactory.createDSAKeyValueType();
-
- if (publicKey.getParams() != null) {
- // P, Q, G
- DSAParams params = publicKey.getParams();
- if (params.getP() != null && params.getQ() != null) {
- keyValueType.setP(bigInteger2byteArray(params.getP()));
- keyValueType.setQ(bigInteger2byteArray(params.getQ()));
- }
- if (params.getG() != null) {
- keyValueType.setG(bigInteger2byteArray(params.getG()));
- }
- }
- //
- keyValueType.setY(bigInteger2byteArray(publicKey.getY()));
-
- return keyValueType;
- }
-
- public ECDSAKeyValueType createKeyValueType(ECDSAPublicKey publicKey) throws KeyTypeNotSupportedException {
-
- ECDSAKeyValueType keyValueType = ecFactory.createECDSAKeyValueType();
-
- ECDSAParams params = publicKey.getParameter();
- if (params != null) {
- keyValueType.setDomainParameters(createDomainParamsType(params));
- }
-
- if (!publicKey.getW().isInfinity()) {
- keyValueType.setPublicKey(createPointType(publicKey.getW()));
- }
-
- return keyValueType;
- }
-
- public ECPointType createPointType(ECPoint point) throws KeyTypeNotSupportedException {
- ECPointType pointType = ecFactory.createECPointType();
- Coordinate affine = point.getCoordinates().toAffine();
- pointType.setX(createFieldElemType(affine.getX()));
- pointType.setY(createFieldElemType(affine.getY()));
- return pointType;
- }
-
- public FieldElemType createFieldElemType(FieldElement fieldElement) throws KeyTypeNotSupportedException {
- int fieldId = fieldElement.getField().getFieldId();
- if (fieldId == PrimeField.PRIME_FIELD_ID) {
- PrimeFieldElemType fieldElemType = ecFactory.createPrimeFieldElemType();
- fieldElemType.setValue(fieldElement.toBigInt());
- return fieldElemType;
- } else if (fieldId == BinaryField.BINARY_FIELD_ID) {
- CharTwoFieldElemType fieldElemType = ecFactory.createCharTwoFieldElemType();
- fieldElemType.setValue(fieldElement.toByteArray());
- return fieldElemType;
- } else {
- throw new KeyTypeNotSupportedException("Field element of type " + fieldId + " not supported.");
- }
- }
-
- public FieldParamsType createFieldParamsType(Field field) throws KeyTypeNotSupportedException {
-
- if (field.getFieldId() == PrimeField.PRIME_FIELD_ID) {
- // PrimeFieldParamsType
- PrimeFieldParamsType primeFieldParamsType = ecFactory.createPrimeFieldParamsType();
- primeFieldParamsType.setP(field.getSize());
- return primeFieldParamsType;
- } else if (field.getFieldId() == BinaryField.BINARY_FIELD_ID && field instanceof BinaryField) {
- // CharTwoFieldParamsType
-
- BinaryField binaryField = (BinaryField) field;
- int[] irreduciblePolynomial = binaryField.getIrreduciblePolynomial();
-
- // The irreducible polynomial as a BinaryFieldValue
- FieldElement irreducible = binaryField.newElement(irreduciblePolynomial);
-
- int order = binaryField.getOrder();
- int[] coeffPositions = new int[3];
-
- // Get coefficients of irreducible polynomial
- int coeffCount = 2;
- for (int i = 1; i < order -1; i++) {
- if (irreducible.testBit(i)) {
- coeffPositions[coeffCount - 2] = i;
- coeffCount++;
- if (coeffCount == 5)
- break;
- }
- }
- // detect if trinomial or pentanomial base is present...
- switch (coeffCount) {
- case 3:
- // trinomial base
- TnBFieldParamsType tnBFieldParamsType = ecFactory.createTnBFieldParamsType();
- tnBFieldParamsType.setM(BigInteger.valueOf(binaryField.getOrder()));
- tnBFieldParamsType.setK(BigInteger.valueOf(coeffPositions[0]));
- return tnBFieldParamsType;
-
- case 5:
- // pentanomial base
- PnBFieldParamsType pnBFieldParamsType = ecFactory.createPnBFieldParamsType();
- pnBFieldParamsType.setM(BigInteger.valueOf(binaryField.getOrder()));
- pnBFieldParamsType.setK1(BigInteger.valueOf(coeffPositions[0]));
- pnBFieldParamsType.setK2(BigInteger.valueOf(coeffPositions[1]));
- pnBFieldParamsType.setK3(BigInteger.valueOf(coeffPositions[2]));
- return pnBFieldParamsType;
-
- default:
- throw new KeyTypeNotSupportedException("Only trinomial and pentanomial base is supported.");
- }
-
- } else {
- throw new KeyTypeNotSupportedException("Field element of type " + field.getFieldId() + " not supported.");
- }
-
- }
-
- public DomainParamsType createDomainParamsType(ECDSAParams params) throws KeyTypeNotSupportedException {
-
- DomainParamsType domainParamsType = ecFactory.createDomainParamsType();
- EllipticCurve curve = params.getG().getCurve();
-
- String oid = params.getOID();
- if (oid != null) {
- // NamedCurve
- NamedCurve namedCurve = ecFactory.createDomainParamsTypeNamedCurve();
- namedCurve.setURN("urn:oid:" + oid);
- domainParamsType.setNamedCurve(namedCurve);
- } else {
- // Explicit parameters
- ExplicitParamsType explicitParamsType = ecFactory.createExplicitParamsType();
- explicitParamsType.setFieldParams(createFieldParamsType(curve.getField()));
-
- CurveParamsType curveParamsType = ecFactory.createCurveParamsType();
-
- // curve coefficients
- curveParamsType.setA(createFieldElemType(curve.getA()));
- curveParamsType.setB(createFieldElemType(curve.getB()));
-
- // seed
- if (params.getS() != null) {
- curveParamsType.setSeed(bigInteger2byteArray(params.getS()));
- }
- explicitParamsType.setCurveParams(curveParamsType);
-
-
- // BasePoint parameters
- BasePointParamsType basePointParamsType = ecFactory.createBasePointParamsType();
- if (!params.getG().isInfinity()) {
- basePointParamsType.setBasePoint(createPointType(params.getG()));
- }
- basePointParamsType.setOrder(params.getR());
- if(params.getK() != null) {
- basePointParamsType.setCofactor(params.getK());
- }
- explicitParamsType.setBasePointParams(basePointParamsType);
-
- domainParamsType.setExplicitParams(explicitParamsType);
- }
-
- return domainParamsType;
-
- }
-
-}
|