• 검색 결과가 없습니다.

20061034 이용재

N/A
N/A
Protected

Academic year: 2022

Share "20061034 이용재 "

Copied!
65
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

D

1

20060589 박진우

20061034 이용재

20060356 김창현

20061175 장병훈

(2)

2

(3)

3

(4)

4

(5)

5

(6)

6

(7)

7

(8)

8

(9)

DOM SAX

접근방법

트리 기반 이벤트 기반

장점

문서에 임의 접근 메모리 효율, 빠른 속도

단점

메모리 사용량, 느린 속도 구조 접근 곤란, 읽기 전용

적용분야

구조적 접근,

문서 일부 여러 번 참조, 특정 부분 이동 시,

문서 수정 시, 문서 정보 쉽게 파악

문서 일 부분만 접근, 문서 순차적 일괄 처리, 메모리/속도 고려 필요시,

문서 구조가 간단

9

(10)

10

(11)

The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents.

The document can be further processed and the results of that processing can be incorporated back into the presented page.

This is an overview of DOM-related materials here at W3C and around the web.

11

(12)

문서 객체 모델은 프로그램과 스크립트를 동적으로 액세스하고 문서의 내용, 구조와 스타일을 업데이트할 수 있는 플랫폼 및 언어 중립적인 인터페이스입니다. 문서는 더 이상 처리할 수 있으며 그 처 리 결과 제출 페이지에 다시 포함될 수 있습니다. 이것은 W3C와 웹 상의 DOM 관련 자료를 요약한 것입니다.

12

(13)

"DOM은 웹문서에 사용되는 요소를 객체화하여 문서를 구성하는 모델이다."

13

(14)

14

(15)

15

(16)

16

(17)

17

(18)

18

(19)

Why?

19

(20)

XML문서 구성

20

(21)

Tree형태의 계층적 구조

21

(22)

22

(23)

23

(24)

24

(25)

25

(26)

속성

26

(27)

27

(28)

book

bookElem

28

(29)

DOM파싱 방법

29

(30)

30

(31)

31

(32)

32

(33)

33

(34)

SAX파싱 방법

34

(35)

35

(36)

L

1. Local XML

36

(37)

L

1. Local XML

PATH - Android Project/res/values/strings.xml

37

(38)

L

1. Local XML

38

(39)

L

1. Local XML

39

(40)

L

1. Local XML

40

(41)

L

1. Local XML

41

(42)

L

1. Local XML

42

(43)

L

1. Local XML

43

(44)

L

1. Local XML

44

(45)

L

1. Local XML

45

(46)

L

1. Local XML

46

(47)

L

1. Local XML

47

(48)

L

1. Local XML

48

(49)

L

1. Local XML

49

(50)

L

1. Local XML

50

(51)

L

2. Remote XML – 기상청 동네예보

http://www.kma.go.kr/images/weather/lifenindustry/timeseries_XML.pdf 51

(52)

L

2. Remote XML

http://www.kma.go.kr/wid/queryDFS.jsp?gridx=86&gridy=96 경북 구미시 양포동 (86, 96)

52

(53)

L

2. Remote XML

53

(54)

L

2. Remote XML

54

(55)

L

2. Remote XML

55

(56)

L

2. Remote XML

중요! AndroidManifest.xml 에 네트워크 사용 권한을 설정

56

(57)

L

2. Remote XML

57

(58)

L

2. Remote XML

58

(59)

L

2. Remote XML

59

(60)

L

2. Remote XML

60

(61)

L

3. How to create XML file ?

javax.xml.transform

- DOM 을 통해 XML file을 생성하기 위해서 반드시 필요

Android API 로 제공하지만 실제 Android 에서는 XML file 생성 불가 61

(62)

L

3. How to create XML file ?

DOM 사용이 불가하기 때문에, 다른 XML 파서를 사용해야 한다.

=> org.xmlpull.v1.XmlSerializer 사용

http://developer.android.com/reference/org/xmlpull/v1/XmlSerializer.html 62

(63)

Q &A

63

(64)

T hank you

64

(65)

L

R eference

65

http://developer.android.com/reference/org/w3c/dom/packa

ge-summary.html

참조

관련 문서

The sun rises on a bold, dynamic design, with curves and lines an expression of captivating style and sharp sophistication..

If the volume of the system is increased at constant temperature, there should be no change in internal energy: since temperature remains constant, the kinetic

Continued to the entropy cycle and energy balance with entropy changes. Reversible cycle consisting of two isothermal branches, AB and CD, and two isentropic branches,

 Students needing additional information about grading policies and procedures should meet with their faculty advisor, Executive Director/Chairperson or a

For this study—our third on global workforce trends, follow- ing studies in 2014 and 2018—Boston Consulting Group and The Network surveyed some 209,000 people in 190 countries

Basic aspects of AUTOSAR architecture and methodology Safety mechanisms supported by AUTOSAR.. Technical safety concepts supported by AUTOSAR Relationship to ISO

GDP impact of COVID-19 spread, public health response, and economic policies. Virus spread and public

Micro- and nano-sized pores were formed on the surface of the alloy using PEO and anodization methods, and the pore shape change according to the Zr