|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xsltc.compiler.SyntaxTreeNode | +--org.apache.xalan.xsltc.compiler.Stylesheet
Field Summary | |
Stylesheet |
_importedFrom
Reference to the stylesheet from which this stylesheet was imported (if any). |
Stylesheet |
_includedFrom
Reference to the stylesheet from which this stylesheet was included (if any). |
static int |
HTML_OUTPUT
|
static int |
TEXT_OUTPUT
|
static int |
UNKNOWN_OUTPUT
|
static int |
XML_OUTPUT
|
Constructor Summary | |
Stylesheet()
|
Method Summary | |
void |
addIncludedStylesheet(Stylesheet child)
|
int |
addParam(org.apache.xalan.xsltc.compiler.Param param)
|
int |
addVariable(org.apache.xalan.xsltc.compiler.Variable global)
|
boolean |
callsNodeset()
|
boolean |
checkForLoop(java.lang.String systemId)
|
void |
display(int indent)
|
void |
excludeExtensionPrefixes(Parser parser)
|
java.util.Vector |
getAllValidTemplates()
|
java.lang.String |
getClassName()
|
int |
getImportPrecedence()
|
org.apache.xalan.xsltc.compiler.Output |
getLastOutputElement()
|
int |
getMinimumDescendantPrecedence()
Get the minimum of the precedence of this stylesheet, any stylesheet imported by this stylesheet and any include/import descendant of this stylesheet. |
org.apache.xalan.xsltc.compiler.Mode |
getMode(org.apache.xalan.xsltc.compiler.QName modeName)
|
java.lang.String |
getNamespace(java.lang.String prefix)
|
int |
getOutputMethod()
Return the output method |
java.util.Properties |
getOutputProperties()
|
Stylesheet |
getParentStylesheet()
|
SourceLoader |
getSourceLoader()
|
java.lang.String |
getSystemId()
|
boolean |
getTemplateInlining()
|
java.util.Vector |
getTemplates()
|
boolean |
hasGlobals()
Returns true if this stylesheet has global vars or params. |
boolean |
hasLocalParams()
Returns true if at least one template in the stylesheet has params defined. |
boolean |
isExtension(java.lang.String uri)
|
boolean |
isMultiDocument()
|
boolean |
isSimplified()
|
void |
numberFormattingUsed()
|
void |
parseContents(Parser parser)
Parse the version and uri fields of the stylesheet and add an entry to the symbol table mapping the name __stylesheet_ to an instance of this class. |
void |
parseOwnChildren(Parser parser)
Parse all direct children of the |
void |
processModes()
|
void |
setCallsNodeset(boolean flag)
|
void |
setHasIdCall(boolean flag)
|
void |
setImportingStylesheet(Stylesheet parent)
|
void |
setImportPrecedence(int precedence)
|
void |
setIncludingStylesheet(Stylesheet parent)
|
void |
setMultiDocument(boolean flag)
|
void |
setOutputProperties(java.util.Properties props)
|
void |
setOutputProperty(java.lang.String key,
java.lang.String value)
|
void |
setParentStylesheet(Stylesheet parent)
|
void |
setParser(Parser parser)
|
void |
setSimplified()
|
void |
setSourceLoader(SourceLoader loader)
|
void |
setSystemId(java.lang.String systemId)
|
void |
setTemplateInlining(boolean flag)
|
void |
translate()
Translate the stylesheet into JVM bytecodes. |
void |
translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate the stylesheet into JVM bytecodes. |
Type |
typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable)
Type check all the children of this node. |
Methods inherited from class org.apache.xalan.xsltc.compiler.SyntaxTreeNode |
getLineNumber,
getParser,
getStylesheet |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public Stylesheet _importedFrom
public Stylesheet _includedFrom
public static final int UNKNOWN_OUTPUT
public static final int XML_OUTPUT
public static final int HTML_OUTPUT
public static final int TEXT_OUTPUT
Constructor Detail |
public Stylesheet()
Method Detail |
public int getOutputMethod()
public boolean getTemplateInlining()
public void setTemplateInlining(boolean flag)
public boolean isSimplified()
public void setSimplified()
public void setHasIdCall(boolean flag)
public void setOutputProperty(java.lang.String key, java.lang.String value)
public void setOutputProperties(java.util.Properties props)
public java.util.Properties getOutputProperties()
public org.apache.xalan.xsltc.compiler.Output getLastOutputElement()
public void setMultiDocument(boolean flag)
public boolean isMultiDocument()
public void setCallsNodeset(boolean flag)
public boolean callsNodeset()
public void numberFormattingUsed()
public void setImportPrecedence(int precedence)
public int getImportPrecedence()
public int getMinimumDescendantPrecedence()
public boolean checkForLoop(java.lang.String systemId)
public void setParser(Parser parser)
public void setParentStylesheet(Stylesheet parent)
public Stylesheet getParentStylesheet()
public void setImportingStylesheet(Stylesheet parent)
public void setIncludingStylesheet(Stylesheet parent)
public void addIncludedStylesheet(Stylesheet child)
public void setSystemId(java.lang.String systemId)
public java.lang.String getSystemId()
public void setSourceLoader(SourceLoader loader)
public SourceLoader getSourceLoader()
public boolean hasGlobals()
public boolean hasLocalParams()
_hasLocalParams
to cache the
result.public boolean isExtension(java.lang.String uri)
public void excludeExtensionPrefixes(Parser parser)
public void parseContents(Parser parser)
public final void parseOwnChildren(Parser parser)
public void processModes()
public org.apache.xalan.xsltc.compiler.Mode getMode(org.apache.xalan.xsltc.compiler.QName modeName)
public Type typeCheck(org.apache.xalan.xsltc.compiler.SymbolTable stable) throws TypeCheckError
public void translate(ClassGenerator classGen, MethodGenerator methodGen)
public void translate()
public int addParam(org.apache.xalan.xsltc.compiler.Param param)
public int addVariable(org.apache.xalan.xsltc.compiler.Variable global)
public void display(int indent)
public java.lang.String getNamespace(java.lang.String prefix)
public java.lang.String getClassName()
public java.util.Vector getTemplates()
public java.util.Vector getAllValidTemplates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |