gpt4 book ai didi

org.apache.openjpa.lib.meta.XMLMetaDataParser.parse()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 17:21:05 28 4
gpt4 key购买 nike

本文整理了Java中org.apache.openjpa.lib.meta.XMLMetaDataParser.parse()方法的一些代码示例,展示了XMLMetaDataParser.parse()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLMetaDataParser.parse()方法的具体详情如下:
包路径:org.apache.openjpa.lib.meta.XMLMetaDataParser
类名称:XMLMetaDataParser
方法名:parse

XMLMetaDataParser.parse介绍

[英]Parse the resources returned by the given iterator, optionally stopping when the first valid resource is found.
[中]解析给定迭代器返回的资源,在找到第一个有效资源时可以选择停止。

代码示例

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

@Override
public void parse(URL url)
  throws IOException {
  _source = url;
  super.parse(url);
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

public void parse(MetaDataIterator itr) throws IOException {
  parse(itr, false);
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

public void parse(MetaDataIterator itr) throws IOException {
  parse(itr, false);
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

@Override
public void parse(File file)
  throws IOException {
  try {
    _source = (URL) AccessController.doPrivileged(J2DoPrivHelper
      .toURLAction(file));
  } catch (PrivilegedActionException pae) {
    throw (MalformedURLException) pae.getException();
  }
  super.parse(file);
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

public void parse(Class cls, boolean topDown) throws IOException {
  String suff = (_suffix == null) ? "" : _suffix;
  parse(new ClassMetaDataIterator(cls, suff, topDown), !topDown);
}

代码示例来源:origin: org.apache.openjpa/openjpa-lib

public void parse(Class cls, boolean topDown) throws IOException {
  String suff = (_suffix == null) ? "" : _suffix;
  parse(new ClassMetaDataIterator(cls, suff, topDown), !topDown);
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

public void parse(URL url) throws IOException {
  if (url != null)
    parse(new URLMetaDataIterator(url));
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

public void parse(String rsrc) throws IOException {
  if (rsrc != null)
    parse(new ResourceMetaDataIterator(rsrc, _loader));
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

public void parse(Class cls, boolean topDown) throws IOException {
  String suff = (_suffix == null) ? "" : _suffix;
  parse(new ClassMetaDataIterator(cls, suff, topDown), !topDown);
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

public void parse(URL url) throws IOException {
  if (url != null)
    parse(new URLMetaDataIterator(url));
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

public void parse(String rsrc) throws IOException {
  if (rsrc != null)
    parse(new ResourceMetaDataIterator(rsrc, _loader));
}

代码示例来源:origin: org.apache.openjpa/openjpa-lib

public void parse(URL url) throws IOException {
  if (url != null)
    parse(new URLMetaDataIterator(url));
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

public void parse(Class cls, boolean topDown) throws IOException {
  String suff = (_suffix == null) ? "" : _suffix;
  parse(new ClassMetaDataIterator(cls, suff, topDown), !topDown);
}

代码示例来源:origin: org.apache.openjpa/openjpa-lib

public void parse(String rsrc) throws IOException {
  if (rsrc != null)
    parse(new ResourceMetaDataIterator(rsrc, _loader));
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

public void parse(String rsrc) throws IOException {
  if (rsrc != null)
    parse(new ResourceMetaDataIterator(rsrc, _loader));
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

public void parse(URL url) throws IOException {
  if (url != null)
    parse(new URLMetaDataIterator(url));
}

代码示例来源:origin: org.apache.openejb.patch/openjpa

public void parse(File file) throws IOException {
  if (file == null)
    return;
  if (!(AccessController.doPrivileged(J2DoPrivHelper
    .isDirectoryAction(file))).booleanValue())
    parse(new FileMetaDataIterator(file));
  else {
    String suff = (_suffix == null) ? "" : _suffix;
    parse(new FileMetaDataIterator(file,
      new SuffixMetaDataFilter(suff)));
  }
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

public void parse(File file) throws IOException {
  if (file == null)
    return;
  if (!(AccessController.doPrivileged(J2DoPrivHelper
    .isDirectoryAction(file))).booleanValue())
    parse(new FileMetaDataIterator(file));
  else {
    String suff = (_suffix == null) ? "" : _suffix;
    parse(new FileMetaDataIterator(file,
      new SuffixMetaDataFilter(suff)));
  }
}

代码示例来源:origin: org.apache.openjpa/openjpa-lib

public void parse(File file) throws IOException {
  if (file == null)
    return;
  if (!(AccessController.doPrivileged(J2DoPrivHelper
    .isDirectoryAction(file))).booleanValue())
    parse(new FileMetaDataIterator(file));
  else {
    String suff = (_suffix == null) ? "" : _suffix;
    parse(new FileMetaDataIterator(file,
      new SuffixMetaDataFilter(suff)));
  }
}

代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa

public void parse(File file) throws IOException {
  if (file == null)
    return;
  if (!((Boolean) AccessController.doPrivileged(J2DoPrivHelper
    .isDirectoryAction(file))).booleanValue())
    parse(new FileMetaDataIterator(file));
  else {
    String suff = (_suffix == null) ? "" : _suffix;
    parse(new FileMetaDataIterator(file,
      new SuffixMetaDataFilter(suff)));
  }
}

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com