Class Schema
Abstract class representing a TSSL schema. Actual TSSL schemas are compiled into concrete subclasses of this class.
Inheritance
System.Object
Schema
Assembly: Lucene.Net.Benchmark.dll
Syntax
public abstract class Schema : object
Fields
Name | Description |
---|---|
F_CDATA | |
F_NOFORCE | |
F_RESTART | |
M_ANY | |
M_EMPTY | |
M_PCDATA | |
M_ROOT |
Properties
Name | Description |
---|---|
Prefix | Gets ot sets the prefix of this schema. |
RootElementType | Gets or sets the root element of this schema |
Uri | Gets or sets the URI (namespace name) of this schema. |
Methods
Name | Description |
---|---|
Attribute(String, String, String, String) | Add or replace a default attribute for an element type in this schema. |
ElementType(String, Int32, Int32, Int32) | Add or replace an element type for this schema. |
Entity(String, Int32) | Add to or replace a character entity in this schema. |
GetElementType(String) | Get an ElementType by name. |
GetEntity(String) | Get an entity value by name. |
Parent(String, String) | Specify natural parent of an element in this schema. |