gpt4 book ai didi

org.sweble.wikitext.parser.nodes.WtXmlCharRef类的使用及代码示例

转载 作者:知者 更新时间:2024-03-24 15:21:05 25 4
gpt4 key购买 nike

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

WtXmlCharRef介绍

暂无

代码示例

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

protected void visit(WtXmlCharRef node)
{
  b.append(Character.toChars(node.getCodePoint()));
}

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

@Override
public WtXmlCharRef charRef(int codePoint)
{
  return new WtXmlCharRef(codePoint);
}

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

@Override
protected int getPropertyCount()
{
  return WtXmlCharRef.this.getPropertyCount();
}

代码示例来源:origin: sweble/sweble-wikitext

@Override
  protected Object setValue(int index, Object value)
  {
    switch (index - getSuperPropertyCount())
    {
      case 0:
      {
        int old = WtXmlCharRef.this.getCodePoint();
        WtXmlCharRef.this.setCodePoint((Integer) value);
        return old;
      }
      default:
        return super.setValue(index, value);
    }
  }
};

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

@Override
protected Object getValue(int index)
{
  switch (index - getSuperPropertyCount())
  {
    case 0:
      return WtXmlCharRef.this.getCodePoint();
    default:
      return super.getValue(index);
  }
}

代码示例来源:origin: sweble/sweble-wikitext

@Override
public final int getPropertyCount()
{
  return 1 + getSuperPropertyCount();
}

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

protected WtXmlCharRef(int codePoint)
{
  setCodePoint(codePoint);
}

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

@Override
  protected Object setValue(int index, Object value)
  {
    switch (index - getSuperPropertyCount())
    {
      case 0:
      {
        int old = WtXmlCharRef.this.getCodePoint();
        WtXmlCharRef.this.setCodePoint((Integer) value);
        return old;
      }
      default:
        return super.setValue(index, value);
    }
  }
};

代码示例来源:origin: sweble/sweble-wikitext

@Override
protected Object getValue(int index)
{
  switch (index - getSuperPropertyCount())
  {
    case 0:
      return WtXmlCharRef.this.getCodePoint();
    default:
      return super.getValue(index);
  }
}

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

@Override
public final int getPropertyCount()
{
  return 1 + getSuperPropertyCount();
}

代码示例来源:origin: sweble/sweble-wikitext

protected WtXmlCharRef(int codePoint)
{
  setCodePoint(codePoint);
}

代码示例来源:origin: sweble/sweble-wikitext

protected void visit(WtXmlCharRef node)
{
  b.append(Character.toChars(node.getCodePoint()));
}

代码示例来源:origin: sweble/sweble-wikitext

@Override
protected String getName(int index)
{
  switch (index - getSuperPropertyCount())
  {
    case 0:
      return "codePoint";
    default:
      return super.getName(index);
  }
}

代码示例来源:origin: sweble/sweble-wikitext

@Override
public WtXmlCharRef charRef(int codePoint)
{
  return new WtXmlCharRef(codePoint);
}

代码示例来源:origin: sweble/sweble-wikitext

@Override
protected int getPropertyCount()
{
  return WtXmlCharRef.this.getPropertyCount();
}

代码示例来源:origin: marcusklang/wikiforia

public void visit(WtXmlCharRef cr)
{
  if(!isInsideFilteredSection()) {
    sb.append(Character.toChars(cr.getCodePoint()));
  }
}

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

@Override
protected String getName(int index)
{
  switch (index - getSuperPropertyCount())
  {
    case 0:
      return "codePoint";
    default:
      return super.getName(index);
  }
}

代码示例来源:origin: sweble/sweble-wikitext

this.prototypes.put(WtTicks.class, new WtTicks());
this.prototypes.put(WtUrl.class, new WtUrl());
this.prototypes.put(WtXmlCharRef.class, new WtXmlCharRef());
this.prototypes.put(WtXmlEndTag.class, new WtXmlEndTag());
this.prototypes.put(WtXmlEntityRef.class, new WtXmlEntityRef());

代码示例来源:origin: org.sweble.wikitext/swc-engine

public void visit(WtXmlCharRef n)
{
  pf("&#%d;", n.getCodePoint());
}

代码示例来源:origin: org.sweble.wikitext/swc-parser-lazy

this.prototypes.put(WtTicks.class, new WtTicks());
this.prototypes.put(WtUrl.class, new WtUrl());
this.prototypes.put(WtXmlCharRef.class, new WtXmlCharRef());
this.prototypes.put(WtXmlEndTag.class, new WtXmlEndTag());
this.prototypes.put(WtXmlEntityRef.class, new WtXmlEntityRef());

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