com.android.manifmerger
Class Actions.Record

java.lang.Object
  extended by com.android.manifmerger.Actions.Record
Direct Known Subclasses:
Actions.AttributeRecord, Actions.NodeRecord
Enclosing class:
Actions

public abstract static class Actions.Record
extends java.lang.Object

Defines an abstract record contain common metadata for elements and attributes actions.


Field Summary
protected  Actions.ActionLocation mActionLocation
           
protected  com.android.manifmerger.Actions.ActionType mActionType
           
protected  java.lang.String mReason
           
protected  XmlNode.NodeKey mTargetId
           
 
Method Summary
protected abstract  void addAttributes(org.w3c.dom.Element element)
           
 Actions.ActionLocation getActionLocation()
           
 com.android.manifmerger.Actions.ActionType getActionType()
           
 XmlNode.NodeKey getTargetId()
           
 void print(java.lang.StringBuilder stringBuilder)
           
 org.w3c.dom.Element toXml(org.w3c.dom.Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mActionType

@NonNull
protected final com.android.manifmerger.Actions.ActionType mActionType

mActionLocation

@NonNull
protected final Actions.ActionLocation mActionLocation

mTargetId

@NonNull
protected final XmlNode.NodeKey mTargetId

mReason

@Nullable
protected final java.lang.String mReason
Method Detail

getActionType

public com.android.manifmerger.Actions.ActionType getActionType()

getActionLocation

public Actions.ActionLocation getActionLocation()

getTargetId

public XmlNode.NodeKey getTargetId()

print

public void print(java.lang.StringBuilder stringBuilder)

toXml

public org.w3c.dom.Element toXml(org.w3c.dom.Document document)

addAttributes

protected abstract void addAttributes(org.w3c.dom.Element element)