Commit 6c8a634a authored by kirk's avatar kirk

update NFC class diagram

parent 2a0af685
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="12.0">
<zoom_level>10</zoom_level>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>110</x>
<y>80</y>
<w>540</w>
<h>30</h>
</coordinates>
<panel_attributes>android.support.v4.app::FragmentActivity</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>350</x>
<y>670</y>
<x>490</x>
<y>1070</y>
<w>50</w>
<h>120</h>
<h>130</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;100</additional_attributes>
<additional_attributes>30;30;30;110</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<type>com.umlet.element.Class</type>
<coordinates>
<x>620</x>
<y>260</y>
<w>380</w>
<h>70</h>
<x>280</x>
<y>1180</y>
<w>500</w>
<h>180</h>
</coordinates>
<panel_attributes>lt=&lt;.
&lt;&lt;invoke in respective threads&gt;&gt;</panel_attributes>
<additional_attributes>30;50;360;50</additional_attributes>
<panel_attributes>us.rader.wyfy::WriteTagActivity
--
-uri: Uri
--
+WriteTagActivity(): ctor
+onCreateOptionsMenu(Menu menu): boolean
+onOptionsItemSelected(MenuItem item): boolean
#createNdefMessage(NdefMessage currentMessage): NdefMessage
#onCreate(Bundle savedInstanceState): void
-setupActionBar(): void
--
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>340</x>
<y>80</y>
<x>500</x>
<y>650</y>
<w>50</w>
<h>110</h>
<h>140</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;90</additional_attributes>
<additional_attributes>30;30;30;120</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>110</x>
<y>770</y>
<w>540</w>
<h>330</h>
<x>280</x>
<y>0</y>
<w>500</w>
<h>30</h>
</coordinates>
<panel_attributes>/us.rader.wyfy.nfc::NdefWriterActivity/
--
-writeProtectRequested: boolean
--
_+createAar(Package pkg): NdefRecord_
_+createAar(String pkg): NdefRecord_
_+createMime(String type, byte[] payload): NdefRecord_
_+createMime(String type, String payload, String encoding): NdefRecord_
_+createText(String text): NdefRecord_
_+createText(String language, String text): NdefRecord_
_+createUri(String uri): NdefRecord_
_+createUri(Uri uri): NdefRecord_
+isWriteProtectRequested(): boolean
+setWriteProtectRequested(boolean writeProtectRequested): void
/#createNdefMessage(NdefMessage currentMessage): NdefMessage/
#processTag(Tag tag, ProcessTagTask task): NdefMessage
-writeFormatable(NdefFormatable formatable, ProcessTagTask task): NdefMessage
-writeNdef(Ndef ndef, ProcessTagTask task): NdefMessage
#NdefWriterActivity(int requestCode): ctor
--
</panel_attributes>
<panel_attributes>android.support.v4.app::FragmentActivity</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>110</x>
<y>170</y>
<w>540</w>
<x>280</x>
<y>90</y>
<w>500</w>
<h>280</h>
</coordinates>
<panel_attributes>/us.rader.wyfy.nfc::ForegroundDispatchActivity/
--
_+EXTRA_RESULT : String_
_+RESULT_ERROR_PROCESSING_TAG : int_
-adapter: NfcAdapter
-filters: IntentFilter[]
-pendingIntent: PendingIntent
-requestCode: int
--
#onCreate(Bundle savedInstanceState)
#onNewIntent(Intent intent)
#onPause()
#onResume()
#onTagProcessed(ResultType result, boolean cancelled)
/#createIntentFilters() : IntentFilter[]/
/#processTag(Tag tag, ProcessTagTask task): Parcelable/
#ForegroundDispatchActivity(int requestCode)
#ForegroundDispatchActivity(int requestCode): ctor
/#createIntentFilters(): IntentFilter[]/
#onCreate(Bundle savedInstanceState): void
#onNewIntent(Intent intent): void
#onPause(): void
#onResume(): void
/#onTagProcessed(ContentType result): void/
/#processTag(Intent intent): ContentType/
#toast(final String message): void
--
</panel_attributes>
<additional_attributes/>
......@@ -110,33 +87,41 @@ _+RESULT_ERROR_PROCESSING_TAG : int_
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>350</x>
<y>420</y>
<x>500</x>
<y>340</y>
<w>50</w>
<h>120</h>
<h>130</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;100</additional_attributes>
<additional_attributes>30;30;30;110</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>110</x>
<y>520</y>
<w>540</w>
<h>180</h>
<x>280</x>
<y>770</y>
<w>500</w>
<h>330</h>
</coordinates>
<panel_attributes>/us.rader.wyfy.nfc::NdefReaderActivity/
<panel_attributes>/us.rader.wyfy.nfc::NdefWriterActivity/
--
-writeProtectRequested: boolean
--
_+decodePayload(NdefRecord record): String_
_-decodeMime(String type, byte[] payload): String_
_-decodeText(byte[] payload): String_
_-decodeUri(byte[] payload): String_
_-decodeWellKnown(String type, byte[] payload): String_
#createIntentFilters() : IntentFilter[]
#processTag(Tag tag, ProcessTagTask task): NdefMessage
#NdefReaderActivity(int requestCode): ctor
#NdefWriterActivity(int requestCode): ctor
_+createAar(Package pkg): NdefRecord_
_+createAar(String pkg): NdefRecord_
_+createMime(String type, byte[] payload): NdefRecord_
_+createMime(String type, String payload, String encoding): NdefRecord_
_+createText(String text): NdefRecord_
_+createText(String language, String text): NdefRecord_
_+createUri(String uri): NdefRecord_
_+createUri(Uri uri): NdefRecord_
+isWriteProtectRequested(): boolean
+setWriteProtectRequested(boolean writeProtectRequested): void
/#createNdefMessage(NdefMessage currentMessage): NdefMessage/
#processTag(Intent intent): NdefMessage
-writeFormatable(NdefFormatable formatable): NdefMessage
-writeNdef(Ndef ndef): NdefMessage
--
</panel_attributes>
<additional_attributes/>
......@@ -144,55 +129,37 @@ _-decodeWellKnown(String type, byte[] payload): String_
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>980</x>
<y>210</y>
<w>540</w>
<h>150</h>
<x>280</x>
<y>450</y>
<w>500</w>
<h>230</h>
</coordinates>
<panel_attributes>us.rader.wyfy.nfc::ForegroundDispatchActivity.ProcessTagTask
<panel_attributes>/us.rader.wyfy.nfc::NdefReaderActivity/
--
_+EXTRA_RESULT = "us.rader.wyfy.nfc.result": String_
--
+report(String)
#doInBackground(Tag... tags) : Parcelable
#onCancelled()
#onCancelled(Parcelable result)
#onPostExecute(Parcelable result)
#onProgressUpdate(String... messages)
--</panel_attributes>
#NdefReaderActivity(int requestCode): ctor
_+decodePayload(NdefRecord record): String_
_-decodeMime(String type, byte[] payload): String_
_-decodeText(byte[] payload): String_
_-decodeUri(byte[] payload): String_
_-decodeWellKnown(String type, byte[] payload): String_
#createIntentFilters(): IntentFilter[]
#onTagProcessed(NdefMessage result): void
#processTag(Intent intent): NdefMessage
--
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>1230</x>
<y>80</y>
<x>500</x>
<y>0</y>
<w>50</w>
<h>150</h>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;130</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>980</x>
<y>80</y>
<w>540</w>
<h>30</h>
</coordinates>
<panel_attributes>android.os::AsyncTask</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>620</x>
<y>230</y>
<w>380</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;.
&lt;&lt;execute asynchronously&gt;&gt;</panel_attributes>
<additional_attributes>360;50;30;50</additional_attributes>
<additional_attributes>30;30;30;90</additional_attributes>
</element>
</diagram>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment