Tag Class


Name: Tag
Description:
Package: org.active-link.xml
Author: Zurab Davitiani
Version: 0.4.0
See: XML

All Methods

Tag
attributeExists
getTagAttribute
getTagContent
getTagName
getTagString
getTagStringBegin
getTagStringEnd
removeAllAttributes
removeAttribute
resetTag
setAttribute
setTagContent
setTagFormat
setTagFormatEndTag
setTagFromString
setTagName

Tag ( optional string name, optional string content )

Description:

Returns: none

Arguments:


attributeExists ( string attrName )

Description:

Returns: true if attribute exists, false otherwise

Arguments:


getTagAttribute ( string attrName )

Description:

Returns: string attribute value

Arguments:


getTagContent ( )

Description:

Returns: string tag content


getTagName ( )

Description:

Returns: string tag name


getTagString ( )

Description:

Returns: string tag string


getTagStringBegin ( )

Description:

Returns: string beginning of the tag string


getTagStringEnd ( )

Description:

Returns: string close tag if tag is not short-handed, empty string otherwise


removeAllAttributes ( )

Description:

Returns: none


removeAttribute ( )

Description:

Returns: none


resetTag ( )

Description:

Returns: none


setAttribute ( string attrName, string attrValue )

Description:

Returns: none

Arguments:


setTagContent ( string content )

Description:

Returns: none

Arguments:


setTagFormat ( int tagFormat, optional int tagFormatIndentLevel )

Description:

Returns: none

Arguments:


setTagFormatEndTag ( optional boolean formatEndTag )

Description:

Returns: none

Arguments:


setTagFromString ( string tagString )

Description:

Returns: array array of [0]=>index of the beginning of the tag, [1]=>index where tag ended

Arguments:


setTagName ( string name )

Description:

Returns: none

Arguments: