DocBook|Search
Class Reference
%Studio.Template.HTMLElement
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%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 Cache 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 with Cache in the /CacheSys/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
%%OIDGet %AddToSaveSet %AddToSyncSet %BMEBuilt
%BuildIndices %CheckUnique %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
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %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
%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];