|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xml.util.StylesheetAssociation
Represents a stylesheet association that occurs in an XML document
as an xsl-stylesheet
processing instruction.
Constructor Summary | |
StylesheetAssociation(String href,
String type,
String title,
String media,
String charset,
boolean alternate)
Construct a StylesheetAssociation with the passed values from the
document processing instruction. |
Method Summary | |
String |
getCharset()
Return the value of the charset pseudo attribute, or the empty
string if the charset pseudo attribute was not specified. |
String |
getHref()
Return the value of the href pseudo attribute. |
String |
getMedia()
Return the value of the media pseudo attribute, or the empty
string if the media pseudo attribute was not specified. |
String |
getTitle()
Return the value of the title pseudo attribute, or the empty
string if the title pseudo attribute was not specified. |
String |
getType()
Return the value of the type pseudo attribute. |
boolean |
isAlternate()
Return true if the alternate pseudo attribute was specified and had the value yes . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StylesheetAssociation(String href, String type, String title, String media, String charset, boolean alternate)
StylesheetAssociation
with the passed values from the
document processing instruction.
href
- The value of the href
pseudo attribute. This must not be null
or empty.type
- The value of the type
pseudo attribute. This must not be null
or empty.title
- The value of the title
pseudo attribute.media
- The value of the media
pseudo attribute.charset
- The value of the charset
pseudo attribute.alternate
- true
if the alternate
pseudo attribute was present and had a value of yes
.Method Detail |
public String getHref()
href
pseudo attribute.
href
pseudo attribute.public String getType()
type
pseudo attribute.
type
pseudo attribute.public String getTitle()
title
pseudo attribute, or the empty
string if the title
pseudo attribute was not specified.
title
pseudo attribute, or the empty string.public String getMedia()
media
pseudo attribute, or the empty
string if the media
pseudo attribute was not specified.
media
pseudo attribute, or the empty string.public String getCharset()
charset
pseudo attribute, or the empty
string if the charset
pseudo attribute was not specified.
charset
pseudo attribute, or the empty string.public boolean isAlternate()
true
if the alternate
pseudo attribute was specified and had the value yes
.
true
if the alternate
pseudo attribute was specified and had the value yes
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |