Inheritance: BaseElement
Example #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;
 }
Example #2
0
 public static MutableString GetTarget(DocumentType/*!*/ self)
 {
     return self._data.Tag;
 }
Example #3
0
 public static void SetTarget(DocumentType/*!*/ self, MutableString/*!*/ target)
 {
     self._data.Tag = target;
 }
Example #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;
 }
Example #5
0
 public static void SetTarget(DocumentType /*!*/ self, MutableString /*!*/ target)
 {
     self._data.Tag = target;
 }
Example #6
0
 public static MutableString GetTarget(DocumentType /*!*/ self)
 {
     return(self._data.Tag);
 }