IEntityReference Interface

Definition

EntityReference nodes may be used to represent an entity reference in the tree.

[Android.Runtime.Register("org/w3c/dom/EntityReference", "", "Org.W3c.Dom.IEntityReferenceInvoker")]
public interface IEntityReference : IDisposable, Java.Interop.IJavaPeerable, Org.W3c.Dom.INode
[<Android.Runtime.Register("org/w3c/dom/EntityReference", "", "Org.W3c.Dom.IEntityReferenceInvoker")>]
type IEntityReference = interface
    interface INode
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Attributes
Implements

Remarks

EntityReference nodes may be used to represent an entity reference in the tree. Note that character references and references to predefined entities are considered to be expanded by the HTML or XML processor so that characters are represented by their Unicode equivalent rather than by an entity reference. Moreover, the XML processor may completely expand references to entities while building the Document, instead of providing EntityReference nodes. If it does provide such nodes, then for an EntityReference node that represents a reference to a known entity an Entity exists, and the subtree of the EntityReference node is a copy of the Entity node subtree. However, the latter may not be true when an entity contains an unbound namespace prefix. In such a case, because the namespace prefix resolution depends on where the entity reference is, the descendants of the EntityReference node may be bound to different namespace URIs. When an EntityReference node represents a reference to an unknown entity, the node has no children and its replacement value, when used by Attr.value for example, is empty.

As for Entity nodes, EntityReference nodes and all their descendants are readonly. <p ><b>Note:</b> EntityReference nodes may cause element content and attribute value normalization problems when, such as in XML 1.0 and XML Schema, the normalization is performed after entity reference are expanded.

See also the Document Object Model (DOM) Level 3 Core Specification.

Java documentation for org.w3c.dom.EntityReference.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

AttributeNode

The node is an Attr.

(Inherited from INode)
CdataSectionNode

The node is a CDATASection.

(Inherited from INode)
CommentNode

The node is a Comment.

(Inherited from INode)
DocumentFragmentNode

The node is a DocumentFragment.

(Inherited from INode)
DocumentNode

The node is a Document.

(Inherited from INode)
DocumentPositionContainedBy

The node is contained by the reference node.

(Inherited from INode)
DocumentPositionContains

The node contains the reference node.

(Inherited from INode)
DocumentPositionDisconnected

The two nodes are disconnected.

(Inherited from INode)
DocumentPositionFollowing

The node follows the reference node.

(Inherited from INode)
DocumentPositionImplementationSpecific

The determination of preceding versus following is implementation-specific.

(Inherited from INode)
DocumentPositionPreceding

The second node precedes the reference node.

(Inherited from INode)
DocumentTypeNode

The node is a DocumentType.

(Inherited from INode)
ElementNode

The node is an Element.

(Inherited from INode)
EntityNode

The node is an Entity.

(Inherited from INode)
EntityReferenceNode

The node is an EntityReference.

(Inherited from INode)
NotationNode

The node is a Notation.

(Inherited from INode)
ProcessingInstructionNode

The node is a ProcessingInstruction.

(Inherited from INode)
TextNode

The node is a Text node.

(Inherited from INode)

Properties

Attributes

A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.

(Inherited from INode)
BaseURI

The absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI.

(Inherited from INode)
ChildNodes

A NodeList that contains all children of this node.

(Inherited from INode)
FirstChild

The first child of this node.

(Inherited from INode)
Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
HasAttributes

Returns whether this node (if it is an element) has any attributes.

(Inherited from INode)
HasChildNodes

Returns whether this node has any children.

(Inherited from INode)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
LastChild

The last child of this node.

(Inherited from INode)
LocalName

Returns the local part of the qualified name of this node.

(Inherited from INode)
NamespaceURI

The namespace URI of this node, or null if it is unspecified (see ).

(Inherited from INode)
NextSibling

The node immediately following this node.

(Inherited from INode)
NodeName

The name of this node, depending on its type; see the table above.

(Inherited from INode)
NodeType

A code representing the type of the underlying object, as defined above.

(Inherited from INode)
NodeValue

The value of this node, depending on its type; see the table above.

(Inherited from INode)
OwnerDocument

The Document object associated with this node.

(Inherited from INode)
ParentNode

The parent of this node.

(Inherited from INode)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)
Prefix

The namespace prefix of this node, or null if it is unspecified.

(Inherited from INode)
PreviousSibling

The node immediately preceding this node.

(Inherited from INode)
TextContent

This attribute returns the text content of this node and its descendants.

(Inherited from INode)

Methods

AppendChild(INode)

Adds the node newChild to the end of the list of children of this node.

(Inherited from INode)
CloneNode(Boolean)

Returns a duplicate of this node, i.

(Inherited from INode)
CompareDocumentPosition(INode)

Compares the reference node, i.

(Inherited from INode)
Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
GetFeature(String, String)

This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in .

(Inherited from INode)
GetUserData(String)

Retrieves the object associated to a key on a this node.

(Inherited from INode)
InsertBefore(INode, INode)

Inserts the node newChild before the existing child node refChild.

(Inherited from INode)
IsDefaultNamespace(String)

This method checks if the specified namespaceURI is the default namespace or not.

(Inherited from INode)
IsEqualNode(INode)

Tests whether two nodes are equal.

(Inherited from INode)
IsSameNode(INode)

Returns whether this node is the same node as the given one.

(Inherited from INode)
IsSupported(String, String)

Tests whether the DOM implementation implements a specific feature and that feature is supported by this node, as specified in .

(Inherited from INode)
LookupNamespaceURI(String)

Look up the namespace URI associated to the given prefix, starting from this node.

(Inherited from INode)
LookupPrefix(String)

Look up the prefix associated to the given namespace URI, starting from this node.

(Inherited from INode)
Normalize()

Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes, into a "normal" form where only structure (e.

(Inherited from INode)
RemoveChild(INode)

Removes the child node indicated by oldChild from the list of children, and returns it.

(Inherited from INode)
ReplaceChild(INode, INode)

Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node.

(Inherited from INode)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
SetUserData(String, Object, IUserDataHandler)

Associate an object to a key on this node.

(Inherited from INode)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to