Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%Studio] >  [Template] >  [HTMLElement]
Private  Storage   

persistent class %Studio.Template.HTMLElement extends %Persistent, %XML.Adaptor

Represents an HTML attribute associated with a specific HTML element.
See the Template.HTMLTag class for more information. This class represents one of a list of HTML Tags. This list is used by the Studio CSP Tag Template to provide a list of HTML tags and their associated attributes (which as represented using the related Template.HTMLAttribute).
The data for this set of objects is provided within an XML file, htmltags.xml, that is provided in the dev/studio/templates directory.
To load this file:

	Do ##class(%Studio.Template.HTMLElement).Import()

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5 2 1


Summary

Properties
Attrs Description IsEmpty ShortDescription
Tag

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject GetAttrs
Import XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Parameters

• parameter XMLNAME = "element";
This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.

Properties

• relationship Attrs as HTMLAttribute(XMLITEMNAME="attr",XMLNAME="attrs") [ Inverse = Tag,Cardinality = children ];
Attributes associated with this tag.
• property Description as %String(MAXLEN=4000,XMLNAME="description",XMLPROJECTION="element");
Description of this element.
• property IsEmpty as %Boolean(XMLNAME="empty",XMLPROJECTION="attribute");
Is this an empty tag?
• property ShortDescription as %String(MAXLEN=255,XMLNAME="edesc",XMLPROJECTION="attribute");
Description of this element.
• property Tag as %String(MAXLEN=256,XMLNAME="ename",XMLPROJECTION="attribute");
Represents an HTML attribute associated with a specific HTML element.
See the Template.HTMLTag class for more information. Represents an HTML attribute associated with a specific HTML element.
See the Template.HTMLTag class for more information. Name of an HTML tag

Methods

• classmethod GetAttrs(tag As %String, ByRef attrs, ByRef cats) as %Boolean
Get list of attributes used by tag.
Returns true if the element is defined.
• classmethod Import(filename As %String = "")
Load an HTML tags definition file into the HTMLTag extent

Indices

•index (IdIdx on Tag) [IdKey,Unique];


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.