本文整理汇总了Java中net.sf.saxon.om.FingerprintedQName类的典型用法代码示例。如果您正苦于以下问题:Java FingerprintedQName类的具体用法?Java FingerprintedQName怎么用?Java FingerprintedQName使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FingerprintedQName类属于net.sf.saxon.om包,在下文中一共展示了FingerprintedQName类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: startElement
import net.sf.saxon.om.FingerprintedQName; //导入依赖的package包/类
@Override
public void startElement(NodeName elemName, SchemaType typeCode, Location location, int properties) throws XPathException {
super.startElement(elemName, typeCode, location, properties);
attributes = new AttributeCollectionImpl(getConfiguration());
attributes.addAttribute(
new FingerprintedQName("", "", "test"),
AnySimpleType.getInstance(),
Long.toString(System.nanoTime()),
location,
properties);
}
示例2: startElem
import net.sf.saxon.om.FingerprintedQName; //导入依赖的package包/类
@Override
public void startElem(String localname) throws HttpClientException {
final String prefix = HttpConstants.HTTP_CLIENT_NS_PREFIX;
final String uri = HttpConstants.HTTP_CLIENT_NS_URI;
NodeName name = new FingerprintedQName(prefix, uri, localname);
try {
myBuilder.startElement(name, Untyped.getInstance(), ExplicitLocation.UNKNOWN_LOCATION, 0);
} catch (XPathException ex) {
throw new HttpClientException("Error starting element on the Saxon tree builder", ex);
}
}