本文整理了Java中org.apache.xmlbeans.XmlTokenSource.monitor()
方法的一些代码示例,展示了XmlTokenSource.monitor()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlTokenSource.monitor()
方法的具体详情如下:
包路径:org.apache.xmlbeans.XmlTokenSource
类名称:XmlTokenSource
方法名:monitor
[英]Returns the synchronization object for the document. If concurrent multithreaded access to a document is required, the access should should be protected by synchronizing on this monitor() object. There is one monitor per XML document tree.
[中]返回文档的同步对象。如果需要对文档进行并发多线程访问,则应通过在此monitor()对象上同步来保护访问。每个XML文档树有一个监视器。
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
l = (Locale) source;
else if (source instanceof XmlTokenSource)
l = (Locale) ((XmlTokenSource) source).monitor();
else
throw new IllegalArgumentException(
代码示例来源:origin: com.github.pjfanning/xmlbeans
l = (Locale) source;
else if (source instanceof XmlTokenSource)
l = (Locale) ((XmlTokenSource) source).monitor();
else
throw new IllegalArgumentException(
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
l = (Locale) source;
else if (source instanceof XmlTokenSource)
l = (Locale) ((XmlTokenSource) source).monitor();
else
throw new IllegalArgumentException(
内容来源于网络,如有侵权,请联系作者删除!