gpt4 book ai didi

com.thoughtworks.xstream.io.xml.XppDomReader类的使用及代码示例

转载 作者:知者 更新时间:2024-03-27 10:01:05 30 4
gpt4 key购买 nike

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

XppDomReader介绍

暂无

代码示例

代码示例来源:origin: com.thoughtworks.xstream/xstream

/**
 * {@inheritDoc}
 */
public HierarchicalStreamReader createReader(Reader in) {
  try {
    XmlPullParser parser = createParser();
    parser.setInput(in);
    return new XppDomReader(XppDom.build(parser), getNameCoder());
  } catch (XmlPullParserException e) {
    throw new StreamException(e);
  } catch (IOException e) {
    throw new StreamException(e);
  }
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

public String getAttributeName(int index) {
  return decodeAttribute(currentElement.getAttributeNames()[index]);
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

public String getNodeName() {
  return decodeNode(currentElement.getName());
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

public String getAttribute(String attributeName) {
  return currentElement.getAttribute(encodeAttribute(attributeName));
}

代码示例来源:origin: org.jvnet.hudson/xstream

public String getNodeName() {
  return unescapeXmlName(currentElement.getName());
}

代码示例来源:origin: x-stream/xstream

@Override
public String getAttribute(final String attributeName) {
  return currentElement.getAttribute(encodeAttribute(attributeName));
}

代码示例来源:origin: ovea-deprecated/jetty-session-redis

public String getAttributeName(int index) {
  return unescapeXmlName(currentElement.getAttributeNames()[index]);
}

代码示例来源:origin: org.jvnet.hudson/xstream

public HierarchicalStreamReader createReader(Reader xml) {
  try {
    return new XppDomReader(Xpp3DomBuilder.build(xml), xmlFriendlyReplacer());
  } catch (Exception e) {
    throw new StreamException(e);
  }
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

public String peekNextChild() {
  if (currentElement.getChildCount() == 0) {
    return null;
  }
  return decodeNode(currentElement.getChild(0).getName());
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream-java8

public String getAttribute(String attributeName) {
  return currentElement.getAttribute(encodeAttribute(attributeName));
}

代码示例来源:origin: x-stream/xstream

@Override
public String getAttributeName(final int index) {
  return decodeAttribute(currentElement.getAttributeNames()[index]);
}

代码示例来源:origin: ovea-deprecated/jetty-session-redis

public String getNodeName() {
  return unescapeXmlName(currentElement.getName());
}

代码示例来源:origin: ovea-deprecated/jetty-session-redis

public HierarchicalStreamReader createReader(Reader xml) {
  try {
    return new XppDomReader(Xpp3DomBuilder.build(xml), xmlFriendlyReplacer());
  } catch (Exception e) {
    throw new StreamException(e);
  }
}

代码示例来源:origin: x-stream/xstream

@Override
public String getNodeName() {
  return decodeNode(currentElement.getName());
}

代码示例来源:origin: apache/servicemix-bundles

public String getAttribute(String attributeName) {
  return currentElement.getAttribute(encodeAttribute(attributeName));
}

代码示例来源:origin: org.sonatype.nexus.xstream/xstream

public String getAttributeName(int index) {
  return decodeAttribute(currentElement.getAttributeNames()[index]);
}

代码示例来源:origin: org.jvnet.hudson/xstream

public String getAttributeName(int index) {
  return unescapeXmlName(currentElement.getAttributeNames()[index]);
}

代码示例来源:origin: x-stream/xstream

@Override
public HierarchicalStreamReader createReader(final Reader in) {
  try {
    final XmlPullParser parser = createParser();
    parser.setInput(in);
    return new XppDomReader(XppDom.build(parser), getNameCoder());
  } catch (final XmlPullParserException e) {
    throw new StreamException(e);
  } catch (final IOException e) {
    throw new StreamException(e);
  }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream

public String getNodeName() {
  return decodeNode(currentElement.getName());
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream

public String getAttribute(String attributeName) {
  return currentElement.getAttribute(encodeAttribute(attributeName));
}

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