From 83a9b613836910f7edc370c2fe60fa2268dc4461 Mon Sep 17 00:00:00 2001 From: clemenso Date: Mon, 1 Mar 2010 17:47:58 +0000 Subject: add redirect for CreateXMLSignatureResponse (top level) type git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@643 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../gv/egiz/bku/slcommands/SLCommandFactory.java | 12 +- .../namespaces/securitylayer/_1/ObjectFactory.java | 932 ++++++++++----------- .../impl/CreateXMLSignatureResponseType.java | 71 ++ .../resources/at/gv/egiz/slbinding/impl/jaxb.index | 3 + 4 files changed, 549 insertions(+), 469 deletions(-) create mode 100644 utils/src/main/java/at/gv/egiz/slbinding/impl/CreateXMLSignatureResponseType.java create mode 100644 utils/src/main/resources/at/gv/egiz/slbinding/impl/jaxb.index diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandFactory.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandFactory.java index 8e3f6ece..ab2f08cc 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandFactory.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/SLCommandFactory.java @@ -169,13 +169,19 @@ public class SLCommandFactory { private synchronized void ensureJaxbContext() { if (jaxbContext == null) { try { + // add top-level types explicitly to jaxb context, otherwise the unmarshaller won't find them. + // cf. http://forums.java.net/jive/thread.jspa?threadID=75778&tstart=0 + String slImplPkg = at.gv.egiz.slbinding.impl.CreateXMLSignatureResponseType.class.getPackage().getName(); + String slPkg = at.buergerkarte.namespaces.securitylayer._1.ObjectFactory.class.getPackage().getName(); String xmldsigPkg = org.w3._2000._09.xmldsig_.ObjectFactory.class.getPackage().getName(); String cardChannelPkg = at.buergerkarte.namespaces.cardchannel.ObjectFactory.class.getPackage().getName(); String slPkgLegacy1_0 = at.buergerkarte.namespaces.securitylayer._20020225_.ObjectFactory.class.getPackage().getName(); String slPkgLegacy1_1 = at.buergerkarte.namespaces.securitylayer._20020831_.ObjectFactory.class.getPackage().getName(); - setJaxbContext(JAXBContext.newInstance(slPkg + ":" + xmldsigPkg + ":" + cardChannelPkg - + ":" + slPkgLegacy1_0 + ":" + slPkgLegacy1_1)); + String contextPath = slImplPkg + ":" + slPkg + ":" + xmldsigPkg + ":" + cardChannelPkg + + ":" + slPkgLegacy1_0 + ":" + slPkgLegacy1_1; + log.debug("jaxb context path: " + contextPath); + setJaxbContext(JAXBContext.newInstance(contextPath)); } catch (JAXBException e) { log.error("Failed to setup JAXBContext security layer request.", e); throw new SLRuntimeException(e); @@ -378,7 +384,7 @@ public class SLCommandFactory { SLCommand slCommand; try { slCommand = implClass.newInstance(); - log.debug("SLCommand " + slCommand.getName() + " created."); + log.debug("SLCommand " + slCommand.getClass().toString() + " created."); } catch (InstantiationException e) { // unexpected error log.error("Failed to instantiate security layer command implementation.", diff --git a/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ObjectFactory.java b/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ObjectFactory.java index 67ce0e2a..7c3db055 100644 --- a/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ObjectFactory.java +++ b/utils/src/main/java/at/buergerkarte/namespaces/securitylayer/_1/ObjectFactory.java @@ -15,10 +15,10 @@ * 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 http://java.sun.com/xml/jaxb -// 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 +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2010.03.01 at 06:03:37 PM MEZ // @@ -33,18 +33,18 @@ 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. - *

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 + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.buergerkarte.namespaces.securitylayer._1 package. + *

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 { @@ -86,798 +86,798 @@ public class ObjectFactory { 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 _ReferencesCheckResultInfoTypeFailedReference_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "FailedReference"); 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"); + private final static QName _VerifyCMSSignatureResponseTypeCertificateCheck_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CertificateCheck"); /** * 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 } - * + * Create an instance of {@link VerificationResultType } + * */ - public ToBeEncryptedType.ElementContent createToBeEncryptedTypeElementContent() { - return new ToBeEncryptedType.ElementContent(); + public VerificationResultType createVerificationResultType() { + return new VerificationResultType(); } /** - * Create an instance of {@link InfoboxReadDataAssocArrayType } - * + * Create an instance of {@link XMLToBeEncryptedNewType } + * */ - public InfoboxReadDataAssocArrayType createInfoboxReadDataAssocArrayType() { - return new InfoboxReadDataAssocArrayType(); + public XMLToBeEncryptedNewType createXMLToBeEncryptedNewType() { + return new XMLToBeEncryptedNewType(); } /** - * Create an instance of {@link DecryptXMLRequestType } - * + * Create an instance of {@link EncryptCMSRequestType } + * */ - public DecryptXMLRequestType createDecryptXMLRequestType() { - return new DecryptXMLRequestType(); + public EncryptCMSRequestType createEncryptCMSRequestType() { + return new EncryptCMSRequestType(); } /** - * Create an instance of {@link Base64XMLLocRefOptRefContentType } - * + * Create an instance of {@link VerifyHashRequestType } + * */ - public Base64XMLLocRefOptRefContentType createBase64XMLLocRefOptRefContentType() { - return new Base64XMLLocRefOptRefContentType(); + public VerifyHashRequestType createVerifyHashRequestType() { + return new VerifyHashRequestType(); } /** - * Create an instance of {@link InfoboxUpdateRequestType } - * + * Create an instance of {@link XMLToBeEncryptedNewContentType } + * */ - public InfoboxUpdateRequestType createInfoboxUpdateRequestType() { - return new InfoboxUpdateRequestType(); + public XMLToBeEncryptedNewContentType createXMLToBeEncryptedNewContentType() { + return new XMLToBeEncryptedNewContentType(); } /** - * Create an instance of {@link CreateXMLSignatureResponseType } - * + * Create an instance of {@link GetStatusResponseType } + * */ - public CreateXMLSignatureResponseType createCreateXMLSignatureResponseType() { - return new CreateXMLSignatureResponseType(); + public GetStatusResponseType createGetStatusResponseType() { + return new GetStatusResponseType(); } /** - * Create an instance of {@link DecryptCMSRequestType } - * + * Create an instance of {@link InfoboxAssocArrayPairType } + * */ - public DecryptCMSRequestType createDecryptCMSRequestType() { - return new DecryptCMSRequestType(); + public InfoboxAssocArrayPairType createInfoboxAssocArrayPairType() { + return new InfoboxAssocArrayPairType(); } /** - * Create an instance of {@link VerificationResultType } - * + * Create an instance of {@link DecryptCMSRequestType } + * */ - public VerificationResultType createVerificationResultType() { - return new VerificationResultType(); + public DecryptCMSRequestType createDecryptCMSRequestType() { + return new DecryptCMSRequestType(); } /** - * Create an instance of {@link VerifyHashResponseType } - * + * Create an instance of {@link DecryptXMLRequestType } + * */ - public VerifyHashResponseType createVerifyHashResponseType() { - return new VerifyHashResponseType(); + public DecryptXMLRequestType createDecryptXMLRequestType() { + return new DecryptXMLRequestType(); } /** - * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadValue } - * + * Create an instance of {@link EncryptXMLRequestType } + * */ - public InfoboxReadParamsAssocArrayType.ReadValue createInfoboxReadParamsAssocArrayTypeReadValue() { - return new InfoboxReadParamsAssocArrayType.ReadValue(); + public EncryptXMLRequestType createEncryptXMLRequestType() { + return new EncryptXMLRequestType(); } /** - * Create an instance of {@link ToBeEncryptedType } - * + * Create an instance of {@link InfoboxUpdateRequestType } + * */ - public ToBeEncryptedType createToBeEncryptedType() { - return new ToBeEncryptedType(); + public InfoboxUpdateRequestType createInfoboxUpdateRequestType() { + return new InfoboxUpdateRequestType(); } /** - * Create an instance of {@link DecryptCMSResponseType } - * + * Create an instance of {@link InfoboxUpdateParamsAssocArrayType.UpdateKey } + * */ - public DecryptCMSResponseType createDecryptCMSResponseType() { - return new DecryptCMSResponseType(); + public InfoboxUpdateParamsAssocArrayType.UpdateKey createInfoboxUpdateParamsAssocArrayTypeUpdateKey() { + return new InfoboxUpdateParamsAssocArrayType.UpdateKey(); } /** - * Create an instance of {@link ManifestRefsCheckResultType } - * + * Create an instance of {@link VerifyCMSSignatureResponseType } + * */ - public ManifestRefsCheckResultType createManifestRefsCheckResultType() { - return new ManifestRefsCheckResultType(); + public VerifyCMSSignatureResponseType createVerifyCMSSignatureResponseType() { + return new VerifyCMSSignatureResponseType(); } /** - * Create an instance of {@link XMLRecipientPublicKeyType } - * + * Create an instance of {@link UserConfirmationType } + * */ - public XMLRecipientPublicKeyType createXMLRecipientPublicKeyType() { - return new XMLRecipientPublicKeyType(); + public UserConfirmationType createUserConfirmationType() { + return new UserConfirmationType(); } /** - * Create an instance of {@link InfoboxUpdateResponseType } - * + * Create an instance of {@link DecryptXMLResponseType } + * */ - public InfoboxUpdateResponseType createInfoboxUpdateResponseType() { - return new InfoboxUpdateResponseType(); + public DecryptXMLResponseType createDecryptXMLResponseType() { + return new DecryptXMLResponseType(); } /** - * Create an instance of {@link SignatureInfoCreationType } - * + * Create an instance of {@link BindingType } + * */ - public SignatureInfoCreationType createSignatureInfoCreationType() { - return new SignatureInfoCreationType(); + public BindingType createBindingType() { + return new BindingType(); } /** - * Create an instance of {@link HashDataType } - * + * Create an instance of {@link EncryptionInfoType.EncryptedKeyLocation } + * */ - public HashDataType createHashDataType() { - return new HashDataType(); + public EncryptionInfoType.EncryptedKeyLocation createEncryptionInfoTypeEncryptedKeyLocation() { + return new EncryptionInfoType.EncryptedKeyLocation(); } /** - * Create an instance of {@link GetStatusRequestType } - * + * Create an instance of {@link DecryptXMLResponseType.DecryptedBinaryData } + * */ - public GetStatusRequestType createGetStatusRequestType() { - return new GetStatusRequestType(); + public DecryptXMLResponseType.DecryptedBinaryData createDecryptXMLResponseTypeDecryptedBinaryData() { + return new DecryptXMLResponseType.DecryptedBinaryData(); } /** - * Create an instance of {@link AnyChildrenType } - * + * Create an instance of {@link InfoboxCreateResponseType } + * */ - public AnyChildrenType createAnyChildrenType() { - return new AnyChildrenType(); + public InfoboxCreateResponseType createInfoboxCreateResponseType() { + return new InfoboxCreateResponseType(); } /** - * Create an instance of {@link VerifyXMLSignatureResponseType } - * + * Create an instance of {@link ToBeEncryptedType.Element } + * */ - public VerifyXMLSignatureResponseType createVerifyXMLSignatureResponseType() { - return new VerifyXMLSignatureResponseType(); + public ToBeEncryptedType.Element createToBeEncryptedTypeElement() { + return new ToBeEncryptedType.Element(); } /** - * Create an instance of {@link DecryptXMLResponseType.DecryptedBinaryData } - * + * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadValue } + * */ - public DecryptXMLResponseType.DecryptedBinaryData createDecryptXMLResponseTypeDecryptedBinaryData() { - return new DecryptXMLResponseType.DecryptedBinaryData(); + public InfoboxReadParamsAssocArrayType.ReadValue createInfoboxReadParamsAssocArrayTypeReadValue() { + return new InfoboxReadParamsAssocArrayType.ReadValue(); } /** - * Create an instance of {@link GetStatusResponseType } - * + * Create an instance of {@link InfoboxReadParamsBinaryFileType } + * */ - public GetStatusResponseType createGetStatusResponseType() { - return new GetStatusResponseType(); + public InfoboxReadParamsBinaryFileType createInfoboxReadParamsBinaryFileType() { + return new InfoboxReadParamsBinaryFileType(); } /** - * Create an instance of {@link Base64XMLOptRefContentType } - * + * Create an instance of {@link GetPropertiesResponseType } + * */ - public Base64XMLOptRefContentType createBase64XMLOptRefContentType() { - return new Base64XMLOptRefContentType(); + public GetPropertiesResponseType createGetPropertiesResponseType() { + return new GetPropertiesResponseType(); } /** - * Create an instance of {@link InfoboxDeleteResponseType } - * + * Create an instance of {@link InfoboxReadDataAssocArrayType } + * */ - public InfoboxDeleteResponseType createInfoboxDeleteResponseType() { - return new InfoboxDeleteResponseType(); + public InfoboxReadDataAssocArrayType createInfoboxReadDataAssocArrayType() { + return new InfoboxReadDataAssocArrayType(); } /** - * Create an instance of {@link XMLToBeEncryptedNewType } - * + * Create an instance of {@link CMSRecipientPublicKeyType } + * */ - public XMLToBeEncryptedNewType createXMLToBeEncryptedNewType() { - return new XMLToBeEncryptedNewType(); + public CMSRecipientPublicKeyType createCMSRecipientPublicKeyType() { + return new CMSRecipientPublicKeyType(); } /** - * Create an instance of {@link CreateCMSSignatureResponseType } - * + * Create an instance of {@link CreateHashInfoRequestType } + * */ - public CreateCMSSignatureResponseType createCreateCMSSignatureResponseType() { - return new CreateCMSSignatureResponseType(); + public CreateHashInfoRequestType createCreateHashInfoRequestType() { + return new CreateHashInfoRequestType(); } /** - * Create an instance of {@link QualifiedBoxIdentifierType } - * + * Create an instance of {@link ToBeEncryptedType.ElementContent } + * */ - public QualifiedBoxIdentifierType createQualifiedBoxIdentifierType() { - return new QualifiedBoxIdentifierType(); + public ToBeEncryptedType.ElementContent createToBeEncryptedTypeElementContent() { + return new ToBeEncryptedType.ElementContent(); } /** - * Create an instance of {@link VerifyHashInfoRequestType } - * + * Create an instance of {@link CMSDataObjectOptionalMetaType } + * */ - public VerifyHashInfoRequestType createVerifyHashInfoRequestType() { - return new VerifyHashInfoRequestType(); + public CMSDataObjectOptionalMetaType createCMSDataObjectOptionalMetaType() { + return new CMSDataObjectOptionalMetaType(); } /** - * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType } - * + * Create an instance of {@link Base64OptRefContentType } + * */ - public at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType createSignatureLocationType() { - return new at.gv.egiz.slbinding.impl.SignatureLocationType(); + public Base64OptRefContentType createBase64OptRefContentType() { + return new Base64OptRefContentType(); } /** - * Create an instance of {@link EncryptCMSResponseType } - * + * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } + * */ - public EncryptCMSResponseType createEncryptCMSResponseType() { - return new EncryptCMSResponseType(); + public at.buergerkarte.namespaces.securitylayer._1.XMLContentType createXMLContentType() { + return new at.gv.egiz.slbinding.impl.XMLContentType(); } /** - * Create an instance of {@link DataObjectInfoType } - * + * Create an instance of {@link VerifyHashResponseType } + * */ - public DataObjectInfoType createDataObjectInfoType() { - return new DataObjectInfoType(); + public VerifyHashResponseType createVerifyHashResponseType() { + return new VerifyHashResponseType(); } /** - * Create an instance of {@link CMSToBeEncryptedType } - * + * Create an instance of {@link EncryptXMLResponseType } + * */ - public CMSToBeEncryptedType createCMSToBeEncryptedType() { - return new CMSToBeEncryptedType(); + public EncryptXMLResponseType createEncryptXMLResponseType() { + return new EncryptXMLResponseType(); } /** - * Create an instance of {@link InfoboxCreateResponseType } - * + * Create an instance of {@link ManifestRefsCheckResultInfoType } + * */ - public InfoboxCreateResponseType createInfoboxCreateResponseType() { - return new InfoboxCreateResponseType(); + public ManifestRefsCheckResultInfoType createManifestRefsCheckResultInfoType() { + return new ManifestRefsCheckResultInfoType(); } /** - * Create an instance of {@link EncryptionInfoType } - * + * Create an instance of {@link InfoboxReadRequestType } + * */ - public EncryptionInfoType createEncryptionInfoType() { - return new EncryptionInfoType(); + public InfoboxReadRequestType createInfoboxReadRequestType() { + return new InfoboxReadRequestType(); } /** - * Create an instance of {@link CMSDataObjectOptionalMetaType } - * + * Create an instance of {@link VerifyHashInfoRequestType } + * */ - public CMSDataObjectOptionalMetaType createCMSDataObjectOptionalMetaType() { - return new CMSDataObjectOptionalMetaType(); + public VerifyHashInfoRequestType createVerifyHashInfoRequestType() { + return new VerifyHashInfoRequestType(); } /** - * Create an instance of {@link InfoboxReadRequestType } - * + * Create an instance of {@link CreateHashRequestType } + * */ - public InfoboxReadRequestType createInfoboxReadRequestType() { - return new InfoboxReadRequestType(); + public CreateHashRequestType createCreateHashRequestType() { + return new CreateHashRequestType(); } /** - * Create an instance of {@link Base64OptRefContentType } - * + * Create an instance of {@link RequesterIDType } + * */ - public Base64OptRefContentType createBase64OptRefContentType() { - return new Base64OptRefContentType(); + public RequesterIDType createRequesterIDType() { + return new RequesterIDType(); } /** - * Create an instance of {@link CreateHashInfoRequestType } - * + * Create an instance of {@link CreateCMSSignatureRequestType } + * */ - public CreateHashInfoRequestType createCreateHashInfoRequestType() { - return new CreateHashInfoRequestType(); + public CreateCMSSignatureRequestType createCreateCMSSignatureRequestType() { + return new CreateCMSSignatureRequestType(); } /** - * Create an instance of {@link NullOperationRequestType } - * + * Create an instance of {@link CheckResultType } + * */ - public NullOperationRequestType createNullOperationRequestType() { - return new NullOperationRequestType(); + public CheckResultType createCheckResultType() { + return new CheckResultType(); } /** - * Create an instance of {@link VerifyHashRequestType } - * + * Create an instance of {@link DecryptCMSResponseType } + * */ - public VerifyHashRequestType createVerifyHashRequestType() { - return new VerifyHashRequestType(); + public DecryptCMSResponseType createDecryptCMSResponseType() { + return new DecryptCMSResponseType(); } /** - * Create an instance of {@link InfoboxReadParamsBinaryFileType } - * + * Create an instance of {@link InfoboxUpdateParamsAssocArrayType } + * */ - public InfoboxReadParamsBinaryFileType createInfoboxReadParamsBinaryFileType() { - return new InfoboxReadParamsBinaryFileType(); + public InfoboxUpdateParamsAssocArrayType createInfoboxUpdateParamsAssocArrayType() { + return new InfoboxUpdateParamsAssocArrayType(); } /** - * Create an instance of {@link CMSDataObjectRequiredMetaType } - * + * Create an instance of {@link VerifyCMSSignatureRequestType } + * */ - public CMSDataObjectRequiredMetaType createCMSDataObjectRequiredMetaType() { - return new CMSDataObjectRequiredMetaType(); + public VerifyCMSSignatureRequestType createVerifyCMSSignatureRequestType() { + return new VerifyCMSSignatureRequestType(); } /** - * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType } - * + * Create an instance of {@link NullOperationResponseType } + * */ - public at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType createTransformsInfoType() { - return new at.gv.egiz.slbinding.impl.TransformsInfoType(); + public NullOperationResponseType createNullOperationResponseType() { + return new NullOperationResponseType(); } /** - * Create an instance of {@link Base64XMLContentType } - * + * Create an instance of {@link InfoboxReadParamsAssocArrayType } + * */ - public Base64XMLContentType createBase64XMLContentType() { - return new Base64XMLContentType(); + public InfoboxReadParamsAssocArrayType createInfoboxReadParamsAssocArrayType() { + return new InfoboxReadParamsAssocArrayType(); } /** - * Create an instance of {@link CreateXMLSignatureRequestType } - * + * Create an instance of {@link AccessAuthorizationType } + * */ - public CreateXMLSignatureRequestType createCreateXMLSignatureRequestType() { - return new CreateXMLSignatureRequestType(); + public AccessAuthorizationType createAccessAuthorizationType() { + return new AccessAuthorizationType(); } /** - * Create an instance of {@link VerifyCMSSignatureRequestType } - * + * Create an instance of {@link InfoboxCreateRequestType } + * */ - public VerifyCMSSignatureRequestType createVerifyCMSSignatureRequestType() { - return new VerifyCMSSignatureRequestType(); + public InfoboxCreateRequestType createInfoboxCreateRequestType() { + return new InfoboxCreateRequestType(); } /** - * Create an instance of {@link InfoboxUpdateParamsAssocArrayType } - * + * Create an instance of {@link GetPropertiesRequestType } + * */ - public InfoboxUpdateParamsAssocArrayType createInfoboxUpdateParamsAssocArrayType() { - return new InfoboxUpdateParamsAssocArrayType(); + public GetPropertiesRequestType createGetPropertiesRequestType() { + return new GetPropertiesRequestType(); } /** - * Create an instance of {@link VerifyCMSSignatureResponseType } - * + * Create an instance of {@link SignatureInfoVerificationType } + * */ - public VerifyCMSSignatureResponseType createVerifyCMSSignatureResponseType() { - return new VerifyCMSSignatureResponseType(); + public SignatureInfoVerificationType createSignatureInfoVerificationType() { + return new SignatureInfoVerificationType(); } /** - * Create an instance of {@link BindingType } - * + * Create an instance of {@link EncryptCMSResponseType } + * */ - public BindingType createBindingType() { - return new BindingType(); + public EncryptCMSResponseType createEncryptCMSResponseType() { + return new EncryptCMSResponseType(); } /** - * Create an instance of {@link UserConfirmationType } - * + * Create an instance of {@link ReferencesCheckResultType } + * */ - public UserConfirmationType createUserConfirmationType() { - return new UserConfirmationType(); + public ReferencesCheckResultType createReferencesCheckResultType() { + return new ReferencesCheckResultType(); } /** - * Create an instance of {@link ToBeEncryptedType.Element } - * + * Create an instance of {@link GetPropertiesRequest } + * */ - public ToBeEncryptedType.Element createToBeEncryptedTypeElement() { - return new ToBeEncryptedType.Element(); + public GetPropertiesRequest createGetPropertiesRequest() { + return new GetPropertiesRequest(); } /** * Create an instance of {@link Base64ContentType } - * + * */ public Base64ContentType createBase64ContentType() { return new Base64ContentType(); } /** - * Create an instance of {@link CreateCMSSignatureRequestType } - * + * Create an instance of {@link NullOperationRequestType } + * */ - public CreateCMSSignatureRequestType createCreateCMSSignatureRequestType() { - return new CreateCMSSignatureRequestType(); + public NullOperationRequestType createNullOperationRequestType() { + return new NullOperationRequestType(); } /** - * Create an instance of {@link InfoboxReadParamsAssocArrayType } - * + * Create an instance of {@link GetStatusRequestType } + * */ - public InfoboxReadParamsAssocArrayType createInfoboxReadParamsAssocArrayType() { - return new InfoboxReadParamsAssocArrayType(); + public GetStatusRequestType createGetStatusRequestType() { + return new GetStatusRequestType(); } /** - * Create an instance of {@link AnyMixedChildrenType } - * + * Create an instance of {@link Base64XMLLocRefOptRefContentType } + * */ - public AnyMixedChildrenType createAnyMixedChildrenType() { - return new AnyMixedChildrenType(); + public Base64XMLLocRefOptRefContentType createBase64XMLLocRefOptRefContentType() { + return new Base64XMLLocRefOptRefContentType(); } /** - * Create an instance of {@link SignatureInfoVerificationType } - * + * Create an instance of {@link DataObjectInfoType } + * */ - public SignatureInfoVerificationType createSignatureInfoVerificationType() { - return new SignatureInfoVerificationType(); + public DataObjectInfoType createDataObjectInfoType() { + return new DataObjectInfoType(); } /** - * Create an instance of {@link CreateHashInfoResponseType } - * + * Create an instance of {@link Base64XMLLocRefReqRefContentType } + * */ - public CreateHashInfoResponseType createCreateHashInfoResponseType() { - return new CreateHashInfoResponseType(); + public Base64XMLLocRefReqRefContentType createBase64XMLLocRefReqRefContentType() { + return new Base64XMLLocRefReqRefContentType(); } /** - * Create an instance of {@link ErrorResponseType } - * + * Create an instance of {@link SignatureInfoCreationType } + * */ - public ErrorResponseType createErrorResponseType() { - return new ErrorResponseType(); + public SignatureInfoCreationType createSignatureInfoCreationType() { + return new SignatureInfoCreationType(); } /** - * Create an instance of {@link InfoboxUpdateParamsAssocArrayType.DeletePair } - * + * Create an instance of {@link InfoboxDeleteRequestType } + * */ - public InfoboxUpdateParamsAssocArrayType.DeletePair createInfoboxUpdateParamsAssocArrayTypeDeletePair() { - return new InfoboxUpdateParamsAssocArrayType.DeletePair(); + public InfoboxDeleteRequestType createInfoboxDeleteRequestType() { + return new InfoboxDeleteRequestType(); } /** - * Create an instance of {@link EncryptionInfoType.EncryptedKeyLocation } - * + * Create an instance of {@link CreateHashInfoResponseType } + * */ - public EncryptionInfoType.EncryptedKeyLocation createEncryptionInfoTypeEncryptedKeyLocation() { - return new EncryptionInfoType.EncryptedKeyLocation(); + public CreateHashInfoResponseType createCreateHashInfoResponseType() { + return new CreateHashInfoResponseType(); } /** - * Create an instance of {@link InfoboxAvailableRequestType } - * + * Create an instance of {@link EncryptedDataType } + * */ - public InfoboxAvailableRequestType createInfoboxAvailableRequestType() { - return new InfoboxAvailableRequestType(); + public EncryptedDataType createEncryptedDataType() { + return new EncryptedDataType(); } /** - * Create an instance of {@link CMSRecipientPublicKeyType } - * + * Create an instance of {@link CreateHashResponseType } + * */ - public CMSRecipientPublicKeyType createCMSRecipientPublicKeyType() { - return new CMSRecipientPublicKeyType(); + public CreateHashResponseType createCreateHashResponseType() { + return new CreateHashResponseType(); } /** - * Create an instance of {@link EncryptXMLRequestType } - * + * Create an instance of {@link AnyMixedChildrenType } + * */ - public EncryptXMLRequestType createEncryptXMLRequestType() { - return new EncryptXMLRequestType(); + public AnyMixedChildrenType createAnyMixedChildrenType() { + return new AnyMixedChildrenType(); } /** - * Create an instance of {@link ReferencesCheckResultInfoType } - * + * Create an instance of {@link CMSToBeEncryptedType } + * */ - public ReferencesCheckResultInfoType createReferencesCheckResultInfoType() { - return new ReferencesCheckResultInfoType(); + public CMSToBeEncryptedType createCMSToBeEncryptedType() { + return new CMSToBeEncryptedType(); } /** - * Create an instance of {@link GetPropertiesRequestType } - * + * Create an instance of {@link CreateCMSSignatureResponseType } + * */ - public GetPropertiesRequestType createGetPropertiesRequestType() { - return new GetPropertiesRequestType(); + public CreateCMSSignatureResponseType createCreateCMSSignatureResponseType() { + return new CreateCMSSignatureResponseType(); } /** - * Create an instance of {@link AccessAuthorizationType } - * + * Create an instance of {@link AnyChildrenType } + * */ - public AccessAuthorizationType createAccessAuthorizationType() { - return new AccessAuthorizationType(); + public AnyChildrenType createAnyChildrenType() { + return new AnyChildrenType(); } /** - * Create an instance of {@link MetaInfoType } - * + * Create an instance of {@link InfoboxDeleteResponseType } + * */ - public MetaInfoType createMetaInfoType() { - return new MetaInfoType(); + public InfoboxDeleteResponseType createInfoboxDeleteResponseType() { + return new InfoboxDeleteResponseType(); } /** - * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadKeys } - * + * Create an instance of {@link VerifyXMLSignatureResponseType } + * */ - public InfoboxReadParamsAssocArrayType.ReadKeys createInfoboxReadParamsAssocArrayTypeReadKeys() { - return new InfoboxReadParamsAssocArrayType.ReadKeys(); + public VerifyXMLSignatureResponseType createVerifyXMLSignatureResponseType() { + return new VerifyXMLSignatureResponseType(); } /** - * Create an instance of {@link InfoboxCreateRequestType } - * + * Create an instance of {@link DataObjectAssociationType } + * */ - public InfoboxCreateRequestType createInfoboxCreateRequestType() { - return new InfoboxCreateRequestType(); + public DataObjectAssociationType createDataObjectAssociationType() { + return new DataObjectAssociationType(); } /** - * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadPairs } - * + * Create an instance of {@link EncryptionInfoType } + * */ - public InfoboxReadParamsAssocArrayType.ReadPairs createInfoboxReadParamsAssocArrayTypeReadPairs() { - return new InfoboxReadParamsAssocArrayType.ReadPairs(); + public EncryptionInfoType createEncryptionInfoType() { + return new EncryptionInfoType(); } /** - * Create an instance of {@link VerifyXMLSignatureRequestType } - * + * Create an instance of {@link CMSEncryptedContentType } + * */ - public VerifyXMLSignatureRequestType createVerifyXMLSignatureRequestType() { - return new VerifyXMLSignatureRequestType(); + public CMSEncryptedContentType createCMSEncryptedContentType() { + return new CMSEncryptedContentType(); } /** - * Create an instance of {@link EncryptedDataType } - * + * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType } + * */ - public EncryptedDataType createEncryptedDataType() { - return new EncryptedDataType(); + public at.buergerkarte.namespaces.securitylayer._1.SignatureLocationType createSignatureLocationType() { + return new at.gv.egiz.slbinding.impl.SignatureLocationType(); } /** - * Create an instance of {@link ReferencesCheckResultType } - * + * Create an instance of {@link VerifyXMLSignatureRequestType } + * */ - public ReferencesCheckResultType createReferencesCheckResultType() { - return new ReferencesCheckResultType(); + public VerifyXMLSignatureRequestType createVerifyXMLSignatureRequestType() { + return new VerifyXMLSignatureRequestType(); } /** - * Create an instance of {@link InfoboxAvailableResponseType } - * + * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.CreateXMLSignatureResponseType } + * */ - public InfoboxAvailableResponseType createInfoboxAvailableResponseType() { - return new InfoboxAvailableResponseType(); + public at.buergerkarte.namespaces.securitylayer._1.CreateXMLSignatureResponseType createCreateXMLSignatureResponseType() { + return new at.gv.egiz.slbinding.impl.CreateXMLSignatureResponseType(); } /** - * Create an instance of {@link XMLToBeEncryptedNewContentType } - * + * Create an instance of {@link MetaInfoType } + * */ - public XMLToBeEncryptedNewContentType createXMLToBeEncryptedNewContentType() { - return new XMLToBeEncryptedNewContentType(); + public MetaInfoType createMetaInfoType() { + return new MetaInfoType(); } /** - * Create an instance of {@link RequesterIDType } - * + * Create an instance of {@link InfoboxReadResponseType } + * */ - public RequesterIDType createRequesterIDType() { - return new RequesterIDType(); + public InfoboxReadResponseType createInfoboxReadResponseType() { + return new InfoboxReadResponseType(); } /** - * Create an instance of {@link EncryptXMLResponseType.EncryptionEnvironment } - * + * Create an instance of {@link XMLRecipientPublicKeyType } + * */ - public EncryptXMLResponseType.EncryptionEnvironment createEncryptXMLResponseTypeEncryptionEnvironment() { - return new EncryptXMLResponseType.EncryptionEnvironment(); + public XMLRecipientPublicKeyType createXMLRecipientPublicKeyType() { + return new XMLRecipientPublicKeyType(); } /** - * Create an instance of {@link CMSEncryptedContentType } - * + * Create an instance of {@link HashDataType } + * */ - public CMSEncryptedContentType createCMSEncryptedContentType() { - return new CMSEncryptedContentType(); + public HashDataType createHashDataType() { + return new HashDataType(); } /** - * Create an instance of {@link CheckResultType } - * + * Create an instance of {@link Base64XMLContentType } + * */ - public CheckResultType createCheckResultType() { - return new CheckResultType(); + public Base64XMLContentType createBase64XMLContentType() { + return new Base64XMLContentType(); } /** - * Create an instance of {@link Base64XMLLocRefContentType } - * + * Create an instance of {@link QualifiedBoxIdentifierType } + * */ - public Base64XMLLocRefContentType createBase64XMLLocRefContentType() { - return new Base64XMLLocRefContentType(); + public QualifiedBoxIdentifierType createQualifiedBoxIdentifierType() { + return new QualifiedBoxIdentifierType(); } /** - * Create an instance of {@link InfoboxReadResponseType } - * + * Create an instance of {@link EncryptXMLResponseType.EncryptionEnvironment } + * */ - public InfoboxReadResponseType createInfoboxReadResponseType() { - return new InfoboxReadResponseType(); + public EncryptXMLResponseType.EncryptionEnvironment createEncryptXMLResponseTypeEncryptionEnvironment() { + return new EncryptXMLResponseType.EncryptionEnvironment(); } /** - * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.XMLContentType } - * + * Create an instance of {@link InfoboxUpdateParamsAssocArrayType.DeletePair } + * */ - public at.buergerkarte.namespaces.securitylayer._1.XMLContentType createXMLContentType() { - return new at.gv.egiz.slbinding.impl.XMLContentType(); + public InfoboxUpdateParamsAssocArrayType.DeletePair createInfoboxUpdateParamsAssocArrayTypeDeletePair() { + return new InfoboxUpdateParamsAssocArrayType.DeletePair(); } /** - * Create an instance of {@link EncryptXMLRequest } - * + * Create an instance of {@link ReferencesCheckResultInfoType } + * */ - public EncryptXMLRequest createEncryptXMLRequest() { - return new EncryptXMLRequest(); + public ReferencesCheckResultInfoType createReferencesCheckResultInfoType() { + return new ReferencesCheckResultInfoType(); } /** - * Create an instance of {@link InfoboxDeleteRequestType } - * + * Create an instance of {@link CreateXMLSignatureRequestType } + * */ - public InfoboxDeleteRequestType createInfoboxDeleteRequestType() { - return new InfoboxDeleteRequestType(); + public CreateXMLSignatureRequestType createCreateXMLSignatureRequestType() { + return new CreateXMLSignatureRequestType(); } /** - * Create an instance of {@link CreateHashRequestType } - * + * Create an instance of {@link Base64XMLLocRefContentType } + * */ - public CreateHashRequestType createCreateHashRequestType() { - return new CreateHashRequestType(); + public Base64XMLLocRefContentType createBase64XMLLocRefContentType() { + return new Base64XMLLocRefContentType(); } /** - * Create an instance of {@link InfoboxAssocArrayPairType } - * + * Create an instance of {@link ManifestRefsCheckResultType } + * */ - public InfoboxAssocArrayPairType createInfoboxAssocArrayPairType() { - return new InfoboxAssocArrayPairType(); + public ManifestRefsCheckResultType createManifestRefsCheckResultType() { + return new ManifestRefsCheckResultType(); } /** - * Create an instance of {@link DataObjectAssociationType } - * + * Create an instance of {@link InfoboxAvailableResponseType } + * */ - public DataObjectAssociationType createDataObjectAssociationType() { - return new DataObjectAssociationType(); + public InfoboxAvailableResponseType createInfoboxAvailableResponseType() { + return new InfoboxAvailableResponseType(); } /** - * Create an instance of {@link InfoboxUpdateParamsAssocArrayType.UpdateKey } - * + * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadKeys } + * */ - public InfoboxUpdateParamsAssocArrayType.UpdateKey createInfoboxUpdateParamsAssocArrayTypeUpdateKey() { - return new InfoboxUpdateParamsAssocArrayType.UpdateKey(); + public InfoboxReadParamsAssocArrayType.ReadKeys createInfoboxReadParamsAssocArrayTypeReadKeys() { + return new InfoboxReadParamsAssocArrayType.ReadKeys(); } /** - * Create an instance of {@link GetPropertiesResponseType } - * + * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadPairs } + * */ - public GetPropertiesResponseType createGetPropertiesResponseType() { - return new GetPropertiesResponseType(); + public InfoboxReadParamsAssocArrayType.ReadPairs createInfoboxReadParamsAssocArrayTypeReadPairs() { + return new InfoboxReadParamsAssocArrayType.ReadPairs(); } /** - * Create an instance of {@link GetPropertiesRequest } - * + * Create an instance of {@link ToBeEncryptedType } + * */ - public GetPropertiesRequest createGetPropertiesRequest() { - return new GetPropertiesRequest(); + public ToBeEncryptedType createToBeEncryptedType() { + return new ToBeEncryptedType(); } /** - * Create an instance of {@link ManifestRefsCheckResultInfoType } - * + * Create an instance of {@link EncryptXMLRequest } + * */ - public ManifestRefsCheckResultInfoType createManifestRefsCheckResultInfoType() { - return new ManifestRefsCheckResultInfoType(); + public EncryptXMLRequest createEncryptXMLRequest() { + return new EncryptXMLRequest(); } /** - * Create an instance of {@link DecryptXMLResponseType } - * + * Create an instance of {@link InfoboxAvailableRequestType } + * */ - public DecryptXMLResponseType createDecryptXMLResponseType() { - return new DecryptXMLResponseType(); + public InfoboxAvailableRequestType createInfoboxAvailableRequestType() { + return new InfoboxAvailableRequestType(); } /** - * Create an instance of {@link CreateHashResponseType } - * + * Create an instance of {@link CMSDataObjectRequiredMetaType } + * */ - public CreateHashResponseType createCreateHashResponseType() { - return new CreateHashResponseType(); + public CMSDataObjectRequiredMetaType createCMSDataObjectRequiredMetaType() { + return new CMSDataObjectRequiredMetaType(); } /** - * Create an instance of {@link EncryptCMSRequestType } - * + * Create an instance of {@link ErrorResponseType } + * */ - public EncryptCMSRequestType createEncryptCMSRequestType() { - return new EncryptCMSRequestType(); + public ErrorResponseType createErrorResponseType() { + return new ErrorResponseType(); } /** - * Create an instance of {@link Base64XMLLocRefReqRefContentType } - * + * Create an instance of {@link at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType } + * */ - public Base64XMLLocRefReqRefContentType createBase64XMLLocRefReqRefContentType() { - return new Base64XMLLocRefReqRefContentType(); + public at.buergerkarte.namespaces.securitylayer._1.TransformsInfoType createTransformsInfoType() { + return new at.gv.egiz.slbinding.impl.TransformsInfoType(); } /** - * Create an instance of {@link NullOperationResponseType } - * + * Create an instance of {@link Base64XMLOptRefContentType } + * */ - public NullOperationResponseType createNullOperationResponseType() { - return new NullOperationResponseType(); + public Base64XMLOptRefContentType createBase64XMLOptRefContentType() { + return new Base64XMLOptRefContentType(); } /** - * Create an instance of {@link EncryptXMLResponseType } - * + * Create an instance of {@link InfoboxUpdateResponseType } + * */ - public EncryptXMLResponseType createEncryptXMLResponseType() { - return new EncryptXMLResponseType(); + public InfoboxUpdateResponseType createInfoboxUpdateResponseType() { + return new InfoboxUpdateResponseType(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link DecryptXMLResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptXMLResponse") public JAXBElement createDecryptXMLResponse(DecryptXMLResponseType value) { @@ -886,7 +886,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link GetPropertiesResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetPropertiesResponse") public JAXBElement createGetPropertiesResponse(GetPropertiesResponseType value) { @@ -895,7 +895,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "IdentityLinkDomainIdentifier") public JAXBElement createIdentityLinkDomainIdentifier(String value) { @@ -904,7 +904,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxDeleteResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxDeleteResponse") public JAXBElement createInfoboxDeleteResponse(InfoboxDeleteResponseType value) { @@ -913,7 +913,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link EncryptCMSResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptCMSResponse") public JAXBElement createEncryptCMSResponse(EncryptCMSResponseType value) { @@ -922,7 +922,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link VerifyXMLSignatureResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyXMLSignatureResponse") public JAXBElement createVerifyXMLSignatureResponse(VerifyXMLSignatureResponseType value) { @@ -931,7 +931,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxUpdateRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxUpdateRequest") public JAXBElement createInfoboxUpdateRequest(InfoboxUpdateRequestType value) { @@ -940,7 +940,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link DecryptXMLRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptXMLRequest") public JAXBElement createDecryptXMLRequest(DecryptXMLRequestType value) { @@ -949,7 +949,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link ErrorResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "ErrorResponse") public JAXBElement createErrorResponse(ErrorResponseType value) { @@ -958,7 +958,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link CreateXMLSignatureRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateXMLSignatureRequest") public JAXBElement createCreateXMLSignatureRequest(CreateXMLSignatureRequestType value) { @@ -967,7 +967,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxCreateResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxCreateResponse") public JAXBElement createInfoboxCreateResponse(InfoboxCreateResponseType value) { @@ -976,7 +976,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link VerifyHashRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyHashRequest") public JAXBElement createVerifyHashRequest(VerifyHashRequestType value) { @@ -985,7 +985,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetStatusRequest") public JAXBElement createGetStatusRequest(GetStatusRequestType value) { @@ -994,7 +994,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link VerifyXMLSignatureRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyXMLSignatureRequest") public JAXBElement createVerifyXMLSignatureRequest(VerifyXMLSignatureRequestType value) { @@ -1003,7 +1003,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxAvailableRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxAvailableRequest") public JAXBElement createInfoboxAvailableRequest(InfoboxAvailableRequestType value) { @@ -1012,7 +1012,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link VerifyHashResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyHashResponse") public JAXBElement createVerifyHashResponse(VerifyHashResponseType value) { @@ -1021,7 +1021,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxUpdateResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxUpdateResponse") public JAXBElement createInfoboxUpdateResponse(InfoboxUpdateResponseType value) { @@ -1030,7 +1030,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxDeleteRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxDeleteRequest") public JAXBElement createInfoboxDeleteRequest(InfoboxDeleteRequestType value) { @@ -1039,7 +1039,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "QualifiedCertificate") public JAXBElement createQualifiedCertificate(Object value) { @@ -1048,7 +1048,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link DecryptCMSRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptCMSRequest") public JAXBElement createDecryptCMSRequest(DecryptCMSRequestType value) { @@ -1057,7 +1057,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link NullOperationResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "NullOperationResponse") public JAXBElement createNullOperationResponse(NullOperationResponseType value) { @@ -1066,7 +1066,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxCreateRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxCreateRequest") public JAXBElement createInfoboxCreateRequest(InfoboxCreateRequestType value) { @@ -1075,7 +1075,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link CreateHashResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateHashResponse") public JAXBElement createCreateHashResponse(CreateHashResponseType value) { @@ -1084,7 +1084,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxReadRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxReadRequest") public JAXBElement createInfoboxReadRequest(InfoboxReadRequestType value) { @@ -1093,7 +1093,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link DecryptCMSResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptCMSResponse") public JAXBElement createDecryptCMSResponse(DecryptCMSResponseType value) { @@ -1102,7 +1102,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link EncryptCMSRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptCMSRequest") public JAXBElement createEncryptCMSRequest(EncryptCMSRequestType value) { @@ -1111,7 +1111,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link EncryptXMLResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptXMLResponse") public JAXBElement createEncryptXMLResponse(EncryptXMLResponseType value) { @@ -1120,7 +1120,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link CreateHashRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateHashRequest") public JAXBElement createCreateHashRequest(CreateHashRequestType value) { @@ -1129,7 +1129,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link VerifyCMSSignatureRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyCMSSignatureRequest") public JAXBElement createVerifyCMSSignatureRequest(VerifyCMSSignatureRequestType value) { @@ -1138,7 +1138,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxReadResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxReadResponse") public JAXBElement createInfoboxReadResponse(InfoboxReadResponseType value) { @@ -1147,7 +1147,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link NullOperationRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "NullOperationRequest") public JAXBElement createNullOperationRequest(NullOperationRequestType value) { @@ -1156,7 +1156,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetStatusResponse") public JAXBElement createGetStatusResponse(GetStatusResponseType value) { @@ -1165,7 +1165,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link CreateCMSSignatureRequestType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateCMSSignatureRequest") public JAXBElement createCreateCMSSignatureRequest(CreateCMSSignatureRequestType value) { @@ -1174,7 +1174,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link VerifyCMSSignatureResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyCMSSignatureResponse") public JAXBElement createVerifyCMSSignatureResponse(VerifyCMSSignatureResponseType value) { @@ -1183,7 +1183,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link CreateCMSSignatureResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateCMSSignatureResponse") public JAXBElement createCreateCMSSignatureResponse(CreateCMSSignatureResponseType value) { @@ -1192,7 +1192,7 @@ public class ObjectFactory { /** * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxAvailableResponseType }{@code >}} - * + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxAvailableResponse") public JAXBElement createInfoboxAvailableResponse(InfoboxAvailableResponseType value) { @@ -1200,66 +1200,66 @@ public class ObjectFactory { } /** - * Create an instance of {@link JAXBElement }{@code <}{@link CreateXMLSignatureResponseType }{@code >}} - * + * Create an instance of {@link JAXBElement }{@code <}{@link at.buergerkarte.namespaces.securitylayer._1.CreateXMLSignatureResponseType }{@code >}} + * */ @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateXMLSignatureResponse") - public JAXBElement createCreateXMLSignatureResponse(CreateXMLSignatureResponseType value) { - return new JAXBElement(_CreateXMLSignatureResponse_QNAME, CreateXMLSignatureResponseType.class, null, value); + public JAXBElement createCreateXMLSignatureResponse(at.buergerkarte.namespaces.securitylayer._1.CreateXMLSignatureResponseType value) { + return new JAXBElement(_CreateXMLSignatureResponse_QNAME, ((Class) at.gv.egiz.slbinding.impl.CreateXMLSignatureResponseType.class), null, ((at.gv.egiz.slbinding.impl.CreateXMLSignatureResponseType) 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 createManifestRefsCheckResultInfoTypeReferringSigReference(BigInteger value) { - return new JAXBElement(_ManifestRefsCheckResultInfoTypeReferringSigReference_QNAME, BigInteger.class, ManifestRefsCheckResultInfoType.class, value); + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "FailedReference", scope = ReferencesCheckResultInfoType.class) + public JAXBElement createReferencesCheckResultInfoTypeFailedReference(BigInteger value) { + return new JAXBElement(_ReferencesCheckResultInfoTypeFailedReference_QNAME, BigInteger.class, ReferencesCheckResultInfoType.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 createManifestRefsCheckResultInfoTypeFailedReference(BigInteger value) { - return new JAXBElement(_ManifestRefsCheckResultInfoTypeFailedReference_QNAME, BigInteger.class, ManifestRefsCheckResultInfoType.class, value); + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "ReferringSigReference", scope = ManifestRefsCheckResultInfoType.class) + public JAXBElement createManifestRefsCheckResultInfoTypeReferringSigReference(BigInteger value) { + return new JAXBElement(_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 = ReferencesCheckResultInfoType.class) - public JAXBElement createReferencesCheckResultInfoTypeFailedReference(BigInteger value) { - return new JAXBElement(_ManifestRefsCheckResultInfoTypeFailedReference_QNAME, BigInteger.class, ReferencesCheckResultInfoType.class, value); + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "FailedReference", scope = ManifestRefsCheckResultInfoType.class) + public JAXBElement createManifestRefsCheckResultInfoTypeFailedReference(BigInteger value) { + return new JAXBElement(_ReferencesCheckResultInfoTypeFailedReference_QNAME, BigInteger.class, ManifestRefsCheckResultInfoType.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 createVerifyCMSSignatureResponseTypeSignatureCheck(CheckResultType value) { return new JAXBElement(_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 createVerifyCMSSignatureResponseTypeCertificateCheck(CheckResultType value) { - return new JAXBElement(_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 createVerifyCMSSignatureResponseTypeSignerInfo(KeyInfoType value) { return new JAXBElement(_VerifyCMSSignatureResponseTypeSignerInfo_QNAME, KeyInfoType.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 createVerifyCMSSignatureResponseTypeCertificateCheck(CheckResultType value) { + return new JAXBElement(_VerifyCMSSignatureResponseTypeCertificateCheck_QNAME, CheckResultType.class, VerifyCMSSignatureResponseType.class, value); + } + } diff --git a/utils/src/main/java/at/gv/egiz/slbinding/impl/CreateXMLSignatureResponseType.java b/utils/src/main/java/at/gv/egiz/slbinding/impl/CreateXMLSignatureResponseType.java new file mode 100644 index 00000000..47c00a84 --- /dev/null +++ b/utils/src/main/java/at/gv/egiz/slbinding/impl/CreateXMLSignatureResponseType.java @@ -0,0 +1,71 @@ +/* + * 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.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 CreateXMLSignatureResponseType extends at.buergerkarte.namespaces.securitylayer._1.CreateXMLSignatureResponseType implements RedirectCallback { + + @XmlTransient + private static Log log = LogFactory.getLog(CreateXMLSignatureResponseType.class); + @XmlTransient + protected ByteArrayOutputStream redirectOS = null; + + @Override + public void enableRedirect(RedirectEventFilter filter) throws XMLStreamException { + if (log.isDebugEnabled()) { + log.debug("enabling event redirection for " + CreateXMLSignatureResponseType.class.getName()); + } + redirectOS = new ByteArrayOutputStream(); + filter.setRedirectStream(redirectOS); + } + + @Override + public void disableRedirect(RedirectEventFilter filter) throws XMLStreamException { + if (log.isDebugEnabled()) { + log.debug("disabling event redirection for " + CreateXMLSignatureResponseType.class.getName()); + } + + 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/utils/src/main/resources/at/gv/egiz/slbinding/impl/jaxb.index b/utils/src/main/resources/at/gv/egiz/slbinding/impl/jaxb.index new file mode 100644 index 00000000..6d52df61 --- /dev/null +++ b/utils/src/main/resources/at/gv/egiz/slbinding/impl/jaxb.index @@ -0,0 +1,3 @@ +# add top-level types explicitly to jaxb context, otherwise the unmarshaller won't find them. +# cf. http://forums.java.net/jive/thread.jspa?threadID=75778&tstart=0 +CreateXMLSignatureResponseType \ No newline at end of file -- cgit v1.2.3