com.aspose.html.dom.mutations

Class MutationObserverInit

  • java.lang.Object
    • com.aspose.ms.System.ValueType<T>
      • com.aspose.ms.lang.Struct<MutationObserverInit>
        • com.aspose.html.dom.mutations.MutationObserverInit


  • public class MutationObserverInit
    extends com.aspose.ms.lang.Struct<MutationObserverInit>

    The IMutationObserverInit interface represents an options for mutation observation. The options argument allows for setting mutation observation options via object members.

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object clone() 
      MutationObserverInit Clone() 
      void CloneTo(MutationObserverInit that) 
      static boolean equals(MutationObserverInit obj1, MutationObserverInit obj2) 
      boolean equals(java.lang.Object obj) 
      com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.String> getAttributeFilter()
      Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.
      boolean getAttributeOldValue()
      Set to true if attributes is true or omitted and target’s attribute value before the mutation needs to be recorded.
      boolean getAttributes()
      Set to true if mutations to target’s attributes are to be observed.
      boolean getCharacterData()
      Set to true if mutations to target’s data are to be observed.
      boolean getCharacterDataOldValue()
      Set to true if characterData is set to true or omitted and target’s data before the mutation needs to be recorded.
      boolean getChildList()
      Set to true if mutations to target’s children are to be observed.
      boolean getSubtree()
      Set to true if mutations to not just target, but also target’s descendants are to be observed
      void setAttributeFilter(com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.String> value)
      Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.
      void setAttributeOldValue(boolean value)
      Set to true if attributes is true or omitted and target’s attribute value before the mutation needs to be recorded.
      void setAttributes(boolean value)
      Set to true if mutations to target’s attributes are to be observed.
      void setCharacterData(boolean value)
      Set to true if mutations to target’s data are to be observed.
      void setCharacterDataOldValue(boolean value)
      Set to true if characterData is set to true or omitted and target’s data before the mutation needs to be recorded.
      void setChildList(boolean value)
      Set to true if mutations to target’s children are to be observed.
      void setSubtree(boolean value)
      Set to true if mutations to not just target, but also target’s descendants are to be observed
      • Methods inherited from class java.lang.Object

        finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MutationObserverInit

        public MutationObserverInit()
    • Method Detail

      • getChildList

        public boolean getChildList()

        Set to true if mutations to target’s children are to be observed.

      • setChildList

        public void setChildList(boolean value)

        Set to true if mutations to target’s children are to be observed.

      • getAttributes

        public boolean getAttributes()

        Set to true if mutations to target’s attributes are to be observed. Can be omitted if attributeOldValue and/or attributeFilter is specified.

      • setAttributes

        public void setAttributes(boolean value)

        Set to true if mutations to target’s attributes are to be observed. Can be omitted if attributeOldValue and/or attributeFilter is specified.

      • getCharacterData

        public boolean getCharacterData()

        Set to true if mutations to target’s data are to be observed. Can be omitted if characterDataOldValue is specified

      • setCharacterData

        public void setCharacterData(boolean value)

        Set to true if mutations to target’s data are to be observed. Can be omitted if characterDataOldValue is specified

      • getSubtree

        public boolean getSubtree()

        Set to true if mutations to not just target, but also target’s descendants are to be observed

      • setSubtree

        public void setSubtree(boolean value)

        Set to true if mutations to not just target, but also target’s descendants are to be observed

      • getAttributeOldValue

        public boolean getAttributeOldValue()

        Set to true if attributes is true or omitted and target’s attribute value before the mutation needs to be recorded.

      • setAttributeOldValue

        public void setAttributeOldValue(boolean value)

        Set to true if attributes is true or omitted and target’s attribute value before the mutation needs to be recorded.

      • getCharacterDataOldValue

        public boolean getCharacterDataOldValue()

        Set to true if characterData is set to true or omitted and target’s data before the mutation needs to be recorded.

      • setCharacterDataOldValue

        public void setCharacterDataOldValue(boolean value)

        Set to true if characterData is set to true or omitted and target’s data before the mutation needs to be recorded.

      • getAttributeFilter

        public com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.String> getAttributeFilter()

        Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.

      • setAttributeFilter

        public void setAttributeFilter(com.aspose.ms.System.Collections.Generic.IGenericList<java.lang.String> value)

        Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.

      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object