Package com.helger.smpclient.json
Class SMPJsonResponse
java.lang.Object
com.helger.smpclient.json.SMPJsonResponse
Utility class to convert SMP data structures to JSON
- Author:
- Philip Helger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic com.helger.json.IJsonObjectconvert(com.helger.peppol.sml.ESMPAPIType eSMPAPIType, com.helger.peppolid.IParticipantIdentifier aParticipantID, Map<String, String> aSGHrefs, com.helger.peppolid.factory.IIdentifierFactory aIF) static com.helger.json.IJsonObjectconvert(com.helger.peppolid.IParticipantIdentifier aParticipantID, com.helger.peppolid.IDocumentTypeIdentifier aDocTypeID, com.helger.xsds.bdxr.smp1.ServiceMetadataType aSM) static com.helger.json.IJsonObjectconvert(com.helger.peppolid.IParticipantIdentifier aParticipantID, com.helger.peppolid.IDocumentTypeIdentifier aDocTypeID, com.helger.xsds.bdxr.smp2.ServiceMetadataType aSM) static com.helger.json.IJsonObjectconvert(com.helger.peppolid.IParticipantIdentifier aParticipantID, com.helger.peppolid.IDocumentTypeIdentifier aDocTypeID, com.helger.xsds.peppol.smp1.ServiceMetadataType aSM) static voidconvertCertificate(com.helger.json.IJsonObject aTarget, String sCert) static com.helger.json.IJsonObjectconvertEndpoint(com.helger.xsds.bdxr.smp1.EndpointType aEndpoint) static com.helger.json.IJsonObjectconvertEndpoint(com.helger.xsds.bdxr.smp2.ac.EndpointType aEndpoint) static com.helger.json.IJsonObjectconvertEndpoint(com.helger.xsds.peppol.smp1.EndpointType aEndpoint) static com.helger.json.IJsonObjectgetJsonPrincipal(X500Principal aPrincipal) static StringgetLD(com.helger.commons.datetime.OffsetDate aLD) static StringgetLD(com.helger.commons.datetime.XMLOffsetDate aLD) static StringgetLDT(com.helger.commons.datetime.XMLOffsetDateTime aLDT) static StringgetLDT(OffsetDateTime aLDT)
-
Field Details
-
JSON_SMPTYPE
- See Also:
-
JSON_PARTICIPANT_ID
- See Also:
-
JSON_HREF
- See Also:
-
JSON_DOCUMENT_TYPE_ID
- See Also:
-
JSON_ERROR
- See Also:
-
JSON_URLS
- See Also:
-
JSON_CERTIFICATE_UID
- See Also:
-
JSON_REDIRECT
- See Also:
-
JSON_PROCESS_ID
- See Also:
-
JSON_TRANSPORT_PROFILE
- See Also:
-
JSON_ENDPOINT_REFERENCE
- See Also:
-
JSON_REQUIRE_BUSINESS_LEVEL_SIGNATURE
- See Also:
-
JSON_MINIMUM_AUTHENTICATION_LEVEL
- See Also:
-
JSON_SERVICE_ACTIVATION_DATE
- See Also:
-
JSON_SERVICE_EXPIRATION_DATE
- See Also:
-
JSON_CERTIFICATE
- See Also:
-
JSON_CERTIFICATE_DETAILS
- See Also:
-
JSON_SERVICE_DESCRIPTION
- See Also:
-
JSON_TECHNICAL_CONTACT_URL
- See Also:
-
JSON_TECHNICAL_INFORMATION_URL
- See Also:
-
JSON_ENDPOINTS
- See Also:
-
JSON_PROCESSES
- See Also:
-
JSON_EXTENSION
- See Also:
-
JSON_SERVICEINFO
- See Also:
-
-
Method Details
-
convert
-
getJsonPrincipal
@Nonnull public static com.helger.json.IJsonObject getJsonPrincipal(@Nonnull X500Principal aPrincipal) -
getLD
-
getLD
-
getLDT
-
getLDT
-
convertCertificate
-
convertEndpoint
-
convert
-
convertEndpoint
-
convert
-
convertEndpoint
-
convert
-