Class XMLNodeModel<N extends org.w3c.dom.Node>

  • All Implemented Interfaces:
    com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, com.globalmentor.io.URIAccessible, com.globalmentor.io.URIInputStreamable, com.globalmentor.io.URIOutputStreamable, com.globalmentor.model.Model

    public class XMLNodeModel<N extends org.w3c.dom.Node>
    extends com.globalmentor.io.URIAccessibleModel
    Deprecated.
    An abstract model of an XML node.

    Bound properties:

    XML_PROPERTY (Node)
    Indicates that the XML node property has been changed.
    Author:
    Garret Wilson
    See Also:
    XML_PROPERTY
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String XML_PROPERTY
      Deprecated.
      The XML node property.
      • Fields inherited from class com.globalmentor.beans.BoundPropertyObject

        NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS
      • Fields inherited from interface com.globalmentor.model.Model

        MODEL_PROPERTY
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLNodeModel()
      Deprecated.
      Default constructor.
      XMLNodeModel​(com.globalmentor.io.URIInputStreamable uriInputStreamable)
      Deprecated.
      URI input stream locator constructor.
      XMLNodeModel​(java.net.URI baseURI)
      Deprecated.
      Base URI constructor.
      XMLNodeModel​(java.net.URI baseURI, com.globalmentor.io.URIInputStreamable uriInputStreamable)
      Deprecated.
      Base URI and input stream locator constructor.
      XMLNodeModel​(N xml)
      Deprecated.
      XML constructor.
      XMLNodeModel​(N xml, com.globalmentor.io.URIInputStreamable uriInputStreamable)
      Deprecated.
      XML and URI input stream locator constructor.
      XMLNodeModel​(N xml, java.net.URI baseURI)
      Deprecated.
      XML and base URI constructor.
      XMLNodeModel​(N xml, java.net.URI baseURI, com.globalmentor.io.URIInputStreamable uriInputStreamable)
      Deprecated.
      Full constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      N getXML()
      Deprecated.
       
      void setXML​(N newXML)
      Deprecated.
      Sets the XML information being modeled.
      • Methods inherited from class com.globalmentor.io.URIAccessibleModel

        getBaseURI, getEventListenerManager
      • Methods inherited from class com.globalmentor.io.DefaultURIAccessible

        getDefaultURIAccessible, getInputStream, getOutputStream, getPassword, getUsername, setPassword, setUsername
      • Methods inherited from class com.globalmentor.beans.BoundPropertyObject

        addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • XML_PROPERTY

        public final java.lang.String XML_PROPERTY
        Deprecated.
        The XML node property.
    • Constructor Detail

      • XMLNodeModel

        public XMLNodeModel()
        Deprecated.
        Default constructor.
      • XMLNodeModel

        public XMLNodeModel​(N xml)
        Deprecated.
        XML constructor.
        Parameters:
        xml - The XML informatoin being modeled, or null if there is no XML information.
      • XMLNodeModel

        public XMLNodeModel​(java.net.URI baseURI)
        Deprecated.
        Base URI constructor.
        Parameters:
        baseURI - The base URI of the model, or null if unknown.
      • XMLNodeModel

        public XMLNodeModel​(N xml,
                            java.net.URI baseURI)
        Deprecated.
        XML and base URI constructor.
        Parameters:
        xml - The XML information being modeled, or null if there is no XML information.
        baseURI - The base URI of the model, or null if unknown.
      • XMLNodeModel

        public XMLNodeModel​(com.globalmentor.io.URIInputStreamable uriInputStreamable)
        Deprecated.
        URI input stream locator constructor.
        Parameters:
        uriInputStreamable - The implementation to use for accessing a URI for input, or null if the default implementation should be used.
      • XMLNodeModel

        public XMLNodeModel​(N xml,
                            com.globalmentor.io.URIInputStreamable uriInputStreamable)
        Deprecated.
        XML and URI input stream locator constructor.
        Parameters:
        xml - The XML information being modeled, or null if there is no XML information.
        uriInputStreamable - The implementation to use for accessing a URI for input, or null if the default implementation should be used.
      • XMLNodeModel

        public XMLNodeModel​(java.net.URI baseURI,
                            com.globalmentor.io.URIInputStreamable uriInputStreamable)
        Deprecated.
        Base URI and input stream locator constructor.
        Parameters:
        baseURI - The base URI of the model, or null if unknown.
        uriInputStreamable - The implementation to use for accessing a URI for input, or null if the default implementation should be used.
      • XMLNodeModel

        public XMLNodeModel​(N xml,
                            java.net.URI baseURI,
                            com.globalmentor.io.URIInputStreamable uriInputStreamable)
        Deprecated.
        Full constructor.
        Parameters:
        xml - The XML information being modeled, or null if there is no XML information.
        baseURI - The base URI of the model, or null if unknown.
        uriInputStreamable - The implementation to use for accessing a URI for input, or null if the default implementation should be used.
    • Method Detail

      • getXML

        public N getXML()
        Deprecated.
        Returns:
        The XML information being modeled, or null if there is no XML information.
      • setXML

        public void setXML​(N newXML)
        Deprecated.
        Sets the XML information being modeled. This is a bound property.
        Parameters:
        newXML - The XML information being modeled, or null if there is no XML information.