|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjavax.xml.bind.annotation.adapters.XmlAdapter <String ,String >
javax.xml.bind.annotation.adapters.CollapsedStringAdapter
public class CollapsedStringAdapter
xs:token 와 그 파생형을 처리하는 편입 XmlAdapter
이 어댑터는, 선두와 말미의 공백을 삭제한 후, 탭, CR, LF, SP 의 순서를 1 개의 공백 문자 「 」에 절약합니다.
| 생성자 의 개요 | |
|---|---|
CollapsedStringAdapter ()
|
|
| 메소드의 개요 | |
|---|---|
protected static boolean |
isWhiteSpace (char ch)
지정된 문자가 공백 문자인 경우, true 를 돌려줍니다. |
String |
marshal (String s)
아무것도 하지 않습니다. |
String |
unmarshal (String text)
파라미터로서 주어진 캐릭터 라인의 선두와 말미의 공백을 삭제한 후, 탭, CR, LF, SP 의 순서를 1 개의 공백 문자 「 」에 절약합니다. |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
| 생성자 의 상세 |
|---|
public CollapsedStringAdapter()
| 메소드의 상세 |
|---|
public String unmarshal(String text)
XmlAdapter <String ,String > 내의 unmarshal text - 변환하는 값. null 도 가능public String marshal(String s)
XmlAdapter <String ,String > 내의 marshal s - 변환하는 값. null 도 가능protected static boolean isWhiteSpace(char ch)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.