|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.manifmerger.ToolsInstructionsCleaner
@Immutable public class ToolsInstructionsCleaner
Removes all "tools:" statements from the resulting xml.
All attributes belonging to the SdkConstants.ANDROID_URI
namespace will be
removed. If an element contained a "tools:node=\"remove\"" attribute, the element will be
deleted.
Constructor Summary | |
---|---|
ToolsInstructionsCleaner()
|
Method Summary | |
---|---|
static XmlDocument |
cleanToolsReferences(XmlDocument document,
com.android.utils.ILogger logger)
Cleans all attributes belonging to the SdkConstants.TOOLS_URI namespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolsInstructionsCleaner()
Method Detail |
---|
@Nullable public static XmlDocument cleanToolsReferences(@NonNull XmlDocument document, @NonNull com.android.utils.ILogger logger)
SdkConstants.TOOLS_URI
namespace.
document
- the xml document to cleanlogger
- logger to use in case of errors and warnings.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |