gpt4 book ai didi

org.eclipse.persistence.internal.oxm.XPathNode.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 02:51:40 28 4
gpt4 key购买 nike

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

XPathNode.<init>介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

public XPathObjectBuilder(CoreDescriptor descriptor) {
  this.descriptor = descriptor;
  this.rootXPathNode = new XPathNode();
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

public XPathObjectBuilder(CoreDescriptor descriptor) {
  this.descriptor = descriptor;
  this.rootXPathNode = new XPathNode();
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public TreeObjectBuilder(ClassDescriptor descriptor) {
  super(descriptor);
  rootXPathNode = new XPathNode();
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

public XMLCollectionReferenceMappingMarshalNodeValue(CollectionReferenceMapping xmlCollectionReferenceMapping) {
  this.xmlCollectionReferenceMapping = xmlCollectionReferenceMapping;
  branchNode = new XPathNode();
  NamespaceResolver namespaceResolver = ((Descriptor) xmlCollectionReferenceMapping.getDescriptor()).getNamespaceResolver();
  List fkFields = xmlCollectionReferenceMapping.getFields();
  for(int x=0, fkFieldsSize=fkFields.size(); x<fkFieldsSize; x++) {
    Field fkField = (Field) fkFields.get(x);
    branchNode.addChild(fkField.getXPathFragment(), new XMLCollectionReferenceMappingFKMarshalNodeValue(xmlCollectionReferenceMapping, fkField), namespaceResolver);
  }
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

public XMLCollectionReferenceMappingMarshalNodeValue(CollectionReferenceMapping xmlCollectionReferenceMapping) {
  this.xmlCollectionReferenceMapping = xmlCollectionReferenceMapping;
  branchNode = new XPathNode();        
  NamespaceResolver namespaceResolver = ((Descriptor) xmlCollectionReferenceMapping.getDescriptor()).getNamespaceResolver();
  List fkFields = xmlCollectionReferenceMapping.getFields();
  for(int x=0, fkFieldsSize=fkFields.size(); x<fkFieldsSize; x++) {
    Field fkField = (Field) fkFields.get(x);
    branchNode.addChild(fkField.getXPathFragment(), new XMLCollectionReferenceMappingFKMarshalNodeValue(xmlCollectionReferenceMapping, fkField), namespaceResolver);
  }
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public XMLCollectionReferenceMappingMarshalNodeValue(XMLCollectionReferenceMapping xmlCollectionReferenceMapping) {
  this.xmlCollectionReferenceMapping = xmlCollectionReferenceMapping;
  branchNode = new XPathNode();
  NamespaceResolver namespaceResolver = ((XMLDescriptor) xmlCollectionReferenceMapping.getDescriptor()).getNamespaceResolver();
  List fkFields = xmlCollectionReferenceMapping.getFields();
  for(int x=0, fkFieldsSize=fkFields.size(); x<fkFieldsSize; x++) {
    XMLField fkField = (XMLField) fkFields.get(x);
    branchNode.addChild(fkField.getXPathFragment(), new XMLCollectionReferenceMappingFKMarshalNodeValue(xmlCollectionReferenceMapping, fkField), namespaceResolver);
  }
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public XPathNode addChild(XPathFragment anXPathFragment, NodeValue aNodeValue, NamespaceResolver namespaceResolver) {
  if (null != anXPathFragment && anXPathFragment.nameIsText()) {
    if (aNodeValue.isOwningNode(anXPathFragment)) {
      XPathNode textXPathNode = new XPathNode();
      textXPathNode.setParent(this);
      textXPathNode.setXPathFragment(anXPathFragment);
  XPathNode xPathNode = new XPathNode();
  xPathNode.setXPathFragment(anXPathFragment);

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

XPathNode textXPathNode = this.getTextNode();
    if(textXPathNode == null) {
      textXPathNode = new XPathNode();
XPathNode xPathNode = new XPathNode();
xPathNode.setXPathFragment(anXPathFragment);

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

XPathNode textXPathNode = this.getTextNode();
    if(textXPathNode == null) {
      textXPathNode = new XPathNode();
XPathNode xPathNode = new XPathNode();
xPathNode.setXPathFragment(anXPathFragment);

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

ContainerValue containerValue = (ContainerValue) childXPathNodeUnmarshalNodeValue;
if(containerValue.isWrapperAllowedAsCollectionName()) {
  XPathNode wrapperXPathNode = new XPathNode();
  wrapperXPathNode.setXPathFragment(this.getXPathFragment());
  wrapperXPathNode.setMarshalNodeValue(childXPathNode.getMarshalNodeValue());

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

if (node == null) {
  XPathNode n = new XPathNode();
  CompositeObjectMapping m = new XMLCompositeObjectMapping();
  m.setXPath(".");

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

ContainerValue containerValue = (ContainerValue) childXPathNodeUnmarshalNodeValue;
if(containerValue.isWrapperAllowedAsCollectionName()) {
  XPathNode wrapperXPathNode = new XPathNode();
  wrapperXPathNode.setXPathFragment(this.getXPathFragment());
  wrapperXPathNode.setMarshalNodeValue(childXPathNode.getMarshalNodeValue());

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

if (node == null) {
  XPathNode n = new XPathNode();
  CompositeObjectMapping m = new XMLCompositeObjectMapping();
  m.setXPath(".");

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

XPathNode holderXPathNode = new XPathNode();
holderXPathNode.setXPathFragment(elementFragment);
marshalRecord.addGroupingElement(holderXPathNode);

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

XPathNode holderXPathNode = new XPathNode();
holderXPathNode.setXPathFragment(elementFragment);
marshalRecord.addGroupingElement(holderXPathNode);

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

AbstractNullPolicy nullPolicy = xmlBinaryDataCollectionMapping.getNullPolicy();
if (nullPolicy.getMarshalNullRepresentation() != XMLNullRepresentationType.ABSENT_NODE) {
  XPathNode holderXPathNode = new XPathNode();
  holderXPathNode.setXPathFragment(xPathFragment);
  marshalRecord.addGroupingElement(holderXPathNode);

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

AbstractNullPolicy nullPolicy = xmlBinaryDataCollectionMapping.getNullPolicy();
if (nullPolicy.getMarshalNullRepresentation() != XMLNullRepresentationType.ABSENT_NODE) {
  XPathNode holderXPathNode = new XPathNode();
  holderXPathNode.setXPathFragment(xPathFragment);
  marshalRecord.addGroupingElement(holderXPathNode);

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