Home
last modified time | relevance | path

Searched refs:newElement (Results 1 – 1 of 1) sorted by relevance

/tools/platform-compat/java/android/processor/compat/changeid/
DXmlWriter.java83 Element newElement = mDocument.createElement(XML_CHANGE_ELEMENT); in addChange() local
84 newElement.setAttribute(XML_NAME_ATTR, change.name); in addChange()
85 newElement.setAttribute(XML_ID_ATTR, change.id.toString()); in addChange()
87 newElement.setAttribute(XML_DISABLED_ATTR, "true"); in addChange()
90 newElement.setAttribute(XML_LOGGING_ATTR, "true"); in addChange()
93 newElement.setAttribute(XML_ENABLED_AFTER_ATTR, change.enabledAfter.toString()); in addChange()
96 newElement.setAttribute(XML_DESCRIPTION_ATTR, change.description); in addChange()
106 newElement.appendChild(metaData); in addChange()
108 mRoot.appendChild(newElement); in addChange()