EPTXmlParser Class Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

This class acts as a base class for the a specialized parser for Content Studio EPT Xml documents.
Inheritance Hierarchy

SystemObject
  ContentStudio.Document.EPTEPTXmlParser
    ContentStudio.Document.EPTEPTXmlTextParser

Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public abstract class EPTXmlParser : IEnumerable, 
	IEptXmlParserEvents

The EPTXmlParser type exposes the following members.

Constructors

  NameDescription
Protected methodEPTXmlParser
Creates a new EPTXmlParser and creates the underlying data store.
Top
Properties

  NameDescription
Public propertyCount
Gets the number of unique field names in the EPT field collection.
Public propertyFields
Returns an array of all field names
Public propertyHasFields
Gets a value that indicates whether the EPT collection has any fields or not.
Public propertyItemInt32
When implemented in inheriting classes gets the entry at the specified index of the the fields collection.
Public propertyItemString
When implemented in inheriting classes gets or sets the entry with the specified key in the fields collection.
Public propertyReadOnly
Indicates whether the collection of fields is read-only or not.
Top
Methods

  NameDescription
Protected methodBaseAdd
Adds an entry with the specified name and value to the EPT field collection
Protected methodBaseClear
Removes all the fields and their values
Protected methodBaseRemove
Removes a field in the EPT field collection
Protected methodBaseSet
Sets the value of an entry in the collection of EPT fields
Public methodEquals(Object)
Determines whether the specified Object is an EPTXmlParser that has the same content as the current EPTXmlParser.
(Overrides ObjectEquals(Object).)
Public methodEquals(EPTXmlParser)
Determines whether the specified EPTXmlParser has the same content as the current EPTXmlParser.
Public methodExistsField
Determines whether a field exists or not
Protected methodFinalize (Inherited from Object.)
Public methodGet(Int32)
Gets the values at the specified index of the EPT field collection combined into one comma-separated list.
Public methodGet(String)
Gets the values associated with the specified field from the the EPT field collection combined into one comma-separated list.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Public methodGetField
Returns the field name at a specific location
Public methodGetFieldIndex
Gets the zero-based index of a field.
Public methodGetHashCode
Gets the hash code for this EPTXmlParser.

A developer can use this value to compare the content of two different instances of an EPTXmlParser.

(Overrides ObjectGetHashCode.)
Public methodGetHashCodeForField(Int32)
Gets the hash code for a specific field based on its ordinal number.
Public methodGetHashCodeForField(String)
Gets the hash code for a specific field.
Public methodGetType (Inherited from Object.)
Public methodGetValues(Int32)
Returns an array of all values that exists for a field
Public methodGetValues(String)
Gets the values at the specified field of the EPT field collection.
Public methodIsEmptyField
Determines if a field is non-existing or has a value that is empty or null.
Protected methodLoad
Loads the storage with new EPT data.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodCode exampleTryGetValue(String, String)
Gets the value associated with the specified field name.
Public methodCode exampleTryGetValue(String, String, Boolean)
Gets the value associated with the specified field name.
Top
Events

  NameDescription
Public eventEptFieldAdded
Occurs when an EPT field is added.
Public eventEptFieldRemoved
Occurs when an EPT field is removed.
Public eventEptFieldValueChanged
Occurs when a the value of a field changes.
Public eventEptFieldValueChanging
Occurs when a field value is about to be changed.
Top
Fields

  NameDescription
Public fieldStatic memberBaseNodeName
Defines the name of the base element in the Content Studio EPT Xml. This node is the direct child of the base node and contains all the field elements.
Public fieldStatic memberCSMetaDataPrefix
Defines the prefix used for every CS meta data field. Fields that have this prefix in their names are added by CS server and are ignored when saving a document.
Public fieldStatic memberRootNodeName
Defines the name of the root element in the Content Studio EPT Xml.
Public fieldStatic memberWFMetaDataPrefix
Defines the prefix used for every Workflow meta data field added automatically when Workflow server is involved. Fields that have this prefix in their names are added by CS server and are ignored when saving a document.
Top
See Also

Reference