Class AttivioPrincipalConverter

  • All Implemented Interfaces:
    com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

    public class AttivioPrincipalConverter
    extends AbstractConverter
    XStream serializer for AttivioPrincipal.
    • Field Detail

      • PRINCIPAL

        public static final java.lang.String PRINCIPAL
        The 'principal' element.
        See Also:
        Constant Field Values
      • REALM_ID

        public static final java.lang.String REALM_ID
        The 'realm-id' attribute.
        See Also:
        Constant Field Values
      • PRINCIPAL_ID

        public static final java.lang.String PRINCIPAL_ID
        The 'principal-id' attribute.
        See Also:
        Constant Field Values
      • PRINCIPAL_ID_DATA

        public static final java.lang.String PRINCIPAL_ID_DATA
        The 'principal-id-data' attribute.
        See Also:
        Constant Field Values
      • PRINCIPAL_NAME

        public static final java.lang.String PRINCIPAL_NAME
        The 'principal-name' attribute.
        See Also:
        Constant Field Values
      • PRINCIPAL_TYPE

        public static final java.lang.String PRINCIPAL_TYPE
        The 'principal-type' attribute.
        See Also:
        Constant Field Values
      • CORRELATION_ID

        public static final java.lang.String CORRELATION_ID
        The 'correlation-id' attribute.
        See Also:
        Constant Field Values
      • ASSOCIATIONS

        public static final java.lang.String ASSOCIATIONS
        The 'associations' element.
        See Also:
        Constant Field Values
      • ASSOCIATION

        public static final java.lang.String ASSOCIATION
        The 'association' element.
        See Also:
        Constant Field Values
      • SUBJECT

        public static final java.lang.String SUBJECT
        The 'subject' element.
        See Also:
        Constant Field Values
      • PREDICATE

        public static final java.lang.String PREDICATE
        The 'predicate' element.
        See Also:
        Constant Field Values
      • OBJECT

        public static final java.lang.String OBJECT
        The 'object' element.
        See Also:
        Constant Field Values
      • PROPERTIES

        public static final java.lang.String PROPERTIES
        The 'properties' element
        See Also:
        Constant Field Values
      • PROPERTY

        public static final java.lang.String PROPERTY
        The property element
        See Also:
        Constant Field Values
      • PROPERTY_KEY

        public static final java.lang.String PROPERTY_KEY
        property key attribute
        See Also:
        Constant Field Values
      • PROPERTY_VALUE

        public static final java.lang.String PROPERTY_VALUE
        property value attribute (and element for multivalue)
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttivioPrincipalConverter

        public AttivioPrincipalConverter()
    • Method Detail

      • marshal

        public void marshal​(java.lang.Object source,
                            com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                            com.thoughtworks.xstream.converters.MarshallingContext context)
      • unmarshal

        public AttivioPrincipal unmarshal​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                          com.thoughtworks.xstream.converters.UnmarshallingContext context)
      • unmarshalAssociations

        protected static void unmarshalAssociations​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                                    AttivioPrincipal principal)
      • unmarshalProperties

        protected static void unmarshalProperties​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                                  AttivioPrincipal principal)
      • canConvert

        public boolean canConvert​(java.lang.Class type)