Document가 뭐지?

import org.w3c.dom.Document

Interface Document

 

The Document interface represents the entire HTML or XML document. Conceptually, it is the root of the document tree, and provides the primary access to the document's data.
Since elements, text nodes, comments, processing instructions, etc. cannot exist outside the context of a Document, the Document interface also contains the factory methods needed to create these objects. The Node objects created have a ownerDocument attribute which associates them with the Document within whose context they were created.

 

Document 인터페이스는 전체 HTML 또는 XML 문서를 나타냅니다. 개념적으로 이는 문서 트리의 루트이며 문서 데이터에 대한 기본 액세스를 제공합니다. 요소, 텍스트 노드, 주석, 처리 명령 등은 문서의 컨텍스트 외부에 존재할 수 없기 때문에 Document 인터페이스에는 이러한 객체를 만드는 데 필요한 팩토리 메소드가 포함되어 있습니다. 생성 된 Node 객체에는 ownerDocument 속성이 있습니다.이 속성은 작성된 컨텍스트 내에서 Document와 연관시킵니다.

 

 

'생각나는대로 메모장 ' 카테고리의 다른 글

프로시저와 함수의 차이점?  (0) 2019.09.27
TRANSACTION?  (0) 2019.07.12
Jason  (0) 2019.07.11
텔넷?  (0) 2019.07.10
게시판 만들기 (spring MVC) 오후7시반~ 오후10시까지  (0) 2019.06.19

+ Recent posts