Skip to content

Commit

Permalink
Update file(s) "/." from "aspose-html/Aspose.HTML-API-References"
Browse files Browse the repository at this point in the history
  • Loading branch information
tpavel-aspose committed Feb 10, 2025
1 parent 28a9737 commit b1eefce
Show file tree
Hide file tree
Showing 3,971 changed files with 11,550 additions and 12,300 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
109 changes: 56 additions & 53 deletions content/sites/aspose/html/english/java/_index.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: com.aspose.html.collections
second_title: Aspose.HTML for Java API Reference
description: The com.aspose.html.collections package consists of classes to represent store and manipulate nodes and elements
type: docs
weight: 20
weight: 50
url: /java/com.aspose.html.collections/
---
The **com.aspose.html.collections** package consists of classes to represent, store and manipulate nodes and elements.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: DOMTokenList Class
second_title: Aspose.HTML for Java API Reference
description: com.aspose.html.collections.DOMTokenList class. The DOMTokenList class represents a set of space-separated tokens. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive
type: docs
weight: 20
weight: 180
url: /java/com.aspose.html.collections/domtokenlist/
---
## DOMTokenList class
Expand Down Expand Up @@ -35,7 +35,7 @@ public class DOMTokenList : DOMObject, IEnumerable<String>
| [replace](../../com.aspose.html.collections/domtokenlist/replace/)(String, String) | Replaces an existing token with a new token. Does nothing if the first token doesn't exist. |
| [supports](../../com.aspose.html.collections/domtokenlist/supports/)(String) | Returns true if a given token is in the associated attribute's supported tokens. |
| [toggle](../../com.aspose.html.collections/domtokenlist/toggle/#toggle)(String) | Removes the token from the list if it exists, or adds the token to the list if it doesn't. |
| [toggle](../../com.aspose.html.collections/domtokenlist/toggle/#toggle_1)(String, bool?) | Removes the token from the list if it exists, or adds the token to the list if it doesn't. |
| [toggle](../../com.aspose.html.collections/domtokenlist/toggle/#toggle_1)(String, bool) | Removes the token from the list if it exists, or adds the token to the list if it doesn't. |

### See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ public void Add(params String[] tokens)
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ A Boolean, which is true if the calling list contains token, otherwise false.
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ An IEnumerator object that can be used to iterate through the collection.
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ url: /java/com.aspose.html.collections/domtokenlist/item/
Returns the item in the list by its index, or null if index is greater than or equal to the list's length.

```java
public String this[ulong index] { get; }
public String this[uint index] { get; }
```

| Parameter | Description |
Expand All @@ -25,5 +25,5 @@ A String which represents a token in the list.
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ url: /java/com.aspose.html.collections/domtokenlist/length/
Returns an ulong which represents the number of tokens stored in this list.

```java
public ulong Length { get; }
public uint Length { get; }
```

### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ public void Remove(params String[] tokens)
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Boolean `true` if the token was found and replaced, `false` otherwise.
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ A Boolean indicating whether the token was found.
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ A Boolean indicating whether token is in the list after the call.
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)

---

## Toggle(String, bool?) {#toggle_1}
## Toggle(String, bool) {#toggle_1}

Removes the token from the list if it exists, or adds the token to the list if it doesn't.

```java
public bool Toggle(String token, bool? force)
public bool Toggle(String token, bool force)
```

| Parameter | Type | Description |
| --- | --- | --- |
| token | String | The token you want to toggle. |
| force | Nullable`1 | A Boolean that, if included, turns the toggle into a one way-only operation. If set to false, then token will only be removed, but not added. If set to true, then token will only be added, but not removed. |
| force | Boolean | A Boolean that, if included, turns the toggle into a one way-only operation. If set to false, then token will only be removed, but not added. If set to true, then token will only be added, but not removed. |

### Return Value

Expand All @@ -50,5 +50,5 @@ A Boolean indicating whether token is in the list after the call.
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ The value of a corresponding attribute.
### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../domtokenlist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: HTMLCollection Class
second_title: Aspose.HTML for Java API Reference
description: com.aspose.html.collections.HTMLCollection class. The HTMLCollection represents a generic collection of Element
type: docs
weight: 30
weight: 190
url: /java/com.aspose.html.collections/htmlcollection/
---
## HTMLCollection class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ An IEnumerator object that can be used to iterate through the collection.

* class [Element](../../../com.aspose.html.dom/element/)
* class [HTMLCollection](../)
* package [com.aspose.html.collections](../../htmlcollection/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ The ECMAScript object Type.
### See Also

* class [HTMLCollection](../)
* package [com.aspose.html.collections](../../htmlcollection/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ The [`Element`](../../../com.aspose.html.dom/element/).

* class [Element](../../../com.aspose.html.dom/element/)
* class [HTMLCollection](../)
* package [com.aspose.html.collections](../../htmlcollection/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ public abstract int Length { get; }
### See Also

* class [HTMLCollection](../)
* package [com.aspose.html.collections](../../htmlcollection/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ The matched element

* class [Element](../../../com.aspose.html.dom/element/)
* class [HTMLCollection](../)
* package [com.aspose.html.collections](../../htmlcollection/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ title: NamedNodeMap Class
second_title: Aspose.HTML for Java API Reference
description: com.aspose.html.collections.NamedNodeMap class. Represents collections of attributes that can be accessed by name
type: docs
weight: 40
weight: 200
url: /java/com.aspose.html.collections/namednodemap/
---
## NamedNodeMap class

Represents collections of attributes that can be accessed by name.

```java
public class NamedNodeMap : DOMObject, IDisposable, IEnumerable<Attr>
public class NamedNodeMap : DOMObject
```

## Properties
Expand All @@ -25,7 +25,6 @@ public class NamedNodeMap : DOMObject, IDisposable, IEnumerable<Attr>

| Name | Description |
| --- | --- |
| [getEnumerator](../../com.aspose.html.collections/namednodemap/getenumerator/)() | Returns an enumerator that iterates through the collection. |
| [getNamedItem](../../com.aspose.html.collections/namednodemap/getnameditem/)(String) | Retrieves a node specified by name. |
| [getNamedItemNS](../../com.aspose.html.collections/namednodemap/getnameditemns/)(String, String) | Retrieves a node specified by local name and package URI. |
| [getPlatformType](../../com.aspose.html.dom/domobject/getplatformtype/)() | This method is used to retrieve the ECMAScript object . |
Expand All @@ -37,6 +36,5 @@ public class NamedNodeMap : DOMObject, IDisposable, IEnumerable<Attr>
### See Also

* class [DOMObject](../../com.aspose.html.dom/domobject/)
* class [Attr](../../com.aspose.html.dom/attr/)
* package [com.aspose.html.collections](../../com.aspose.html.collections/)
* package [Aspose.HTML](../../)

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: NamedNodeMap.GetNamedItem
second_title: Aspose.HTML for Java API Reference
description: NamedNodeMap method. Retrieves a node specified by name
type: docs
weight: 40
weight: 30
url: /java/com.aspose.html.collections/namednodemap/getnameditem/
---
## NamedNodeMap.GetNamedItem method
Expand All @@ -26,5 +26,5 @@ Returns node.

* class [Attr](../../../com.aspose.html.dom/attr/)
* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: NamedNodeMap.GetNamedItemNS
second_title: Aspose.HTML for Java API Reference
description: NamedNodeMap method. Retrieves a node specified by local name and package URI
type: docs
weight: 50
weight: 40
url: /java/com.aspose.html.collections/namednodemap/getnameditemns/
---
## NamedNodeMap.GetNamedItemNS method
Expand All @@ -27,5 +27,5 @@ Returns node.

* class [Attr](../../../com.aspose.html.dom/attr/)
* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The [`Attr`](../../../com.aspose.html.dom/attr/).

* class [Attr](../../../com.aspose.html.dom/attr/)
* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)

---
Expand Down Expand Up @@ -59,5 +59,5 @@ The [`Attr`](../../../com.aspose.html.dom/attr/).

* class [Attr](../../../com.aspose.html.dom/attr/)
* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ public int Length { get; }
### See Also

* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: NamedNodeMap.RemoveNamedItem
second_title: Aspose.HTML for Java API Reference
description: NamedNodeMap method. Removes a node specified by name
type: docs
weight: 60
weight: 50
url: /java/com.aspose.html.collections/namednodemap/removenameditem/
---
## NamedNodeMap.RemoveNamedItem method
Expand All @@ -26,5 +26,5 @@ Removed node.

* class [Attr](../../../com.aspose.html.dom/attr/)
* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: NamedNodeMap.RemoveNamedItemNS
second_title: Aspose.HTML for Java API Reference
description: NamedNodeMap method. Removes a node specified by local name and package URI
type: docs
weight: 70
weight: 60
url: /java/com.aspose.html.collections/namednodemap/removenameditemns/
---
## NamedNodeMap.RemoveNamedItemNS method
Expand All @@ -27,5 +27,5 @@ Returns node.

* class [Attr](../../../com.aspose.html.dom/attr/)
* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: NamedNodeMap.SetNamedItem
second_title: Aspose.HTML for Java API Reference
description: NamedNodeMap method. Adds a node using its nodeName attribute. If a node with that name is already present in this map it is replaced by the new one. Replacing a node by itself has no effect
type: docs
weight: 80
weight: 70
url: /java/com.aspose.html.collections/namednodemap/setnameditem/
---
## NamedNodeMap.SetNamedItem method
Expand Down Expand Up @@ -32,5 +32,5 @@ Returns node.

* class [Attr](../../../com.aspose.html.dom/attr/)
* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: NamedNodeMap.SetNamedItemNS
second_title: Aspose.HTML for Java API Reference
description: NamedNodeMap method. Adds a node using its packageURI and localName. If a node with that package URI and that local name is already present in this map it is replaced by the new one. Replacing a node by itself has no effect
type: docs
weight: 90
weight: 80
url: /java/com.aspose.html.collections/namednodemap/setnameditemns/
---
## NamedNodeMap.SetNamedItemNS method
Expand Down Expand Up @@ -32,5 +32,5 @@ Returns node.

* class [Attr](../../../com.aspose.html.dom/attr/)
* class [NamedNodeMap](../)
* package [com.aspose.html.collections](../../namednodemap/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: NodeList Class
second_title: Aspose.HTML for Java API Reference
description: com.aspose.html.collections.NodeList class. The NodeList provides the abstraction of an ordered collection of nodes without defining or constraining how this collection is implemented
type: docs
weight: 50
weight: 210
url: /java/com.aspose.html.collections/nodelist/
---
## NodeList class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ A IEnumerator that can be used to iterate through the collection.

* class [Node](../../../com.aspose.html.dom/node/)
* class [NodeList](../)
* package [com.aspose.html.collections](../../nodelist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ The ECMAScript object Type.
### See Also

* class [NodeList](../)
* package [com.aspose.html.collections](../../nodelist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Returns node.

* class [Node](../../../com.aspose.html.dom/node/)
* class [NodeList](../)
* package [com.aspose.html.collections](../../nodelist/)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
Loading

0 comments on commit b1eefce

Please sign in to comment.