本文整理了Java中org.apache.xalan.templates.XSLTVisitor
类的一些代码示例,展示了XSLTVisitor
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSLTVisitor
类的具体详情如下:
包路径:org.apache.xalan.templates.XSLTVisitor
类名称:XSLTVisitor
[英]A derivation from this class can be passed to a class that implements the XSLTVisitable interface, to have the appropriate method called for each component of an XSLT stylesheet. Aside from possible other uses, the main intention is to provide a reasonable means to perform expression rewriting.
[中]这个类的派生可以传递给实现XSLTVisitable接口的类,以便为XSLT样式表的每个组件调用适当的方法。除了可能的其他用途外,主要目的是提供一种合理的方法来执行表达式重写。
代码示例来源:origin: robovm/robovm
/**
* @see XSLTVisitable#callVisitors(XSLTVisitor)
*/
public void callVisitors(XSLTVisitor visitor)
{
if(visitor.visitAVT(this) && (null != m_parts))
{
int n = m_parts.size();
for (int i = 0; i < n; i++)
{
AVTPart part = (AVTPart) m_parts.elementAt(i);
part.callVisitors(visitor);
}
}
}
代码示例来源:origin: robovm/robovm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitExtensionElement(this);
}
代码示例来源:origin: robovm/robovm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitInstruction(this);
}
代码示例来源:origin: robovm/robovm
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getOutput(j));
if (visitor.visitTopLevelInstruction(attrSet))
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getDecimalFormat(j));
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getKey(j));
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getNamespaceAlias(j));
if (visitor.visitTopLevelInstruction(template))
if (visitor.visitTopLevelVariableOrParamDecl(var))
visitor.visitTopLevelInstruction(getStripSpace(j));
visitor.visitTopLevelInstruction(getPreserveSpace(j));
if (visitor.visitTopLevelInstruction(elem))
代码示例来源:origin: robovm/robovm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitStylesheet(this);
}
代码示例来源:origin: robovm/robovm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitVariableOrParamDecl(this);
}
代码示例来源:origin: robovm/robovm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitLiteralResultElement(this);
}
代码示例来源:origin: xalan/xalan
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getOutput(j));
if (visitor.visitTopLevelInstruction(attrSet))
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getDecimalFormat(j));
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getKey(j));
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getNamespaceAlias(j));
if (visitor.visitTopLevelInstruction(template))
if (visitor.visitTopLevelVariableOrParamDecl(var))
visitor.visitTopLevelInstruction(getStripSpace(j));
visitor.visitTopLevelInstruction(getPreserveSpace(j));
if (visitor.visitTopLevelInstruction(elem))
代码示例来源:origin: xalan/xalan
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitStylesheet(this);
}
代码示例来源:origin: xalan/xalan
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitVariableOrParamDecl(this);
}
代码示例来源:origin: xalan/xalan
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitLiteralResultElement(this);
}
代码示例来源:origin: MobiVM/robovm
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getOutput(j));
if (visitor.visitTopLevelInstruction(attrSet))
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getDecimalFormat(j));
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getKey(j));
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getNamespaceAlias(j));
if (visitor.visitTopLevelInstruction(template))
if (visitor.visitTopLevelVariableOrParamDecl(var))
visitor.visitTopLevelInstruction(getStripSpace(j));
visitor.visitTopLevelInstruction(getPreserveSpace(j));
if (visitor.visitTopLevelInstruction(elem))
代码示例来源:origin: MobiVM/robovm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitStylesheet(this);
}
代码示例来源:origin: xalan/xalan
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitInstruction(this);
}
代码示例来源:origin: xalan/xalan
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitExtensionElement(this);
}
代码示例来源:origin: ibinti/bugvm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitVariableOrParamDecl(this);
}
代码示例来源:origin: MobiVM/robovm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitLiteralResultElement(this);
}
代码示例来源:origin: xalan/xalan
/**
* @see XSLTVisitable#callVisitors(XSLTVisitor)
*/
public void callVisitors(XSLTVisitor visitor)
{
if(visitor.visitAVT(this) && (null != m_parts))
{
int n = m_parts.size();
for (int i = 0; i < n; i++)
{
AVTPart part = (AVTPart) m_parts.elementAt(i);
part.callVisitors(visitor);
}
}
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getOutput(j));
if (visitor.visitTopLevelInstruction(attrSet))
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getDecimalFormat(j));
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getKey(j));
for (int j = 0; j < s; j++)
visitor.visitTopLevelInstruction(getNamespaceAlias(j));
if (visitor.visitTopLevelInstruction(template))
if (visitor.visitTopLevelVariableOrParamDecl(var))
visitor.visitTopLevelInstruction(getStripSpace(j));
visitor.visitTopLevelInstruction(getPreserveSpace(j));
if (visitor.visitTopLevelInstruction(elem))
代码示例来源:origin: ibinti/bugvm
/**
* Accept a visitor and call the appropriate method
* for this class.
*
* @param visitor The visitor whose appropriate method will be called.
* @return true if the children of the object should be visited.
*/
protected boolean accept(XSLTVisitor visitor)
{
return visitor.visitStylesheet(this);
}
内容来源于网络,如有侵权,请联系作者删除!