Extension methods for the IZptElement type and its subtypes.
More...
|
static IZptAttribute | GetMetalAttribute (this IZptElement element, string attributeName) |
| Gets a METAL attribute which matches the given criteria, or a null reference is no matching attribute is found. More...
|
|
static IZptElement | SearchAncestorsByMetalAttribute (this IZptElement element, string attributeName) |
| Recursively searches upwards in the DOM tree, returning the first (closest) ancestor element which has a METAL attribute matching the given name. More...
|
|
static IZptElement[] | SearchChildrenByMetalAttribute (this IZptElement element, string attributeName) |
| Recursively searches the children of the current instance, returning a collection of elements which have a matching METAL attribute. More...
|
|
static void | PurgeMetalAttributes (this IZptElement element) |
| Recursively searches for METAL attributes and removes them from their parent element. More...
|
|
static void | PurgeMetalElements (this IZptElement element) |
| Recursively searches for elements in the METAL namespace and removes them from their parent element. More...
|
|
static IZptElement | SearchAncestorsByTalAttribute (this IZptElement element, string attributeName) |
| Recursively searches upwards in the DOM tree, returning the first (closest) ancestor element which has a TAL attribute matching the given name. More...
|
|
static IZptElement[] | SearchChildrenByTalAttribute (this IZptElement element, string attributeName) |
| Recursively searches the children of the current instance, returning a collection of elements which have a matching TAL attribute. More...
|
|
static void | PurgeTalAttributes (this IZptElement element) |
| Recursively searches for TAL attributes and removes them from their parent element. More...
|
|
static void | PurgeTalElements (this IZptElement element) |
| Recursively searches for elements in the TAL namespace and removes them from their parent element. More...
|
|
static void | RecursivelyCacheSourceInformationInAttributes (this IZptElement element) |
| Recursively calls IZptElement.CacheSourceInformationInAttributes on a given element and every one of its children. More...
|
|
static void | PurgeSourceAnnotationAttributes (this IZptElement element) |
| Recursively searches for source annotation attributes and removes them from their parent element. More...
|
|
Extension methods for the IZptElement type and its subtypes.
static IZptAttribute CSF.Zpt.Rendering.ElementExtensions.GetMetalAttribute |
( |
this IZptElement |
element, |
|
|
string |
attributeName |
|
) |
| |
|
inlinestatic |
Gets a METAL attribute which matches the given criteria, or a null
reference is no matching attribute is found.
- Returns
- The attribute, or a
null
reference.
- Parameters
-
element | The element from which to get attributes. |
attributeName | The attribute name. |
static void CSF.Zpt.Rendering.ElementExtensions.PurgeMetalAttributes |
( |
this IZptElement |
element | ) |
|
|
inlinestatic |
Recursively searches for METAL attributes and removes them from their parent element.
- Parameters
-
element | The element from which to perform the purge. |
static void CSF.Zpt.Rendering.ElementExtensions.PurgeMetalElements |
( |
this IZptElement |
element | ) |
|
|
inlinestatic |
Recursively searches for elements in the METAL namespace and removes them from their parent element.
- Parameters
-
element | The element from which to perform the purge. |
static void CSF.Zpt.Rendering.ElementExtensions.PurgeSourceAnnotationAttributes |
( |
this IZptElement |
element | ) |
|
|
inlinestatic |
Recursively searches for source annotation attributes and removes them from their parent element.
- Parameters
-
element | The element from which to perform the purge. |
static void CSF.Zpt.Rendering.ElementExtensions.PurgeTalAttributes |
( |
this IZptElement |
element | ) |
|
|
inlinestatic |
Recursively searches for TAL attributes and removes them from their parent element.
- Parameters
-
element | The element from which to perform the purge. |
static void CSF.Zpt.Rendering.ElementExtensions.PurgeTalElements |
( |
this IZptElement |
element | ) |
|
|
inlinestatic |
Recursively searches for elements in the TAL namespace and removes them from their parent element.
- Parameters
-
element | The element from which to perform the purge. |
static void CSF.Zpt.Rendering.ElementExtensions.RecursivelyCacheSourceInformationInAttributes |
( |
this IZptElement |
element | ) |
|
|
inlinestatic |
static IZptElement CSF.Zpt.Rendering.ElementExtensions.SearchAncestorsByMetalAttribute |
( |
this IZptElement |
element, |
|
|
string |
attributeName |
|
) |
| |
|
inlinestatic |
Recursively searches upwards in the DOM tree, returning the first (closest) ancestor element which has a METAL attribute matching the given name.
- Returns
- The closest ancestor element, or a
null
reference if no ancestor was found.
- Parameters
-
element | The element from which to begin the search. |
attributeName | The attribute name. |
static IZptElement CSF.Zpt.Rendering.ElementExtensions.SearchAncestorsByTalAttribute |
( |
this IZptElement |
element, |
|
|
string |
attributeName |
|
) |
| |
|
inlinestatic |
Recursively searches upwards in the DOM tree, returning the first (closest) ancestor element which has a TAL attribute matching the given name.
- Returns
- The closest ancestor element, or a
null
reference if no ancestor was found.
- Parameters
-
element | The element from which to begin the search. |
attributeName | The attribute name. |
static IZptElement [] CSF.Zpt.Rendering.ElementExtensions.SearchChildrenByMetalAttribute |
( |
this IZptElement |
element, |
|
|
string |
attributeName |
|
) |
| |
|
inlinestatic |
Recursively searches the children of the current instance, returning a collection of elements which have a matching METAL attribute.
- Returns
- The matching child elements.
- Parameters
-
element | The element from which to perform the search. |
attributeName | The attribute name. |
static IZptElement [] CSF.Zpt.Rendering.ElementExtensions.SearchChildrenByTalAttribute |
( |
this IZptElement |
element, |
|
|
string |
attributeName |
|
) |
| |
|
inlinestatic |
Recursively searches the children of the current instance, returning a collection of elements which have a matching TAL attribute.
- Returns
- The matching child elements.
- Parameters
-
element | The element from which to perform the search. |
attributeName | The attribute name. |
The documentation for this class was generated from the following file:
- /home/craig/Projects/CSF.Zpt/CSF.Zpt/Rendering/ElementExtensions.cs