gpt4 book ai didi

com.sun.msv.datatype.xsd.WhiteSpaceProcessor.getName()方法的使用及代码示例

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

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

WhiteSpaceProcessor.getName介绍

[英]gets the name of the white space processing mode. It is one of "preserve","collapse", or "replace".
[中]获取空白处理模式的名称。它是“保存”、“崩溃”或“替换”的一种。

代码示例

代码示例来源:origin: com.sun.xml.bind/jaxb-extra-osgi

protected Object readResolve() throws InvalidObjectException {
  // return the singleton instead of deserialized object.
  try {
    // backward compatibility with JDK1.3. we can't rely on the
    // order of inner classes
    if( this.getClass()==backwardCompatibiliyHook1.getClass() )
      return thePreserve;
    if( this.getClass()==backwardCompatibiliyHook2.getClass() )
      return theCollapse;
    if( this.getClass()==backwardCompatibiliyHook3.getClass() )
      return theReplace;
    
    return get(getName());
  } catch (DatatypeException bte) {
    throw new InvalidObjectException("Unknown Processing Mode");
  }
}

代码示例来源:origin: com.sun.xml.bind/jaxb1-impl

protected Object readResolve() throws InvalidObjectException {
  // return the singleton instead of deserialized object.
  try {
    // backward compatibility with JDK1.3. we can't rely on the
    // order of inner classes
    if( this.getClass()==backwardCompatibiliyHook1.getClass() )
      return thePreserve;
    if( this.getClass()==backwardCompatibiliyHook2.getClass() )
      return theCollapse;
    if( this.getClass()==backwardCompatibiliyHook3.getClass() )
      return theReplace;
    
    return get(getName());
  } catch (DatatypeException bte) {
    throw new InvalidObjectException("Unknown Processing Mode");
  }
}

代码示例来源:origin: com.sun.msv.datatype.xsd/xsdlib

protected Object readResolve() throws InvalidObjectException {
  // return the singleton instead of deserialized object.
  try {
    // backward compatibility with JDK1.3. we can't rely on the
    // order of inner classes
    if( this.getClass()==backwardCompatibiliyHook1.getClass() )
      return thePreserve;
    if( this.getClass()==backwardCompatibiliyHook2.getClass() )
      return theCollapse;
    if( this.getClass()==backwardCompatibiliyHook3.getClass() )
      return theReplace;
    
    return get(getName());
  } catch (DatatypeException bte) {
    throw new InvalidObjectException("Unknown Processing Mode");
  }
}

代码示例来源:origin: com.sun.msv/com.springsource.com.sun.msv.datatype

protected Object readResolve() throws InvalidObjectException {
  // return the singleton instead of deserialized object.
  try {
    // backward compatibility with JDK1.3. we can't rely on the
    // order of inner classes
    if( this.getClass()==backwardCompatibiliyHook1.getClass() )
      return thePreserve;
    if( this.getClass()==backwardCompatibiliyHook2.getClass() )
      return theCollapse;
    if( this.getClass()==backwardCompatibiliyHook3.getClass() )
      return theReplace;
    
    return get(getName());
  } catch (DatatypeException bte) {
    throw new InvalidObjectException("Unknown Processing Mode");
  }
}

代码示例来源:origin: kohsuke/msv

protected Object readResolve() throws InvalidObjectException {
  // return the singleton instead of deserialized object.
  try {
    // backward compatibility with JDK1.3. we can't rely on the
    // order of inner classes
    if( this.getClass()==backwardCompatibiliyHook1.getClass() )
      return thePreserve;
    if( this.getClass()==backwardCompatibiliyHook2.getClass() )
      return theCollapse;
    if( this.getClass()==backwardCompatibiliyHook3.getClass() )
      return theReplace;
    
    return get(getName());
  } catch (DatatypeException bte) {
    throw new InvalidObjectException("Unknown Processing Mode");
  }
}

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