|
|||||||||
| Home >> All >> com >> nwalsh >> [ saxon overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.nwalsh.saxon
Class Text

java.lang.ObjectStyleElement
com.nwalsh.saxon.Text
- public class Text
- extends StyleElement
Saxon extension element for inserting text
Copyright (C) 2000 Norman Walsh.
This class provides a Saxon extension element for inserting text into a result tree.
Change Log:
- 1.0
Initial release.
| Constructor Summary | |
Text()
Constructor for Text |
|
| Method Summary | |
boolean |
isInstruction()
Is this element an instruction? |
boolean |
mayContainTemplateBody()
Can this element contain a template-body? |
void |
prepareAttributes()
Validate the arguments |
void |
process(Context context)
Insert the text of the file into the result tree |
void |
validate()
Validate that the element occurs in a reasonable place. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
Text
public Text()
Constructor for Text
Does nothing.
| Method Detail |
isInstruction
public boolean isInstruction()
Is this element an instruction?
Yes, it is.
mayContainTemplateBody
public boolean mayContainTemplateBody()
Can this element contain a template-body?
Yes, it can, but only so that it can contain xsl:fallback.
prepareAttributes
public void prepareAttributes()
throws javax.xml.transform.TransformerConfigurationException
Validate the arguments
The element must have an href attribute.
validate
public void validate()
throws javax.xml.transform.TransformerConfigurationException
- Validate that the element occurs in a reasonable place.
process
public void process(Context context)
throws javax.xml.transform.TransformerException
Insert the text of the file into the result tree
Processing this element inserts the contents of the URL named by the href attribute into the result tree as plain text.
|
|||||||||
| Home >> All >> com >> nwalsh >> [ saxon overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
StyleElement