- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.sun.msv.datatype.xsd.WhiteSpaceProcessor.get()
方法的一些代码示例,展示了WhiteSpaceProcessor.get()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WhiteSpaceProcessor.get()
方法的具体详情如下:
包路径:com.sun.msv.datatype.xsd.WhiteSpaceProcessor
类名称:WhiteSpaceProcessor
方法名:get
[英]returns a WhiteSpaceProcessor object if "whiteSpace" facet is specified. Otherwise returns null.
[中]如果指定了“whiteSpace”方面,则返回WhiteSpaceProcessor对象。否则返回null。
代码示例来源: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.msv.datatype.xsd/xsdlib
WhiteSpaceFacet( String nsUri, String typeName, XSDatatypeImpl baseType, TypeIncubator facets )
throws DatatypeException {
this(nsUri,typeName, baseType,
WhiteSpaceProcessor.get( (String)facets.getFacet(FACET_WHITESPACE)),
facets.isFixed(FACET_WHITESPACE) );
}
代码示例来源: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.xml.bind/jaxb-extra-osgi
WhiteSpaceFacet( String nsUri, String typeName, XSDatatypeImpl baseType, TypeIncubator facets )
throws DatatypeException {
this(nsUri,typeName, baseType,
WhiteSpaceProcessor.get( (String)facets.getFacet(FACET_WHITESPACE)),
facets.isFixed(FACET_WHITESPACE) );
}
代码示例来源: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: com.sun.msv/com.springsource.com.sun.msv.datatype
WhiteSpaceFacet( String nsUri, String typeName, XSDatatypeImpl baseType, TypeIncubator facets )
throws DatatypeException {
this(nsUri,typeName, baseType,
WhiteSpaceProcessor.get( (String)facets.getFacet(FACET_WHITESPACE)),
facets.isFixed(FACET_WHITESPACE) );
}
代码示例来源: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");
}
}
代码示例来源:origin: kohsuke/msv
WhiteSpaceFacet( String nsUri, String typeName, XSDatatypeImpl baseType, TypeIncubator facets )
throws DatatypeException {
this(nsUri,typeName, baseType,
WhiteSpaceProcessor.get( (String)facets.getFacet(FACET_WHITESPACE)),
facets.isFixed(FACET_WHITESPACE) );
}
代码示例来源: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.xml.bind/jaxb1-impl
WhiteSpaceFacet( String nsUri, String typeName, XSDatatypeImpl baseType, TypeIncubator facets )
throws DatatypeException {
this(nsUri,typeName, baseType,
WhiteSpaceProcessor.get( (String)facets.getFacet(FACET_WHITESPACE)),
facets.isFixed(FACET_WHITESPACE) );
}
代码示例来源:origin: kohsuke/msv
/** test get method */
public void testGet() throws DatatypeException
{
assertSame( "whitespace in parameter must be allowed",
WhiteSpaceProcessor.get("preserve"),
WhiteSpaceProcessor.get("preserve \t \n \r ")
);
assertSame(
WhiteSpaceProcessor.get("collapse"),
WhiteSpaceProcessor.get(" \r\n collapse \t ")
);
assertSame(
WhiteSpaceProcessor.get("replace"),
WhiteSpaceProcessor.get(" \r\n\r\nreplace") );
try
{
WhiteSpaceProcessor.get("unknown");
fail("should throw exception");
}catch(DatatypeException e){;}
}
代码示例来源:origin: kohsuke/msv
/** test behavior of preserve */
public void testPreserve() throws DatatypeException
{
WhiteSpaceProcessor target = WhiteSpaceProcessor.get("preserve");
String[] tests = new String[] {
"test",
" a b c ",
"\r\n \ta bb \t\t c \r\r\n\r " };
for( int i=0; i<tests.length; i++ )
assertEquals( tests[i], target.process(tests[i]) );
}
代码示例来源:origin: kohsuke/msv
/** tests behavior of replace */
public void testReplace() throws DatatypeException
{
WhiteSpaceProcessor target = WhiteSpaceProcessor.get("replace");
assertEquals( target.process(
"test"),
"test");
assertEquals( target.process(
" a b c "),
" a b c ");
assertEquals( target.process(
"\r\n \ta bb \t\t c \r\r\n\r "),
" a bb c ");
}
代码示例来源:origin: kohsuke/msv
/** tests behavior of collapse */
public void testCollapse() throws DatatypeException
{
WhiteSpaceProcessor target = WhiteSpaceProcessor.get("collapse");
assertEquals( target.process(
"test"),
"test");
assertEquals( target.process(
" a b c "),
"a b c");
assertEquals( target.process(
"\r\n \ta bb \t\t c \r\r\n\r "),
"a bb c");
assertEquals( target.process(
"abc "),
"abc");
assertEquals( target.process(
"abc "),
"abc");
}
本文整理了Java中com.sun.msv.datatype.xsd.WhiteSpaceProcessor类的一些代码示例,展示了WhiteSpaceProcessor类的具体用法。这些代码示例主要
本文整理了Java中com.sun.msv.reader.trex.ZeroOrMoreState类的一些代码示例,展示了ZeroOrMoreState类的具体用法。这些代码示例主要来源于Github
本文整理了Java中com.sun.msv.verifier.regexp.xmlschema.XSREDocDecl类的一些代码示例,展示了XSREDocDecl类的具体用法。这些代码示例主要来源于
本文整理了Java中com.sun.msv.datatype.xsd.WhiteSpaceProcessor.tightness()方法的一些代码示例,展示了WhiteSpaceProcessor.t
本文整理了Java中com.sun.msv.datatype.xsd.WhiteSpaceProcessor.get()方法的一些代码示例,展示了WhiteSpaceProcessor.get()的具
本文整理了Java中com.sun.msv.datatype.xsd.WhiteSpaceProcessor.getName()方法的一些代码示例,展示了WhiteSpaceProcessor.get
本文整理了Java中com.sun.msv.datatype.xsd.WhiteSpaceProcessor.collapse()方法的一些代码示例,展示了WhiteSpaceProcessor.co
本文整理了Java中com.sun.msv.datatype.xsd.WhiteSpaceProcessor.isWhiteSpace()方法的一些代码示例,展示了WhiteSpaceProcesso
本文整理了Java中com.sun.msv.datatype.xsd.WhiteSpaceProcessor.process()方法的一些代码示例,展示了WhiteSpaceProcessor.pro
本文整理了Java中com.sun.msv.reader.trex.ZeroOrMoreState.()方法的一些代码示例,展示了ZeroOrMoreState.()的具体用法。这些代码示例主要来源于
本文整理了Java中com.sun.msv.verifier.regexp.xmlschema.XSREDocDecl.localizeMessage()方法的一些代码示例,展示了XSREDocDec
本文整理了Java中com.sun.msv.verifier.regexp.xmlschema.XSREDocDecl.getCCCEC()方法的一些代码示例,展示了XSREDocDecl.getCC
本文整理了Java中com.sun.msv.verifier.regexp.xmlschema.XSREDocDecl.()方法的一些代码示例,展示了XSREDocDecl.()的具体用法。这些代码示
我有一个使用 Apache POI 的应用程序。构建成功,但是当我运行代码时出现错误(我使用 Android Studio 2.1): Execution failed for task ':app:
我是一名优秀的程序员,十分优秀!