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

NameTypeAccessDescription
nodeTypeintReadReturns SmartTag.
elementStringRead/WriteSpecifies the name of the smart tag within the document.
uriStringRead/WriteSpecifies the namespace URI of the smart tag.
propertiesCustomXmlPropertyCollectionReadA collection of the smart tag properties.

Methods

SignatureDescription
SmartTag(doc: DocumentBase)Initializes a new instance of the SmartTag class.
getNodeType() → intReturns SmartTag.
accept(visitor: DocumentVisitor) → booleanCalls accept(visitor) on this SmartTag instance.
acceptStart(visitor: DocumentVisitor) → intAccepts a visitor for visiting the start of the SmartTag.
acceptEnd(visitor: DocumentVisitor) → intAccepts a visitor for visiting the end of the SmartTag.
getElement() → StringSpecifies the name of the smart tag within the document.
setElement(value: String)Sets the element value.
getUri() → StringSpecifies the namespace URI of the smart tag.
setUri(value: String)Sets the uri value.
getProperties() → CustomXmlPropertyCollectionA collection of the smart tag properties.

See Also