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
Name
getName()
i.e.
NameTable
getNameTable()
used for obtaining Names from namespace / localName pairs
String
getPropertyValue(Name name)
gets the value specified in the stylesheet, if available, else gets the defaulted value
String
getSpecifiedValue(Name name)
return the value for the named output method attribute, only if that attribute was specified in the stylesheet

Method Details

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