gpt4 book ai didi

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

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

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

XPathNode.getNonAttributeChildren介绍

暂无

代码示例

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

public int getNonAttributeChildrenSize(XPathNode xPathNode) {
  return xPathNode.getNonAttributeChildren().size();
}

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

groupingXPathFragment = groupingXPathNode.getXPathFragment();
  contentHandler.startElement(uri, parentLocalName, parentLocalName, new AttributesImpl());
  XPathNode itemXPathNode = groupingXPathNode.getNonAttributeChildren().get(0);
  itemXPathFragment = itemXPathNode.getXPathFragment();
} else if (groupingXPathNode.getUnmarshalNodeValue() == null) {
  XPathNode itemXPathNode = groupingXPathNode.getNonAttributeChildren().get(0);
  if (itemXPathNode != null) {
    if ((itemXPathNode.getUnmarshalNodeValue()).isContainerValue()) {

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

groupingXPathFragment = groupingXPathNode.getXPathFragment();
  contentHandler_.startElement(uri, parentLocalName, parentLocalName, new AttributesImpl());
  XPathNode itemXPathNode = groupingXPathNode.getNonAttributeChildren().get(0);
  itemXPathFragment = itemXPathNode.getXPathFragment();
} else if (groupingXPathNode.getUnmarshalNodeValue() == null) {
  XPathNode itemXPathNode = groupingXPathNode.getNonAttributeChildren().get(0);
  if (itemXPathNode != null) {
    if ((itemXPathNode.getUnmarshalNodeValue()).isContainerValue()) {

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

public Object getNonAttributeChild(int index, XPathNode xPathNode) {
  return xPathNode.getNonAttributeChildren().get(index);
}

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

public int getNonAttributeChildrenSize(XPathNode xPathNode) {
  return xPathNode.getNonAttributeChildren().size();
}

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

public Object getNonAttributeChild(int index, XPathNode xPathNode) {
  return xPathNode.getNonAttributeChildren().get(index);
}

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

public Object getNonAttributeChild(int index, XPathNode xPathNode) {
  return xPathNode.getNonAttributeChildren().get(index);
}

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

public int getNonAttributeChildrenSize(XPathNode xPathNode) {
  return xPathNode.getNonAttributeChildren().size();
}

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

@Override
public List<Namespace> addExtraNamespacesToNamespaceResolver(Descriptor desc, AbstractMarshalRecord marshalRecord, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) {
  if (rootXPathNode.getNonAttributeChildren() == null) {
    return null;
  } else {
    return marshalRecord.addExtraNamespacesToNamespaceResolver(desc, session, allowOverride, ignoreEqualResolvers);
  }
}

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

@Override
public List<Namespace> addExtraNamespacesToNamespaceResolver(Descriptor desc, AbstractMarshalRecord marshalRecord, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) {
  if (rootXPathNode.getNonAttributeChildren() == null) {
    return null;
  } else {
    return marshalRecord.addExtraNamespacesToNamespaceResolver(desc, session, allowOverride, ignoreEqualResolvers);
  }
}

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

messageBuilder.append(localName);
messageBuilder.append("\"). Expected elements are ");
List<XPathNode> nonAttributeChildren = xPathNode.getNonAttributeChildren();
if(nonAttributeChildren == null || nonAttributeChildren.size() == 0) {
  messageBuilder.append("(none)");

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

messageBuilder.append(localName);
messageBuilder.append("\"). Expected elements are ");
List<XPathNode> nonAttributeChildren = xPathNode.getNonAttributeChildren();
if(nonAttributeChildren == null || nonAttributeChildren.size() == 0) {
  messageBuilder.append("(none)");

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

if(this.getNonAttributeChildren() != null && this.hasPredicateChildren) {
  for(XPathNode nextChild: this.getNonAttributeChildren()) {
    XPathFragment nextFrag = nextChild.getXPathFragment();
    if(nextFrag != null && nextFrag.equals(anXPathFragment, true)) {

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

if(this.getNonAttributeChildren() != null && this.hasPredicateChildren) {
  for(XPathNode nextChild: this.getNonAttributeChildren()) {
    XPathFragment nextFrag = nextChild.getXPathFragment();
    if(nextFrag != null && nextFrag.equals(anXPathFragment, true)) {

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

public AbstractRecord buildRow(AbstractRecord record, Object object, org.eclipse.persistence.internal.sessions.AbstractSession session, XMLMarshaller marshaller) {
  if (null == getRootXPathNode().getNonAttributeChildren()) {
    return record;
  }
  XMLDescriptor xmlDescriptor = (XMLDescriptor) this.descriptor;
  NamespaceResolver namespaceResolver = xmlDescriptor.getNamespaceResolver();
  MarshalContext marshalContext = null;
  if(xmlDescriptor.isSequencedObject()) {
    SequencedObject sequencedObject = (SequencedObject) object;
    marshalContext = new SequencedMarshalContext(sequencedObject.getSettings());
  } else {
    marshalContext = ObjectMarshalContext.getInstance();
  }
  for (int x = 0, size = marshalContext.getNonAttributeChildrenSize(getRootXPathNode()); x < size; x++) {
    XPathNode xPathNode = (XPathNode)marshalContext.getNonAttributeChild(x, getRootXPathNode());
    xPathNode.marshal((MarshalRecord)record, object, session, namespaceResolver, marshaller, marshalContext.getMarshalContext(x));
  }
  return record;
}

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

lazyInitialize();
XPathNode textNode = rootXPathNode.getTextNode();
List<XPathNode> nonAttributeChildren = rootXPathNode.getNonAttributeChildren();
if (null == textNode && null == nonAttributeChildren) {
  return record;

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

lazyInitialize();
XPathNode textNode = rootXPathNode.getTextNode();
List<XPathNode> nonAttributeChildren = rootXPathNode.getNonAttributeChildren();
if (null == textNode && null == nonAttributeChildren) {
  return record;

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