|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjavax.xml.bind.helpers.ValidationEventLocatorImpl
public class ValidationEventLocatorImpl
ValidationEventLocator 인터페이스의 디폴트 구현입니다.
JAXB 프로바이더는, ValidationEventLocator 인터페이스를 구현하는 임의의 클래스를 사용하는 것을 허가되고 있습니다. 이 클래스는 단지 편리성을 위해서(때문에) 제공되고 있습니다.
Validator ,
ValidationEventHandler ,
ValidationEvent ,
ValidationEventLocator | 생성자 의 개요 | |
|---|---|
ValidationEventLocatorImpl ()
모든 필드가 사용 불가의 객체를 작성합니다. |
|
ValidationEventLocatorImpl (Locator loc)
org.xml.sax.Locator 로부터 객체를 작성합니다. |
|
ValidationEventLocatorImpl (Node _node)
DOM Node 를 포인트 하는 객체를 구축합니다. |
|
ValidationEventLocatorImpl (Object _object)
JAXB 컨텐츠 객체를 포인트 하는 객체를 구축합니다. |
|
ValidationEventLocatorImpl (SAXParseException e)
SAXParseException 의 위치 정보를 기초로 객체를 구축합니다. |
|
| 메소드의 개요 | |
|---|---|
int |
getColumnNumber ()
사용 가능한 경우, 열번호를 돌려줍니다 |
int |
getLineNumber ()
사용 가능한 경우, 행 번호를 돌려줍니다 |
Node |
getNode ()
사용 가능한 경우, DOM Node 에의 참조를 돌려줍니다 |
Object |
getObject ()
사용 가능한 경우, Java 컨텐츠 트리내의 객체에의 참조를 돌려줍니다 |
int |
getOffset ()
사용 가능한 경우, 바이트 오프셋(offset)를 돌려줍니다 |
URL |
getURL ()
XML 소스의 이름을 사용 가능한 경우에는 URL 로서 돌려줍니다 |
void |
setColumnNumber (int _columnNumber)
이 이벤트 locator의 [columnNumber] 필드를 설정합니다. |
void |
setLineNumber (int _lineNumber)
이 이벤트 locator의 [lineNumber] 필드를 설정합니다. |
void |
setNode (Node _node)
이 이벤트 locator의 [Node] 필드를 설정합니다. |
void |
setObject (Object _object)
이 이벤트 locator의 [Object] 필드를 설정합니다. |
void |
setOffset (int _offset)
이벤트 locator의 [offset] 필드를 설정합니다. |
void |
setURL (URL _url)
이 이벤트 locator의 [URL] 필드를 설정합니다. |
String |
toString ()
디버그에 도움이 되는 형식에서, 이 객체의 캐릭터 라인 표현을 돌려줍니다. |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| 생성자 의 상세 |
|---|
public ValidationEventLocatorImpl()
public ValidationEventLocatorImpl(Locator loc)
loc - 이 이벤트 locator를 생성하기 위해서 사용하는 SAX Locator 객체
IllegalArgumentException - Locator 가 null 의 경우public ValidationEventLocatorImpl(SAXParseException e)
e - 이 이벤트 locator를 생성하기 위해서 사용하는 SAXParseException 객체
IllegalArgumentException - SAXParseException 가 null 의 경우public ValidationEventLocatorImpl(Node _node)
_node - 이 이벤트 locator를 생성하기 위해서 사용하는 DOM Node 객체
IllegalArgumentException - Node 가 null 의 경우public ValidationEventLocatorImpl(Object _object)
_object - 이 이벤트 locator를 생성하기 위해서 사용하는 Object
IllegalArgumentException - Object 가 null 의 경우| 메소드의 상세 |
|---|
public URL getURL()
ValidationEventLocator 의 기술:
ValidationEventLocator 내의 getURL ValidationEventLocator.getURL() public void setURL(URL _url)
_url - URLpublic int getOffset()
ValidationEventLocator 의 기술:
ValidationEventLocator 내의 getOffset ValidationEventLocator.getOffset() public void setOffset(int _offset)
_offset - 오프셋(offset)public int getLineNumber()
ValidationEventLocator 의 기술:
ValidationEventLocator 내의 getLineNumber ValidationEventLocator.getLineNumber() public void setLineNumber(int _lineNumber)
_lineNumber - 행 번호public int getColumnNumber()
ValidationEventLocator 의 기술:
ValidationEventLocator 내의 getColumnNumber ValidationEventLocator.getColumnNumber() public void setColumnNumber(int _columnNumber)
_columnNumber - 열번호public Object getObject()
ValidationEventLocator 의 기술:
ValidationEventLocator 내의 getObject ValidationEventLocator.getObject() public void setObject(Object _object)
_object - Java 컨텐츠 객체public Node getNode()
ValidationEventLocator 의 기술:
ValidationEventLocator 내의 getNode ValidationEventLocator.getNode() public void setNode(Node _node)
_node - Nodepublic String toString()
Object 내의 toString Object.equals(Object)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.