org.apache.xalan.xslt
Class StylesheetSpec
java.lang.Object
|
+--org.xml.sax.InputSource
|
+--org.apache.xalan.xslt.XSLTInputSource
|
+--org.apache.xalan.xslt.StylesheetSpec
- public class StylesheetSpec
- extends XSLTInputSource
This class implements the representation of a stylesheet
specification via xml-stylesheet in an XML document.
Constructor Summary |
StylesheetSpec(java.lang.String href,
java.lang.String type,
java.lang.String title,
java.lang.String media,
boolean alternate,
java.lang.String encoding)
Create a StylesheetSpec object. |
Method Summary |
boolean |
getIsAlternate()
Get whether or not the stylesheet is specified as
an alternate. |
java.lang.String |
getMedia()
Get the media attribute of the stylesheet. |
java.lang.String |
getTitle()
Get the title of the element (in other words, the
item to be presented to the user agent). |
java.lang.String |
getType()
Get the type of the stylesheet, i.e. |
Methods inherited from class org.xml.sax.InputSource |
getByteStream,
getCharacterStream,
getEncoding,
getPublicId,
getSystemId,
setByteStream,
setCharacterStream,
setEncoding,
setPublicId,
setSystemId |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
StylesheetSpec
public StylesheetSpec(java.lang.String href,
java.lang.String type,
java.lang.String title,
java.lang.String media,
boolean alternate,
java.lang.String encoding)
- Create a StylesheetSpec object.
getType
public java.lang.String getType()
- Get the type of the stylesheet, i.e. "text/xsl".
getTitle
public java.lang.String getTitle()
- Get the title of the element (in other words, the
item to be presented to the user agent).
getMedia
public java.lang.String getMedia()
- Get the media attribute of the stylesheet.
getIsAlternate
public boolean getIsAlternate()
- Get whether or not the stylesheet is specified as
an alternate.
Copyright © 2000 Apache XML Project. All Rights Reserved.