本文整理了Java中org.apache.xalan.processor.XSLTSchema.addAvailableElement()
方法的一些代码示例,展示了XSLTSchema.addAvailableElement()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSLTSchema.addAvailableElement()
方法的具体详情如下:
包路径:org.apache.xalan.processor.XSLTSchema
类名称:XSLTSchema
方法名:addAvailableElement
[英]Adds a new element name to the Hashtable of available elements.
[中]将新元素名称添加到可用元素的哈希表中。
代码示例来源:origin: robovm/robovm
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: robovm/robovm
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: xalan/xalan
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: xalan/xalan
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: MobiVM/robovm
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: ibinti/bugvm
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: MobiVM/robovm
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: ibinti/bugvm
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Construct an instance of XSLTElementDef.
*
* @param namespace The Namespace URI, "*", or null.
* @param name The local name (without prefix), "*", or null.
* @param nameAlias A potential alias for the name, or null.
* @param elements An array of allowed child element defs, or null.
* @param attributes An array of allowed attribute defs, or null.
* @param contentHandler The element processor for this element.
* @param classObject The class of the object that this element def should produce.
*/
XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
XSLTElementDef[] elements, XSLTAttributeDef[] attributes,
XSLTElementProcessor contentHandler, Class classObject)
{
build(namespace, name, nameAlias, elements, attributes, contentHandler,
classObject);
if ( (null != namespace)
&& (namespace.equals(Constants.S_XSLNAMESPACEURL)
|| namespace.equals(Constants.S_BUILTIN_EXTENSIONS_URL)
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
{
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
}
}
代码示例来源:origin: FlexoVM/flexovm
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: com.bugvm/bugvm-rt
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
|| namespace.equals(Constants.S_BUILTIN_OLD_EXTENSIONS_URL)))
schema.addAvailableElement(new QName(namespace, name));
if(null != nameAlias)
schema.addAvailableElement(new QName(namespace, nameAlias));
内容来源于网络,如有侵权,请联系作者删除!