- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getNonAttributeChildrenMap()
方法的一些代码示例,展示了XPathNode.getNonAttributeChildrenMap()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XPathNode.getNonAttributeChildrenMap()
方法的具体详情如下:
包路径:org.eclipse.persistence.internal.oxm.XPathNode
类名称:XPathNode
方法名:getNonAttributeChildrenMap
暂无
代码示例来源:origin: com.sun.jersey/jersey-json
@Override
public Collection<QName> getExpectedElements() {
final List<QName> elements = new LinkedList<QName>();
final XPathNodeWrapper currentNodeWrapper = getCurrentNodeWrapper();
final Map<XPathFragment, XPathNode> nonAttributeChildrenMap =
currentNodeWrapper == null ? null : currentNodeWrapper.xPathNode.getNonAttributeChildrenMap();
if (nonAttributeChildrenMap != null) {
for(Map.Entry<XPathFragment, XPathNode> entry : nonAttributeChildrenMap.entrySet()) {
elements.add(new QName(entry.getKey().getNamespaceURI(), entry.getKey().getLocalName()));
}
}
return elements;
}
代码示例来源:origin: com.sun.jersey/jersey-json
public Map<String, EntityType> getEntitiesTypesMap(boolean isAttribute) {
Map<String, EntityType> entitiesTypes = isAttribute ? attributeTypeMap : elementTypeMap;
if (entitiesTypes.isEmpty()) {
final Map<XPathFragment, XPathNode> nodeMap =
isAttribute ? xPathNode.getAttributeChildrenMap() : xPathNode.getNonAttributeChildrenMap();
if (nodeMap != null) {
for(Map.Entry<XPathFragment, XPathNode> entry : nodeMap.entrySet()) {
entitiesTypes.put(entry.getKey().getLocalName(), new EntityType(entry.getKey().getXMLField().getType()));
}
}
}
return entitiesTypes;
}
代码示例来源:origin: com.sun.jersey/jersey-json
actualNodeWrapper == null ? null : actualNodeWrapper.xPathNode.getNonAttributeChildrenMap();
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
private boolean isTextValue(String localName, UnmarshalRecord contentHandler_) {
XPathNode currentNode = ((UnmarshalRecord) contentHandler_).getXPathNode();
if (currentNode == null) {
return textWrapper != null && textWrapper.equals(localName);
}
return ((currentNode.getNonAttributeChildrenMap() == null
|| currentNode.getNonAttributeChildrenMap().size() == 0
|| (currentNode.getNonAttributeChildrenMap().size() == 1
&& currentNode.getTextNode() != null)
) && textWrapper != null && textWrapper.equals(localName)
);
}
代码示例来源:origin: com.haulmont.thirdparty/eclipselink
private boolean isTextValue(String localName) {
XPathNode currentNode = ((UnmarshalRecord) contentHandler).getXPathNode();
if (currentNode == null) {
return textWrapper != null && textWrapper.equals(localName);
}
return ((currentNode.getNonAttributeChildrenMap() == null
|| currentNode.getNonAttributeChildrenMap().size() == 0
|| (currentNode.getNonAttributeChildrenMap().size() == 1
&& currentNode.getTextNode() != null)
) && textWrapper != null && textWrapper.equals(localName)
);
}
代码示例来源:origin: com.sun.jersey/jersey-bundle
@Override
public Collection<QName> getExpectedElements() {
final List<QName> elements = new LinkedList<QName>();
final XPathNodeWrapper currentNodeWrapper = getCurrentNodeWrapper();
final Map<XPathFragment, XPathNode> nonAttributeChildrenMap =
currentNodeWrapper == null ? null : currentNodeWrapper.xPathNode.getNonAttributeChildrenMap();
if (nonAttributeChildrenMap != null) {
for(Map.Entry<XPathFragment, XPathNode> entry : nonAttributeChildrenMap.entrySet()) {
elements.add(new QName(entry.getKey().getNamespaceURI(), entry.getKey().getLocalName()));
}
}
return elements;
}
代码示例来源:origin: jersey/jersey-1.x
@Override
public Collection<QName> getExpectedElements() {
final List<QName> elements = new LinkedList<QName>();
final XPathNodeWrapper currentNodeWrapper = getCurrentNodeWrapper();
final Map<XPathFragment, XPathNode> nonAttributeChildrenMap =
currentNodeWrapper == null ? null : currentNodeWrapper.xPathNode.getNonAttributeChildrenMap();
if (nonAttributeChildrenMap != null) {
for(Map.Entry<XPathFragment, XPathNode> entry : nonAttributeChildrenMap.entrySet()) {
elements.add(new QName(entry.getKey().getNamespaceURI(), entry.getKey().getLocalName()));
}
}
return elements;
}
代码示例来源:origin: com.sun.jersey/jersey-bundle
public Map<String, EntityType> getEntitiesTypesMap(boolean isAttribute) {
Map<String, EntityType> entitiesTypes = isAttribute ? attributeTypeMap : elementTypeMap;
if (entitiesTypes.isEmpty()) {
final Map<XPathFragment, XPathNode> nodeMap =
isAttribute ? xPathNode.getAttributeChildrenMap() : xPathNode.getNonAttributeChildrenMap();
if (nodeMap != null) {
for(Map.Entry<XPathFragment, XPathNode> entry : nodeMap.entrySet()) {
entitiesTypes.put(entry.getKey().getLocalName(), new EntityType(entry.getKey().getXMLField().getType()));
}
}
}
return entitiesTypes;
}
代码示例来源:origin: jersey/jersey-1.x
public Map<String, EntityType> getEntitiesTypesMap(boolean isAttribute) {
Map<String, EntityType> entitiesTypes = isAttribute ? attributeTypeMap : elementTypeMap;
if (entitiesTypes.isEmpty()) {
final Map<XPathFragment, XPathNode> nodeMap =
isAttribute ? xPathNode.getAttributeChildrenMap() : xPathNode.getNonAttributeChildrenMap();
if (nodeMap != null) {
for(Map.Entry<XPathFragment, XPathNode> entry : nodeMap.entrySet()) {
entitiesTypes.put(entry.getKey().getLocalName(), new EntityType(entry.getKey().getXMLField().getType()));
}
}
}
return entitiesTypes;
}
代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence
public Object getNonAttributeChild(int index, XPathNode xPathNode) {
Setting setting = settings.get(index);
if(null == setting.getName()) {
return xPathNode.getAnyNode();
} else {
if (setting.getName().equals(XMLConstants.TEXT)) {
return xPathNode.getTextNode();
} else {
indexFragment.setLocalName(null);
indexFragment.setXPath(setting.getName());
indexFragment.setNamespaceURI(setting.getNamespaceURI());
return xPathNode.getNonAttributeChildrenMap().get(indexFragment);
}
}
}
代码示例来源:origin: com.haulmont.thirdparty/eclipselink
public Object getNonAttributeChild(int index, XPathNode xPathNode) {
Setting setting = settings.get(index);
if(null == setting.getName()) {
return xPathNode.getAnyNode();
} else {
if (setting.getName().equals(Constants.TEXT)) {
return xPathNode.getTextNode();
} else {
indexFragment.setLocalName(null);
indexFragment.setXPath(setting.getName());
indexFragment.setNamespaceURI(setting.getNamespaceURI());
return xPathNode.getNonAttributeChildrenMap().get(indexFragment);
}
}
}
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
public Object getNonAttributeChild(int index, XPathNode xPathNode) {
Setting setting = settings.get(index);
if(null == setting.getName()) {
return xPathNode.getAnyNode();
} else {
if (setting.getName().equals(Constants.TEXT)) {
return xPathNode.getTextNode();
} else {
indexFragment.setLocalName(null);
indexFragment.setXPath(setting.getName());
indexFragment.setNamespaceURI(setting.getNamespaceURI());
return xPathNode.getNonAttributeChildrenMap().get(indexFragment);
}
}
}
代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence
Map nonAttributeChildrenMap = xPathNode.getNonAttributeChildrenMap();
if (null != nonAttributeChildrenMap) {
resultNode = (XPathNode)nonAttributeChildrenMap.get(xPathFragment);
代码示例来源:origin: com.sun.jersey/jersey-bundle
actualNodeWrapper == null ? null : actualNodeWrapper.xPathNode.getNonAttributeChildrenMap();
代码示例来源:origin: jersey/jersey-1.x
actualNodeWrapper == null ? null : actualNodeWrapper.xPathNode.getNonAttributeChildrenMap();
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
Map<XPathFragment, XPathNode> nonAttributeChildrenMap = xPathNode.getNonAttributeChildrenMap();
代码示例来源:origin: com.haulmont.thirdparty/eclipselink
Map<XPathFragment, XPathNode> nonAttributeChildrenMap = xPathNode.getNonAttributeChildrenMap();
代码示例来源:origin: com.haulmont.thirdparty/eclipselink
xPathNode = xPathNode.getTextNode();
} else {
Map nonAttributeChildrenMap = xPathNode.getNonAttributeChildrenMap();
if (null == nonAttributeChildrenMap) {
xPathNode = null;
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.sdo
xPathNode = xPathNode.getTextNode();
} else {
Map nonAttributeChildrenMap = xPathNode.getNonAttributeChildrenMap();
if (null == nonAttributeChildrenMap) {
xPathNode = null;
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
currentFragment.setNamespaceURI(uri);
currentFragment.setNamespaceAware(isNamespaceAware());
XPathNode groupingXPathNode = unmarshalRecordXPathNode.getNonAttributeChildrenMap().get(currentFragment);
if (groupingXPathNode != null) {
if (groupingXPathNode.getUnmarshalNodeValue() instanceof CollectionGroupingElementNodeValue) {
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.isChildrenLookupTableFilled()方法的一些代码示例,展示了X
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.hasPredicateSiblings()方法的一些代码示例,展示了XPathNod
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getNextNode()方法的一些代码示例,展示了XPathNode.getNext
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getChildrenLookupTable()方法的一些代码示例,展示了XPathN
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.setChildrenLookupTableFilled()方法的一些代码示例,展示了
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.hasTypeChild()方法的一些代码示例,展示了XPathNode.hasTyp
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.setMarshalNodeValue()方法的一些代码示例,展示了XPathNode
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getAnyAttributeNodeValue()方法的一些代码示例,展示了XPat
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.marshalSelfAttributes()方法的一些代码示例,展示了XPathNo
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.()方法的一些代码示例,展示了XPathNode.()的具体用法。这些代码示例主要来源
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getAttributeChildren()方法的一些代码示例,展示了XPathNod
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.setAnyNode()方法的一些代码示例,展示了XPathNode.setAnyNo
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getAttributeChildrenMap()方法的一些代码示例,展示了XPath
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getSelfChildren()方法的一些代码示例,展示了XPathNode.get
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getParent()方法的一些代码示例,展示了XPathNode.getParent
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.marshal()方法的一些代码示例,展示了XPathNode.marshal()的具
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.startElement()方法的一些代码示例,展示了XPathNode.startE
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getNonAttributeChildren()方法的一些代码示例,展示了XPath
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getNonAttributeChildrenMap()方法的一些代码示例,展示了XP
本文整理了Java中org.eclipse.persistence.internal.oxm.XPathNode.getAttributeChildrenLookupTable()方法的一些代码示例,
我是一名优秀的程序员,十分优秀!