IEntity Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents a known entity, either parsed or unparsed, in an XML document.
[Android.Runtime.Register("org/w3c/dom/Entity", "", "Org.W3c.Dom.IEntityInvoker")]
public interface IEntity : IDisposable, Java.Interop.IJavaPeerable, Org.W3c.Dom.INode
[<Android.Runtime.Register("org/w3c/dom/Entity", "", "Org.W3c.Dom.IEntityInvoker")>]
type IEntity = interface
interface INode
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Attributes
- Implements
Remarks
This interface represents a known entity, either parsed or unparsed, in an XML document. Note that this models the entity itself <em>not</em> the entity declaration.
The nodeName
attribute that is inherited from Node
contains the name of the entity.
An XML processor may choose to completely expand entities before the structure model is passed to the DOM; in this case there will be no EntityReference
nodes in the document tree.
XML does not mandate that a non-validating XML processor read and process entity declarations made in the external subset or declared in parameter entities. This means that parsed entities declared in the external subset need not be expanded by some classes of applications, and that the replacement text of the entity may not be available. When the replacement text is available, the corresponding Entity
node's child list represents the structure of that replacement value. Otherwise, the child list is empty.
DOM Level 3 does not support editing Entity
nodes; if a user wants to make changes to the contents of an Entity
, every related EntityReference
node has to be replaced in the structure model by a clone of the Entity
's contents, and then the desired changes must be made to each of those clones instead. Entity
nodes and all their descendants are readonly.
An Entity
node does not have any parent. <p ><b>Note:</b> If the entity contains an unbound namespace prefix, the namespaceURI
of the corresponding node in the Entity
node subtree is null
. The same is true for EntityReference
nodes that refer to this entity, when they are created using the createEntityReference
method of the Document
interface.
See also the Document Object Model (DOM) Level 3 Core Specification.
Java documentation for org.w3c.dom.Entity
.
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 |
CdataSectionNode |
The node is a |
CommentNode |
The node is a |
DocumentFragmentNode |
The node is a |
DocumentNode |
The node is a |
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 |
ElementNode |
The node is an |
EntityNode |
The node is an |
EntityReferenceNode |
The node is an |
NotationNode |
The node is a |
ProcessingInstructionNode |
The node is a |
TextNode |
The node is a |
Properties
Attributes |
A |
BaseURI |
The absolute base URI of this node or |
ChildNodes |
A |
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) |
InputEncoding |
An attribute specifying the encoding used for this entity at the time of parsing, when it is an external parsed entity. |
JniIdentityHashCode |
Returns the value of |
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 |
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) |
NotationName |
For unparsed entities, the name of the notation for the entity. |
OwnerDocument |
The |
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 |
PreviousSibling |
The node immediately preceding this node. (Inherited from INode) |
PublicId |
The public identifier associated with the entity if specified, and
|
SystemId |
The system identifier associated with the entity if specified, and
|
TextContent |
This attribute returns the text content of this node and its descendants. (Inherited from INode) |
XmlEncoding |
An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external parsed entity. |
XmlVersion |
An attribute specifying, as part of the text declaration, the version number of this entity, when it is an external parsed entity. |
Methods
AppendChild(INode) |
Adds the node |
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 |
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 |
IsDefaultNamespace(String) |
This method checks if the specified |
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 |
RemoveChild(INode) |
Removes the child node indicated by |
ReplaceChild(INode, INode) |
Replaces the child node |
SetJniIdentityHashCode(Int32) |
Set the value returned by |
SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
SetPeerReference(JniObjectReference) |
Set the value returned by |
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) |