LDOM
OCCT package LDOM: LDOM_Attr, LDOM_BasicAttribute, LDOM_BasicElement, LDOM_BasicNode, and 19 more bound classes.
LDOM_Attr
Constructors(2)
- constructor(anOther: LDOM_Attr): LDOM_AttrParameters (1)
anOther
Instance methods(3)
- setValue(aValue: LDOMString): voidParameters (1)
aValue
LDOM_BasicAttribute
Constructors(1)
Instance methods(3)
- GetName(): string
- SetValue(aValue: LDOMBasicString, aDoc: LDOM_MemManager): voidParameters (2)
aValueaDoc
LDOM_BasicElement
Constructors(1)
Static methods(1)
- Create(aName: string, aLength: number, aDoc: LDOM_MemManager): LDOM_BasicElementParameters (3)
aNameaLengthaDoc
Instance methods(4)
- GetTagName(): string
- GetAttribute(aName: LDOMBasicString, aLastCh: LDOM_BasicNode): LDOM_BasicAttributeParameters (2)
aNameaLastCh
LDOM_BasicNode
Instance methods(3)
- isNull(): boolean
- getNodeType(): LDOM_Node_NodeType
LDOM_BasicText
Constructors(1)
Instance methods(2)
- SetData(aValue: LDOMBasicString, aDoc: LDOM_MemManager): voidParameters (2)
aValueaDoc
LDOM_CDATASection
Constructors(2)
- constructor(theOther: LDOM_CDATASection): LDOM_CDATASectionParameters (1)
theOther
LDOM_CharacterData
Constructors(2)
- constructor(theOther: LDOM_CharacterData): LDOM_CharacterDataParameters (1)
theOther
Instance methods(3)
- setData(aValue: LDOMString): voidParameters (1)
aValue
- getLength(): number
LDOM_CharReference
Constructors(1)
Static methods(2)
LDOM_Comment
Constructors(2)
- constructor(theOther: LDOM_Comment): LDOM_CommentParameters (1)
theOther
LDOM_Document
Constructors(2)
- constructor(aMemManager: LDOM_MemManager): LDOM_DocumentParameters (1)
aMemManager
Static methods(1)
- createDocument(theQualifiedName: LDOMString): LDOM_DocumentParameters (1)
theQualifiedName
Instance methods(7)
- createElement(theTagName: LDOMString): LDOM_ElementParameters (1)
theTagName
- createCDATASection(theData: LDOMString): LDOM_CDATASectionParameters (1)
theData
- createComment(theData: LDOMString): LDOM_CommentParameters (1)
theData
- createTextNode(theData: LDOMString): LDOM_TextParameters (1)
theData
- getElementsByTagName(theTagName: LDOMString): LDOM_NodeListParameters (1)
theTagName
- isNull(): boolean
LDOM_DocumentType
Constructors(1)
LDOM_Element
Constructors(2)
- constructor(anOther: LDOM_Element): LDOM_ElementParameters (1)
anOther
Instance methods(11)
- getAttribute(aName: LDOMString): LDOMStringParameters (1)
aName
- getAttributeNode(aName: LDOMString): LDOM_AttrParameters (1)
aName
- getElementsByTagName(aName: LDOMString): LDOM_NodeListParameters (1)
aName
- setAttribute(aName: LDOMString, aValue: LDOMString): voidParameters (2)
aNameaValue
- setAttributeNode(aNewAttr: LDOM_Attr): voidParameters (1)
aNewAttr
- removeAttribute(aName: LDOMString): voidParameters (1)
aName
- GetChildByTagName(aTagName: LDOMString): LDOM_ElementParameters (1)
aTagName
- ReplaceElement(anOther: LDOM_Element): voidParameters (1)
anOther
LDOM_LDOMImplementation
Constructors(1)
Static methods(1)
- createDocument(aNamespaceURI: LDOMString, aQualifiedName: LDOMString, aDocType: LDOM_DocumentType): LDOM_DocumentParameters (3)
aNamespaceURIaQualifiedNameaDocType
LDOM_MemManager
Constructors(1)
- constructor(aBlockSize: number): LDOM_MemManagerParameters (1)
aBlockSize
Static methods(4)
- Hash(theString: string, theLen: number): numberParameters (2)
theStringtheLen
- CompareStrings(theString: string, theHashValue: number, theHashedStr: string): booleanParameters (3)
theStringtheHashValuetheHashedStr
- get_type_name(): string
Instance methods(4)
- HashedAllocate(aString: string, theLen: number, theHash: number): stringParameters (3)
aStringtheLentheHash
- HashedAllocate(aString: string, theLen: number, theResult: LDOMBasicString): voidParameters (3)
aStringtheLentheResult
LDOM_Node
Constructors(2)
- constructor(anOther: LDOM_Node): LDOM_NodeParameters (1)
anOther
Instance methods(11)
- isNull(): boolean
- getNodeType(): LDOM_Node_NodeType
- removeChild(aChild: LDOM_Node): voidParameters (1)
aChild
- appendChild(aChild: LDOM_Node): voidParameters (1)
aChild
- hasChildNodes(): boolean
- SetValueClear(): void
LDOM_NodeList
Constructors(2)
- constructor(theOther: LDOM_NodeList): LDOM_NodeListParameters (1)
theOther
Instance methods(2)
- Parameters (1)
argNo0
- getLength(): number
LDOM_OSStream
Subclass if std::ostream allowing to increase performance of outputting data into a string avoiding reallocation of buffer. Class LDOM_OSStream implements output into a sequence of strings and getting the result as a string. It inherits Standard_OStream (std::ostream). Beside methods of std::ostream, it also has additional useful methods: str(), Length() and Clear().
Constructors(1)
- constructor(theMaxBuf: number): LDOM_OSStream
Constructor.
Parameters (1)theMaxBuf
Instance methods(3)
LDOM_SBuffer
Class LDOM_SBuffer inherits std::streambuf and redefines some virtual methods of it (overflow() and xsputn()). This class contains pointers on first and current element of sequence, also it has methods for the sequence management.
Constructors(1)
- constructor(theMaxBuf: number): LDOM_SBuffer
Constructor. Sets a default value for the length of each sequence element.
Parameters (1)theMaxBuf
Instance methods(6)
- str(): string
Concatenates strings of all sequence elements into one string. Space for output string is allocated with operator new. Caller of this function is responsible for memory release after the string usage.
- Length(): number
Returns full length of data contained.
- Clear(): void
Clears first element of sequence and removes all others.
- overflow(c?: number): numberParameters (1)
c
- underflow(): number
- xsputn(s: string, n: number): numberParameters (2)
sn
LDOM_Text
Constructors(2)
- constructor(anOther: LDOM_Text): LDOM_TextParameters (1)
anOther
LDOM_XmlWriter
Constructors(1)
- constructor(theEncoding?: string): LDOM_XmlWriterParameters (1)
theEncoding
Instance methods(1)
- SetIndentation(theIndent: number): voidParameters (1)
theIndent
LDOMBasicString
Constructors(6)
- constructor(anOther: LDOMBasicString): LDOMBasicStringParameters (1)
anOther
- constructor(aValue: number): LDOMBasicStringParameters (1)
aValue
- constructor(aValue: string): LDOMBasicStringParameters (1)
aValue
- constructor(aValue: string, aDoc: LDOM_MemManager): LDOMBasicStringParameters (2)
aValueaDoc
- constructor(aValue: string, aLen: number, aDoc: LDOM_MemManager): LDOMBasicStringParameters (3)
aValueaLenaDoc
Instance methods(4)
- Type(): LDOMBasicString_StringType
- GetInteger(aResult: number): { returnValue: boolean; aResult: number }Parameters (1)
aResult
- GetString(): string
- equals(anOther: LDOMBasicString): booleanParameters (1)
anOther
LDOMParser
Constructors(1)
Instance methods(4)
LDOMString
Constructors(4)
- constructor(anOther: LDOMString): LDOMStringParameters (1)
anOther
- constructor(aValue: number): LDOMStringParameters (1)
aValue
- constructor(aValue: string): LDOMStringParameters (1)
aValue