Class KeyInfoType.Builder<_B>

  • All Implemented Interfaces:
    com.kscs.util.jaxb.Buildable
    Enclosing class:
    KeyInfoType

    public static class KeyInfoType.Builder<_B>
    extends Object
    implements com.kscs.util.jaxb.Buildable
    • Field Detail

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final KeyInfoType _storedValue
    • Constructor Detail

      • Builder

        public Builder​(_B _parentBuilder,
                       KeyInfoType _other,
                       boolean _copy)
      • Builder

        public Builder​(_B _parentBuilder,
                       KeyInfoType _other,
                       boolean _copy,
                       com.kscs.util.jaxb.PropertyTree _propertyTree,
                       com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • Method Detail

      • end

        public _B end()
      • init

        protected <_P extends KeyInfoType> _P init​(_P _product)
      • addContent

        public KeyInfoType.Builder<_B> addContent​(Iterable<?> content)
        Adds the given items to the value of "content"
        Parameters:
        content - Items to add to the value of the "content" property
      • withContent

        public KeyInfoType.Builder<_B> withContent​(Iterable<?> content)
        Sets the new value of "content" (any previous value will be replaced)
        Parameters:
        content - New value of the "content" property.
      • addContent

        public KeyInfoType.Builder<_B> addContent​(Object... content)
        Adds the given items to the value of "content"
        Parameters:
        content - Items to add to the value of the "content" property
      • withContent

        public KeyInfoType.Builder<_B> withContent​(Object... content)
        Sets the new value of "content" (any previous value will be replaced)
        Parameters:
        content - New value of the "content" property.
      • addKeyName

        public KeyInfoType.Builder<_B> addKeyName​(Iterable<? extends javax.xml.bind.JAXBElement<String>> keyName_)
        Adds the given items to the value of "keyName_"
        Parameters:
        keyName_ - Items to add to the value of the "keyName_" property
      • addKeyName

        public KeyInfoType.Builder<_B> addKeyName​(javax.xml.bind.JAXBElement<String>... keyName_)
        Adds the given items to the value of "keyName_"
        Parameters:
        keyName_ - Items to add to the value of the "keyName_" property
      • addKeyValue

        public KeyInfoType.Builder<_B> addKeyValue​(Iterable<? extends javax.xml.bind.JAXBElement<KeyValueType>> keyValue_)
        Adds the given items to the value of "keyValue_"
        Parameters:
        keyValue_ - Items to add to the value of the "keyValue_" property
      • addKeyValue

        public KeyInfoType.Builder<_B> addKeyValue​(javax.xml.bind.JAXBElement<KeyValueType>... keyValue_)
        Adds the given items to the value of "keyValue_"
        Parameters:
        keyValue_ - Items to add to the value of the "keyValue_" property
      • addRetrievalMethod

        public KeyInfoType.Builder<_B> addRetrievalMethod​(Iterable<? extends javax.xml.bind.JAXBElement<RetrievalMethodType>> retrievalMethod_)
        Adds the given items to the value of "retrievalMethod_"
        Parameters:
        retrievalMethod_ - Items to add to the value of the "retrievalMethod_" property
      • addRetrievalMethod

        public KeyInfoType.Builder<_B> addRetrievalMethod​(javax.xml.bind.JAXBElement<RetrievalMethodType>... retrievalMethod_)
        Adds the given items to the value of "retrievalMethod_"
        Parameters:
        retrievalMethod_ - Items to add to the value of the "retrievalMethod_" property
      • addX509Data

        public KeyInfoType.Builder<_B> addX509Data​(Iterable<? extends javax.xml.bind.JAXBElement<X509DataType>> x509Data_)
        Adds the given items to the value of "x509Data_"
        Parameters:
        x509Data_ - Items to add to the value of the "x509Data_" property
      • addX509Data

        public KeyInfoType.Builder<_B> addX509Data​(javax.xml.bind.JAXBElement<X509DataType>... x509Data_)
        Adds the given items to the value of "x509Data_"
        Parameters:
        x509Data_ - Items to add to the value of the "x509Data_" property
      • addPGPData

        public KeyInfoType.Builder<_B> addPGPData​(Iterable<? extends javax.xml.bind.JAXBElement<PGPDataType>> pgpData_)
        Adds the given items to the value of "pgpData_"
        Parameters:
        pgpData_ - Items to add to the value of the "pgpData_" property
      • addPGPData

        public KeyInfoType.Builder<_B> addPGPData​(javax.xml.bind.JAXBElement<PGPDataType>... pgpData_)
        Adds the given items to the value of "pgpData_"
        Parameters:
        pgpData_ - Items to add to the value of the "pgpData_" property
      • addSPKIData

        public KeyInfoType.Builder<_B> addSPKIData​(Iterable<? extends javax.xml.bind.JAXBElement<SPKIDataType>> spkiData_)
        Adds the given items to the value of "spkiData_"
        Parameters:
        spkiData_ - Items to add to the value of the "spkiData_" property
      • addSPKIData

        public KeyInfoType.Builder<_B> addSPKIData​(javax.xml.bind.JAXBElement<SPKIDataType>... spkiData_)
        Adds the given items to the value of "spkiData_"
        Parameters:
        spkiData_ - Items to add to the value of the "spkiData_" property
      • addMgmtData

        public KeyInfoType.Builder<_B> addMgmtData​(Iterable<? extends javax.xml.bind.JAXBElement<String>> mgmtData_)
        Adds the given items to the value of "mgmtData_"
        Parameters:
        mgmtData_ - Items to add to the value of the "mgmtData_" property
      • addMgmtData

        public KeyInfoType.Builder<_B> addMgmtData​(javax.xml.bind.JAXBElement<String>... mgmtData_)
        Adds the given items to the value of "mgmtData_"
        Parameters:
        mgmtData_ - Items to add to the value of the "mgmtData_" property
      • withId

        public KeyInfoType.Builder<_B> withId​(String id)
        Sets the new value of "id" (any previous value will be replaced)
        Parameters:
        id - New value of the "id" property.
      • build

        public KeyInfoType build()
        Specified by:
        build in interface com.kscs.util.jaxb.Buildable