Interface OMNodeEx

  • All Superinterfaces:
    OMNode, OMSerializable

    public interface OMNodeEx
    extends OMNode
    Interface OMNodeEx

    Internal Implementation detail. Adding special interface to stop folks from accidently using OMNode. Please use at your own risk. May corrupt the data integrity.

    • Method Detail

      • setNextOMSibling

        void setNextOMSibling​(OMNode node)
      • setPreviousOMSibling

        void setPreviousOMSibling​(OMNode previousSibling)
      • setComplete

        void setComplete​(boolean state)
      • internalSerialize

        void internalSerialize​(XMLStreamWriter writer)
                        throws XMLStreamException
        Deprecated.
        This method will be removed in a future version of Axiom. It is only here to maintain backward compatibility with projects using this method despite the fact that it is marked as internal.
        Throws:
        XMLStreamException
      • internalSerializeAndConsume

        void internalSerializeAndConsume​(XMLStreamWriter writer)
                                  throws XMLStreamException
        Deprecated.
        This method will be removed in a future version of Axiom. It is only here to maintain backward compatibility with projects using this method despite the fact that it is marked as internal.
        Throws:
        XMLStreamException
      • getNextOMSiblingIfAvailable

        OMNode getNextOMSiblingIfAvailable()
        Get the next sibling if it is available. The sibling is available if it is complete or if the builder has started building the node. In the latter case, OMSerializable.isComplete() may return false when called on the sibling. In contrast to OMNode.getNextOMSibling(), this method will never modify the state of the underlying parser.
        Returns:
        the next sibling or null if the node has no next sibling or the builder has not yet started to build the next sibling