Commit ed8aed3d authored by kirk's avatar kirk

tweak nfc class diagram

parent a65b2e45
......@@ -4,44 +4,13 @@
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>340</x>
<y>0</y>
<x>350</x>
<y>340</y>
<w>50</w>
<h>110</h>
<h>120</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;90</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>770</x>
<y>130</y>
<w>540</w>
<h>150</h>
</coordinates>
<panel_attributes>us.rader.wyfy.nfc::ForegroundDispatchActivity.ProcessTagTask
--
--
+report(String)
#doInBackground(Tag... tags) : Parcelable
#onCancelled()
#onCancelled(Parcelable result)
#onPostExecute(Parcelable result)
#onProgressUpdate(String... messages)
--</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>770</x>
<y>0</y>
<w>540</w>
<h>30</h>
</coordinates>
<panel_attributes>android.os::AsyncTask</panel_attributes>
<additional_attributes/>
<additional_attributes>30;30;30;100</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
......@@ -68,56 +37,78 @@ _-decodeWellKnown(String type, byte[] payload): String_
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>350</x>
<y>340</y>
<x>340</x>
<y>0</y>
<w>50</w>
<h>120</h>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;100</additional_attributes>
<additional_attributes>30;30;30;90</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>1020</x>
<y>0</y>
<w>50</w>
<h>150</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;130</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>620</x>
<y>150</y>
<w>170</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;.
&lt;&lt;execute&gt;&gt;</panel_attributes>
<additional_attributes>150;50;30;50</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>110</x>
<y>690</y>
<x>770</x>
<y>130</y>
<w>540</w>
<h>330</h>
<h>150</h>
</coordinates>
<panel_attributes>/us.rader.wyfy.nfc::NdefWriterActivity/
<panel_attributes>us.rader.wyfy.nfc::ForegroundDispatchActivity.ProcessTagTask
--
-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>
+report(String)
#doInBackground(Tag... tags) : Parcelable
#onCancelled()
#onCancelled(Parcelable result)
#onPostExecute(Parcelable result)
#onProgressUpdate(String... messages)
--</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<type>com.umlet.element.Class</type>
<coordinates>
<x>1020</x>
<x>770</x>
<y>0</y>
<w>50</w>
<h>150</h>
<w>540</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;130</additional_attributes>
<panel_attributes>android.os::AsyncTask</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>110</x>
<y>0</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>
......@@ -159,16 +150,36 @@ _+RESULT_ERROR_PROCESSING_TAG : int_
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<type>com.umlet.element.Class</type>
<coordinates>
<x>620</x>
<y>150</y>
<w>170</w>
<h>70</h>
<x>110</x>
<y>690</y>
<w>540</w>
<h>330</h>
</coordinates>
<panel_attributes>lt=&lt;.
&lt;&lt;executes&gt;&gt;</panel_attributes>
<additional_attributes>150;50;30;50</additional_attributes>
<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>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
......@@ -179,32 +190,7 @@ _+RESULT_ERROR_PROCESSING_TAG : int_
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;.
&lt;&lt;invokes&gt;&gt;</panel_attributes>
&lt;&lt;invoke&gt;&gt;</panel_attributes>
<additional_attributes>30;50;150;50</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>110</x>
<y>0</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.custom.Text</type>
<coordinates>
<x>710</x>
<y>360</y>
<w>380</w>
<h>90</h>
</coordinates>
<panel_attributes>ForegroundDispatchActivity's onNewInstance() method
executes ProcessTagTask such that its processTag()
method is invoked in a worker thread and the result
passed to its onTagProcessed() method on the UI thread</panel_attributes>
<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