SmartTag
Overview
SmartTag is a class in Aspose.Words FOSS for Java.
Inherits from: CompositeNode<Node>, IMarkupNode.
This element specifies the presence of a smart tag around one or more inline structures (runs, images, fields,etc.) within a paragraph.
Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.
This class declares 10 methods for SmartTag objects in Java programs.
Available methods include: SmartTag, accept, acceptEnd, acceptStart, getElement, getNodeType, getProperties, getUri, setElement, setUri.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: element, nodeType, properties, uri.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
nodeType | int | Read | Returns SmartTag. |
element | String | Read/Write | Specifies the name of the smart tag within the document. |
uri | String | Read/Write | Specifies the namespace URI of the smart tag. |
properties | CustomXmlPropertyCollection | Read | A collection of the smart tag properties. |
Methods
| Signature | Description |
|---|---|
SmartTag(doc: DocumentBase) | Initializes a new instance of the SmartTag class. |
getNodeType() → int | Returns SmartTag. |
accept(visitor: DocumentVisitor) → boolean | Calls accept(visitor) on this SmartTag instance. |
acceptStart(visitor: DocumentVisitor) → int | Accepts a visitor for visiting the start of the SmartTag. |
acceptEnd(visitor: DocumentVisitor) → int | Accepts a visitor for visiting the end of the SmartTag. |
getElement() → String | Specifies the name of the smart tag within the document. |
setElement(value: String) | Sets the element value. |
getUri() → String | Specifies the namespace URI of the smart tag. |
setUri(value: String) | Sets the uri value. |
getProperties() → CustomXmlPropertyCollection | A collection of the smart tag properties. |