1 package com.android.hotspot2.osu.commands; 2 3 /* 4 <xsd:element name="uploadMO" maxOccurs="unbounded"> 5 <xsd:annotation> 6 <xsd:documentation>Command to mobile to upload the MO named in the moURN attribute to the SPP server.</xsd:documentation> 7 </xsd:annotation> 8 <xsd:complexType> 9 <xsd:attribute ref="moURN"/> 10 </xsd:complexType> 11 </xsd:element> 12 */ 13 14 import com.android.hotspot2.omadm.XMLNode; 15 16 public class MOURN implements OSUCommandData { 17 private final String mURN; 18 19 public MOURN(XMLNode root) { 20 mURN = root.getAttributeValue("spp:moURN"); 21 } 22 23 public String getURN() { 24 return mURN; 25 } 26 27 @Override 28 public String toString() { 29 return "MOURN{" + 30 "URN='" + mURN + '\'' + 31 '}'; 32 } 33 } 34