상속: BaseElement
예제 #1
0
 public static Object GetSystemId(DocumentType/*!*/ self)
 {
     var data = self.GetData<AttributeData>();
     if (data.AttrIsEmpty) {
         return null;
     }
     Object value;
     data.AttrAsHash.TryGetValue(self._systemId, out value);
     return value;
 }
예제 #2
0
 public static MutableString GetTarget(DocumentType/*!*/ self)
 {
     return self._data.Tag;
 }
예제 #3
0
 public static void SetTarget(DocumentType/*!*/ self, MutableString/*!*/ target)
 {
     self._data.Tag = target;
 }
예제 #4
0
 public static void SetSystemId(RubyContext context/*!*/, DocumentType/*!*/ self, Object/*!*/ systemId)
 {
     var data = self.GetData<AttributeData>();
     if (data.AttrIsEmpty) {
         data.Attr = new Hash(context);
     }
     data.AttrAsHash[self._systemId] = systemId;
 }
예제 #5
0
 public static void SetTarget(DocumentType /*!*/ self, MutableString /*!*/ target)
 {
     self._data.Tag = target;
 }
예제 #6
0
 public static MutableString GetTarget(DocumentType /*!*/ self)
 {
     return(self._data.Tag);
 }