|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.utils.UnImplNode | +--org.apache.xalan.templates.ElemTemplateElement | +--org.apache.xalan.templates.Stylesheet
Represents a stylesheet element.
All properties in this class have a fixed form of bean-style property accessors for all properties that represent XSL attributes or elements. These properties have setter method names accessed generically by the processor, and so these names must be fixed according to the system defined in the getSetterMethodName function.
Field Summary | |
static java.lang.String |
STYLESHEET_EXT
Extension to be used when serializing to disk. |
Constructor Summary | |
Stylesheet(Stylesheet parent)
Constructor for a Stylesheet. |
Method Summary | |
boolean |
containsExcludeResultPrefix(java.lang.String prefix)
Get whether or not the passed URL is contained flagged by the "extension-element-prefixes" property. |
boolean |
containsExtensionElementURI(java.lang.String uri)
Get and "extension-element-prefix" property. |
ElemAttributeSet |
getAttributeSet(int i)
Get an "xsl:attribute-set" property. |
int |
getAttributeSetCount()
Get the number of "xsl:attribute-set" properties. |
DecimalFormatProperties |
getDecimalFormat(int i)
Get an "xsl:decimal-format" property. |
DecimalFormatProperties |
getDecimalFormat(QName name)
Get an "xsl:decimal-format" property. |
int |
getDecimalFormatCount()
Get the number of xsl:decimal-format declarations. |
java.lang.String |
getExcludeResultPrefix(int i)
Get an "exclude-result-prefix" property. |
int |
getExcludeResultPrefixCount()
Get the number of "extension-element-prefixes" Strings. |
java.lang.String |
getExtensionElementPrefix(int i)
Get and "extension-element-prefix" property. |
int |
getExtensionElementPrefixCount()
Get the number of "extension-element-prefixes" Strings. |
java.lang.String |
getHref()
Get the base identifier with which this stylesheet is associated. |
java.lang.String |
getId()
Get the "id" property. |
StylesheetComposed |
getImport(int i)
Get a stylesheet from the "import" list. |
int |
getImportCount()
Get the number of imported stylesheets. |
Stylesheet |
getInclude(int i)
Get an "xsl:include" property. |
int |
getIncludeCount()
Get the number of included stylesheets. |
KeyDeclaration |
getKey(int i)
Get an "xsl:key" property. |
int |
getKeyCount()
Get the number of "xsl:key" properties. |
NamespaceAlias |
getNamespaceAlias(int i)
Get an "xsl:variable" property. |
int |
getNamespaceAliasCount()
Get the number of "xsl:variable" properties. |
java.lang.String |
getNodeName()
Return the node name. |
short |
getNodeType()
Get the type of the node. |
java.lang.Object |
getNonXslTopLevel(QName name)
Get a non-xslt element. |
OutputFormatExtended |
getOutput()
Get the "xsl:output" property. |
ElemParam |
getParam(int i)
Get an "xsl:param" property. |
ElemParam |
getParam(QName qname)
Get an "xsl:param" property. |
int |
getParamCount()
Get the number of "xsl:param" properties. |
XPath |
getPreserveSpace(int i)
Get a "xsl:preserve-space" property. |
int |
getPreserveSpaceCount()
Get the number of "xsl:preserve-space" properties. |
XPath |
getStripSpace(int i)
Get an "xsl:strip-space" property. |
int |
getStripSpaceCount()
Get the number of "xsl:strip-space" properties. |
Stylesheet |
getStylesheet()
Get the owning stylesheet. |
StylesheetComposed |
getStylesheetComposed()
Get the owning aggregated stylesheet, or this stylesheet if it is aggregated. |
Stylesheet |
getStylesheetParent()
Get the parent of the stylesheet. |
StylesheetRoot |
getStylesheetRoot()
Get the root of the stylesheet, where all the tables common to all stylesheets are kept. |
ElemTemplate |
getTemplate(int i)
Get an "xsl:template" property. |
int |
getTemplateCount()
Get the number of "xsl:template" properties. |
ElemVariable |
getVariable(int i)
Get an "xsl:variable" property. |
ElemVariable |
getVariable(QName qname)
Get an "xsl:variable" property. |
int |
getVariableCount()
Get the number of "xsl:variable" properties. |
java.lang.String |
getVersion()
Get the "version" property. |
java.lang.String |
getXmlnsXsl()
Get the "xmlns:xsl" property. |
boolean |
getXmlSpace()
Get the "xml:space" property. |
int |
getXSLToken()
Get an integer representation of the element type. |
boolean |
isAggregatedType()
Tell if this can be cast to a StylesheetComposed, meaning, you can ask questions from getXXXComposed functions. |
boolean |
isRoot()
Tell if this is the root of the stylesheet tree. |
void |
replaceTemplate(ElemTemplate v,
int i)
Replace an "xsl:template" property. |
void |
setAttributeSet(ElemAttributeSet attrSet)
Set the "xsl:attribute-set" property. |
void |
setDecimalFormat(DecimalFormatProperties edf)
Process the xsl:decimal-format element. |
void |
setExcludeResultPrefixes(StringVector v)
Set the "exclude-result-prefixes" property. |
void |
setExtensionElementPrefixes(StringVector v)
Set the "extension-element-prefixes" property. |
void |
setHref(java.lang.String baseIdent)
Get the base identifier with which this stylesheet is associated. |
void |
setId(java.lang.String v)
Set the "id" property. |
void |
setImport(StylesheetComposed v)
Add a stylesheet to the "import" list. |
void |
setInclude(Stylesheet v)
Set a "xsl:include" property. |
void |
setKey(KeyDeclaration v)
Set the "xsl:key" property. |
void |
setLocaterInfo(Locator locator)
Set the location information for this element. |
void |
setNamespaceAlias(NamespaceAlias na)
Set the "xsl:namespace-alias" property. |
void |
setNonXslTopLevel(QName name,
java.lang.Object obj)
Set a found non-xslt element. |
void |
setOutput(OutputFormatExtended v)
Set the "xsl:output" property. |
void |
setParam(ElemParam v)
Set an "xsl:param" property. |
void |
setPreserveSpaces(java.util.Vector v)
Set the "xsl:preserve-space" property. |
void |
setStripSpaces(java.util.Vector v)
Set the "xsl:strip-space" properties. |
void |
setStylesheetParent(Stylesheet v)
Set the parent of the stylesheet. |
void |
setStylesheetRoot(StylesheetRoot v)
Set the root of the stylesheet, where all the tables common to all stylesheets are kept. |
void |
setTemplate(ElemTemplate v)
Set an "xsl:template" property. |
void |
setVariable(ElemVariable v)
Set the "xsl:variable" property. |
void |
setVersion(java.lang.String v)
Set the "version" property. |
void |
setXmlnsXsl(java.lang.String v)
Set the "xmlns:xsl" property. |
void |
setXmlSpace(boolean v)
Set the "xml:space" property. |
Methods inherited from class org.apache.xalan.templates.ElemTemplateElement |
appendChild,
compose,
error,
execute,
getBaseIdentifier,
getChildNodes,
getColumnNumber,
getDeclaredPrefixes,
getDOMBackPointer,
getFirstChild,
getFirstChildElem,
getLastChild,
getLength,
getLineNumber,
getNamespaceForPrefix,
getNamespaceForPrefix,
getNextSibling,
getNextSiblingElem,
getOwnerDocument,
getParentElem,
getParentNode,
getPrefixes,
getPreviousSibling,
getPublicId,
getSystemId,
getTagName,
hasChildNodes,
isCompiledTemplate,
item,
removeChild,
replaceChild,
resolvePrefixTables,
runtimeInit,
setDOMBackPointer,
setPrefixes,
setPrefixes |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String STYLESHEET_EXT
Constructor Detail |
public Stylesheet(Stylesheet parent)
parent
- The including or importing stylesheet.Method Detail |
public Stylesheet getStylesheet()
public boolean isAggregatedType()
public boolean isRoot()
public void setXmlnsXsl(java.lang.String v)
public java.lang.String getXmlnsXsl()
public void setExtensionElementPrefixes(StringVector v)
public java.lang.String getExtensionElementPrefix(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getExtensionElementPrefixCount()
public boolean containsExtensionElementURI(java.lang.String uri)
public void setExcludeResultPrefixes(StringVector v)
public java.lang.String getExcludeResultPrefix(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getExcludeResultPrefixCount()
public boolean containsExcludeResultPrefix(java.lang.String prefix)
public void setId(java.lang.String v)
public java.lang.String getId()
public void setVersion(java.lang.String v)
public java.lang.String getVersion()
public void setXmlSpace(boolean v)
public boolean getXmlSpace()
public void setImport(StylesheetComposed v)
public StylesheetComposed getImport(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getImportCount()
public void setInclude(Stylesheet v)
public Stylesheet getInclude(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getIncludeCount()
public void setDecimalFormat(DecimalFormatProperties edf)
public DecimalFormatProperties getDecimalFormat(QName name)
ElemDecimalFormat.
,
format-number in XSLT Specificationpublic DecimalFormatProperties getDecimalFormat(int i) throws java.lang.ArrayIndexOutOfBoundsException
ElemDecimalFormat.
public int getDecimalFormatCount()
ElemDecimalFormat.
public void setStripSpaces(java.util.Vector v)
public XPath getStripSpace(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getStripSpaceCount()
public void setPreserveSpaces(java.util.Vector v)
public XPath getPreserveSpace(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getPreserveSpaceCount()
public void setOutput(OutputFormatExtended v)
public OutputFormatExtended getOutput()
public void setKey(KeyDeclaration v)
public KeyDeclaration getKey(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getKeyCount()
public void setAttributeSet(ElemAttributeSet attrSet)
public ElemAttributeSet getAttributeSet(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getAttributeSetCount()
public void setVariable(ElemVariable v)
public ElemVariable getVariable(QName qname)
public ElemVariable getVariable(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getVariableCount()
public void setParam(ElemParam v)
public ElemParam getParam(QName qname)
public ElemParam getParam(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getParamCount()
public void setTemplate(ElemTemplate v)
public ElemTemplate getTemplate(int i) throws SAXException
public int getTemplateCount()
public void setNamespaceAlias(NamespaceAlias na)
public NamespaceAlias getNamespaceAlias(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getNamespaceAliasCount()
public void setNonXslTopLevel(QName name, java.lang.Object obj)
public java.lang.Object getNonXslTopLevel(QName name)
public java.lang.String getHref()
public void setHref(java.lang.String baseIdent)
public void setLocaterInfo(Locator locator)
public StylesheetRoot getStylesheetRoot()
public void setStylesheetRoot(StylesheetRoot v)
public Stylesheet getStylesheetParent()
public void setStylesheetParent(Stylesheet v)
public StylesheetComposed getStylesheetComposed()
public short getNodeType()
public int getXSLToken()
Constants
public java.lang.String getNodeName()
public void replaceTemplate(ElemTemplate v, int i) throws SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |