Package com.globalmentor.xml
Class XMLNodeModel<N extends org.w3c.dom.Node>
- java.lang.Object
-
- com.globalmentor.beans.BoundPropertyObject
-
- com.globalmentor.io.DefaultURIAccessible
-
- com.globalmentor.io.URIAccessibleModel
-
- com.globalmentor.xml.XMLNodeModel<N>
-
- 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.
-
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
-
-
-
-
Constructor Detail
-
XMLNodeModel
public XMLNodeModel()
Deprecated.Default constructor.
-
XMLNodeModel
public XMLNodeModel(N xml)
Deprecated.XML constructor.- Parameters:
xml
- The XML informatoin being modeled, ornull
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, ornull
if unknown.
-
XMLNodeModel
public XMLNodeModel(N xml, java.net.URI baseURI)
Deprecated.XML and base URI constructor.- Parameters:
xml
- The XML information being modeled, ornull
if there is no XML information.baseURI
- The base URI of the model, ornull
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, ornull
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, ornull
if there is no XML information.uriInputStreamable
- The implementation to use for accessing a URI for input, ornull
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, ornull
if unknown.uriInputStreamable
- The implementation to use for accessing a URI for input, ornull
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, ornull
if there is no XML information.baseURI
- The base URI of the model, ornull
if unknown.uriInputStreamable
- The implementation to use for accessing a URI for input, ornull
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, ornull
if there is no XML information.
-
-