com.jclark.xsl.tr

Interface OutputMethod

public interface OutputMethod

collects the attributes from the xsl:output element which determine the type of output we are to produce
Method Summary
Name[]getAttributeNames()
all the known output method attribute names, excluding "method" and "cdata-section-elements"
Name[]getCdataSectionElements()
the "cdata-section-elements" attribute
NamegetName()
i.e.
NameTablegetNameTable()
used for obtaining Names from namespace / localName pairs
StringgetPropertyValue(Name name)
gets the value specified in the stylesheet, if available, else gets the defaulted value
StringgetSpecifiedValue(Name name)
return the value for the named output method attribute, only if that attribute was specified in the stylesheet

Method Detail

getAttributeNames

public Name[] getAttributeNames()
all the known output method attribute names, excluding "method" and "cdata-section-elements"

getCdataSectionElements

public Name[] getCdataSectionElements()
the "cdata-section-elements" attribute

getName

public Name getName()
i.e. "text", "xml", "html", etc

getNameTable

public NameTable getNameTable()
used for obtaining Names from namespace / localName pairs

getPropertyValue

public String getPropertyValue(Name name)
gets the value specified in the stylesheet, if available, else gets the defaulted value

getSpecifiedValue

public String getSpecifiedValue(Name name)
return the value for the named output method attribute, only if that attribute was specified in the stylesheet

Returns: null if the value was not declared in the stylesheet