Skip navigation links
A B C E F G H I K L M N O P R S T U V W X 

A

ActionRecorder - Class in com.android.manifmerger
Records all the actions taken by the merging tool.
ActionRecorder() - Constructor for class com.android.manifmerger.ActionRecorder
 
Actions - Class in com.android.manifmerger
Contains all actions taken during a merging invocation.
Actions(Map<XmlNode.NodeKey, Actions.DecisionTreeRecord>) - Constructor for class com.android.manifmerger.Actions
 
Actions.ActionType - Enum in com.android.manifmerger
Defines all possible actions taken from the merging tool for an xml element or attribute.
Actions.AttributeRecord - Class in com.android.manifmerger
Defines a merging tool action for an xml attribute
Actions.NodeRecord - Class in com.android.manifmerger
Defines a merging tool action for an xml element.
Actions.Record - Class in com.android.manifmerger
Defines an abstract record contain common metadata for elements and attributes actions.
addBundleManifests(List<Pair<String, File>>) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Deprecated.
use addLibraryManifest or addAndroidBundleManifests
addFlavorAndBuildTypeManifest(File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Add a flavor or build type manifest file last in the list.
addFlavorAndBuildTypeManifests(File...) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Add several flavor or build type manifest files last in the list.
addLibraryManifest(File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Add one library file manifest, will be added last in the list of library files which will make the parameter the lowest priority library manifest file.
addLibraryManifest(String, File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Add one library file manifest, will be added last in the list of library files which will make the parameter the lowest priority library manifest file.
addLibraryManifests(File...) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Add several library file manifests at then end of the list which will make them the lowest priority manifest files.
addManifestProviders(Iterable<? extends ManifestProvider>) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Sets manifest providers for this merging activity.
addNavigationFile(File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Add one navigation file.
addNavigationFiles(Iterable<File>) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Add several navigation files last in the list.
addTo(ActionRecorder, XmlDocument, String) - Method in interface com.android.manifmerger.ManifestMerger2.AutoAddingProperty
Add itself (possibly just override the current value) with the passed value
addToNode(Element, String) - Method in class com.android.manifmerger.XmlNode.Name
 
addToNode(Element, String) - Method in class com.android.manifmerger.XmlNode.NamespaceAwareName
 
addToNode(Element, String) - Method in interface com.android.manifmerger.XmlNode.NodeName
Adds a new attribute of this name to a xml element with a value.
APPLICATION_ID - Static variable in class com.android.manifmerger.PlaceholderHandler
 
asType(XmlDocument.Type) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Specify if the file being merged is an overlay (flavor).
autoRejectConflicts() - Method in class com.android.manifmerger.ManifestModel
 

B

blame(XmlDocument) - Method in class com.android.manifmerger.Actions
 
blame(XmlDocument) - Method in class com.android.manifmerger.MergingReport.Builder
 

C

checkPath(String) - Method in class com.android.manifmerger.Merger
 
cleanToolsReferences(ManifestMerger2.MergeType, Document, ILogger) - Static method in class com.android.manifmerger.ToolsInstructionsCleaner
Cleans all attributes belonging to the SdkConstants.TOOLS_URI namespace.
clearNodeNamespaces() - Method in class com.android.manifmerger.XmlDocument
Removes the android namespace from all nodes.
com.android.manifmerger - package com.android.manifmerger
 
compareTo(XmlDocument) - Method in class com.android.manifmerger.XmlDocument
Compares this document to another XmlDocument ignoring all attributes belonging to the SdkConstants.TOOLS_URI namespace.
compareTo(Object) - Method in class com.android.manifmerger.XmlElement
Compares this element with another XmlElement ignoring all attributes belonging to the SdkConstants.TOOLS_URI namespace.
ConvertibleName - Interface in com.android.manifmerger
Defines conversion routines for named types that can be converted into Xml name or Camel case names.
createInvoker(File, ILogger) - Method in class com.android.manifmerger.Merger
 
createLogger(StdLogger.Level) - Method in class com.android.manifmerger.Merger
 

E

ElementsTrimmer - Class in com.android.manifmerger
Trims the document from unwanted, repeated elements.
ElementsTrimmer() - Constructor for class com.android.manifmerger.ElementsTrimmer
 
enforceToolsNamespaceDeclaration(XmlDocument) - Static method in class com.android.manifmerger.PostValidator
Enforces SdkConstants.TOOLS_URI declaration in the top level element, if necessary.
equals(Object) - Method in class com.android.manifmerger.XmlNode.Name
 
equals(Object) - Method in class com.android.manifmerger.XmlNode.NamespaceAwareName
 
equals(Object) - Method in class com.android.manifmerger.XmlNode.NodeKey
 

F

FEATURE_NAME - Static variable in class com.android.manifmerger.PlaceholderHandler
 
FileStreamProvider() - Constructor for class com.android.manifmerger.ManifestMerger2.FileStreamProvider
 
fromNSName(String, String, String) - Static method in class com.android.manifmerger.XmlNode
 
fromXml(Element, DocumentModel<ManifestModel.NodeTypes>) - Static method in class com.android.manifmerger.XmlNode.NodeKey
 
fromXmlName(String) - Static method in class com.android.manifmerger.XmlNode
 
fromXmlSimpleName(String) - Method in class com.android.manifmerger.ManifestModel
Returns the NodeTypes instance from an xml element name (without namespace decoration).

G

getActionLocation() - Method in class com.android.manifmerger.Actions.Record
 
getActions() - Method in class com.android.manifmerger.MergingReport
 
getActionType() - Method in class com.android.manifmerger.Actions.Record
 
getAllNodesByType(ManifestModel.NodeTypes) - Method in class com.android.manifmerger.XmlElement
Returns all immediate children of this node for a particular type, irrespective of their key.
getAttribute(XmlNode.NodeName) - Method in class com.android.manifmerger.XmlElement
Returns the XmlAttribute for an attribute present on this xml element, or Optional.absent() if not present.
getAttributeOperations() - Method in class com.android.manifmerger.XmlElement
 
getAttributeOperationType(XmlNode.NodeName) - Method in class com.android.manifmerger.XmlElement
Get the attribute operation type as optionally specified by the user.
getAttributeRecords(XmlNode.NodeKey, XmlNode.NodeName) - Method in class com.android.manifmerger.Actions
Returns the ImmutableList of Actions.AttributeRecord for the attribute identified by attributeName of the element identified by elementKey.
getAttributes() - Method in class com.android.manifmerger.XmlElement
Returns the list of attributes for this xml element.
getByTypeAndKey(ManifestModel.NodeTypes, String) - Method in class com.android.manifmerger.XmlDocument
 
getDocument() - Method in class com.android.manifmerger.XmlElement
Returns the owning XmlDocument
getFileStreamProvider() - Method in class com.android.manifmerger.ManifestMerger2
Returns the ManifestMerger2.FileStreamProvider used by this manifest merger.
getFileType() - Method in class com.android.manifmerger.XmlDocument
 
getId() - Method in class com.android.manifmerger.OrphanXmlElement
 
getId() - Method in class com.android.manifmerger.XmlAttribute
Returns a display friendly identification string that can be used in machine and user readable messages.
getId() - Method in class com.android.manifmerger.XmlNode
Returns an unique id within the manifest file for the element.
getInputStream(File) - Method in class com.android.manifmerger.ManifestMerger2.FileStreamProvider
Creates a reader for the given file -- which may not necessarily read the contents of the file on disk.
getIntermediaryStages() - Method in class com.android.manifmerger.MergingReport
Returns all the merging intermediary stages if ManifestMerger2.Invoker.Feature.KEEP_INTERMEDIARY_STAGES is set.
getKey() - Method in class com.android.manifmerger.OrphanXmlElement
Returns the unique key for this xml element within the xml file or null if there can be only one element of this type.
getKeys() - Method in interface com.android.manifmerger.KeyResolver
 
getLocalName() - Method in class com.android.manifmerger.XmlNode.Name
 
getLocalName() - Method in class com.android.manifmerger.XmlNode.NamespaceAwareName
 
getLocalName() - Method in interface com.android.manifmerger.XmlNode.NodeName
The local name.
getLogger() - Method in class com.android.manifmerger.MergingReport.Builder
 
getLoggingRecords() - Method in class com.android.manifmerger.MergingReport
 
getManifest() - Method in interface com.android.manifmerger.ManifestProvider
Returns the location of the manifest.
getMergeableElements() - Method in class com.android.manifmerger.XmlElement
 
getMergedDocument(MergingReport.MergedManifestKind) - Method in class com.android.manifmerger.MergingReport
 
getMergedXmlDocument(MergingReport.MergedManifestKind) - Method in class com.android.manifmerger.MergingReport
 
getMessage() - Method in class com.android.manifmerger.MergingReport.Record
 
getMinSdkVersion() - Method in class com.android.manifmerger.XmlDocument
Returns the minSdk version for this manifest file.
getModel() - Method in class com.android.manifmerger.XmlAttribute
 
getModel() - Method in class com.android.manifmerger.XmlDocument
 
getName() - Method in interface com.android.manifmerger.ManifestProvider
Returns a user friendly name.
getName() - Method in class com.android.manifmerger.OrphanXmlElement
 
getName() - Method in class com.android.manifmerger.XmlAttribute
Returns the attribute's name, providing isolation from details like namespaces handling.
getName() - Method in class com.android.manifmerger.XmlNode
Returns the name of this xml element or attribute.
getNodeByTypeAndKey(ManifestModel.NodeTypes, String) - Method in class com.android.manifmerger.XmlElement
Returns a child of a particular type and a particular key.
getNodeKeys() - Method in class com.android.manifmerger.Actions
Returns a ImmutableSet of all the element's keys that have at least one Actions.NodeRecord.
getNodeRecords(XmlNode.NodeKey) - Method in class com.android.manifmerger.Actions
Returns an ImmutableList of Actions.NodeRecord for the element identified with the passed key.
getOperationType() - Method in class com.android.manifmerger.Actions.AttributeRecord
 
getOperationType() - Method in class com.android.manifmerger.XmlElement
Get the node operation type as optionally specified by the user.
getOriginalId() - Method in class com.android.manifmerger.XmlNode
Returns a constant Nodekey that can be used throughout the lifecycle of the xml element.
getOverrideUsesSdkLibrarySelectors() - Method in class com.android.manifmerger.XmlElement
 
getPackage() - Method in class com.android.manifmerger.XmlDocument
 
getPackageName() - Method in class com.android.manifmerger.MergingReport
 
getPackageName() - Method in class com.android.manifmerger.XmlDocument
Package name for this android manifest which will be used to resolve partial path.
getPackageNameForAttributeExpansion() - Method in class com.android.manifmerger.XmlDocument
Returns the package name to use to expand the attributes values with the document's package name
getPosition() - Method in class com.android.manifmerger.OrphanXmlElement
 
getPosition() - Method in class com.android.manifmerger.XmlAttribute
 
getPosition() - Method in class com.android.manifmerger.XmlElement
 
getPosition() - Method in class com.android.manifmerger.XmlNode
Returns the element's position
getReason() - Method in class com.android.manifmerger.Actions.Record
 
getRecordedAttributeNames(XmlNode.NodeKey) - Method in class com.android.manifmerger.Actions
Returns a ImmutableList of all attributes names that have at least one record for the element identified with the passed key.
getReportString() - Method in class com.android.manifmerger.MergingReport
 
getResult() - Method in class com.android.manifmerger.MergingReport
 
getResultingSourceMapping(XmlDocument) - Method in class com.android.manifmerger.Actions
 
getRootNode() - Method in class com.android.manifmerger.XmlDocument
 
getSelector() - Method in class com.android.manifmerger.XmlElement
Returns a potentially null (if not present) selector decoration on this element.
getSelectors() - Method in class com.android.manifmerger.XmlDocument
Returns a KeyResolver capable of resolving all selectors types
getSeverity() - Method in class com.android.manifmerger.MergingReport.Record
 
getSourceFile() - Method in class com.android.manifmerger.OrphanXmlElement
 
getSourceFile() - Method in class com.android.manifmerger.XmlAttribute
 
getSourceFile() - Method in class com.android.manifmerger.XmlDocument
Returns the SourceFile associated with this XML document.
getSourceFile() - Method in class com.android.manifmerger.XmlElement
 
getSourceFile() - Method in class com.android.manifmerger.XmlNode
Returns the element's document xml source file location.
getSourceFilePosition() - Method in class com.android.manifmerger.XmlNode
Returns the element's document xml source file location.
getSourceLocation() - Method in class com.android.manifmerger.MergingReport.Record
 
getSplitName() - Method in class com.android.manifmerger.XmlDocument
Returns the split name if this manifest file has one.
getSystemPropertyResolver() - Method in class com.android.manifmerger.XmlDocument
Returns the PlaceholderHandler.KeyBasedValueResolver capable of resolving all injected ManifestSystemProperty
getTargetId() - Method in class com.android.manifmerger.Actions.Record
 
getType() - Method in class com.android.manifmerger.OrphanXmlElement
Returns this xml element ManifestModel.NodeTypes
getValue(T) - Method in class com.android.manifmerger.ManifestMerger2.MapBasedKeyBasedValueResolver
 
getValue(T) - Method in interface com.android.manifmerger.PlaceholderHandler.KeyBasedValueResolver
Returns a placeholder value for the placeholder key or null if none exists.
getValue() - Method in class com.android.manifmerger.XmlAttribute
Returns the attribute's value
getXml() - Method in class com.android.manifmerger.OrphanXmlElement
 
getXml() - Method in class com.android.manifmerger.XmlAttribute
 
getXml() - Method in class com.android.manifmerger.XmlDocument
 
getXml() - Method in class com.android.manifmerger.XmlNode
Returns the element's xml

H

hashCode() - Method in class com.android.manifmerger.XmlNode.Name
 
hashCode() - Method in class com.android.manifmerger.XmlNode.NamespaceAwareName
 
hashCode() - Method in class com.android.manifmerger.XmlNode.NodeKey
 

I

INSTRUMENTATION_RUNNER - Static variable in class com.android.manifmerger.PlaceholderHandler
 
isA(ManifestModel.NodeTypes) - Method in class com.android.manifmerger.OrphanXmlElement
Returns true if this xml element's ManifestModel.NodeTypes is the passed one.
isEquals(XmlElement) - Method in class com.android.manifmerger.XmlElement
 
isError() - Method in enum com.android.manifmerger.MergingReport.Result
 
isInNamespace(String) - Method in class com.android.manifmerger.XmlNode.Name
 
isInNamespace(String) - Method in class com.android.manifmerger.XmlNode.NamespaceAwareName
 
isInNamespace(String) - Method in interface com.android.manifmerger.XmlNode.NodeName
Returns true if this attribute name has a namespace declaration and that namespapce is the same as provided, false otherwise.
isOverriding() - Method in enum com.android.manifmerger.NodeOperationType
Returns true if the element will override (remove or replace) lower priority elements.
isPlaceHolder(String) - Static method in class com.android.manifmerger.PlaceholderHandler
Returns true if the passed string is a placeholder value, false otherwise.
isSelectable() - Method in enum com.android.manifmerger.NodeOperationType
Returns true if this operation supports a Selector
isSuccess() - Method in enum com.android.manifmerger.MergingReport.Result
 
isWarning() - Method in enum com.android.manifmerger.MergingReport.Result
 

K

KeyResolver<T> - Interface in com.android.manifmerger
Facility to identify an element from its key.

L

load(InputStream) - Static method in class com.android.manifmerger.Actions
 
load(String) - Static method in class com.android.manifmerger.Actions
 
load(KeyResolver<String>, PlaceholderHandler.KeyBasedValueResolver<ManifestSystemProperty>, String, File, InputStream, XmlDocument.Type, Optional<String>, DocumentModel<ManifestModel.NodeTypes>, boolean) - Static method in class com.android.manifmerger.XmlLoader
Loads an xml file without doing xml validation and return a XmlDocument
load(KeyResolver<String>, PlaceholderHandler.KeyBasedValueResolver<ManifestSystemProperty>, SourceFile, String, XmlDocument.Type, Optional<String>, DocumentModel<ManifestModel.NodeTypes>) - Static method in class com.android.manifmerger.XmlLoader
Loads a xml document from its String representation without doing xml validation and return a XmlDocument
log(ILogger) - Method in class com.android.manifmerger.MergingReport
dumps all logging records to a logger.

M

mActionLocation - Variable in class com.android.manifmerger.Actions.Record
 
mActionType - Variable in class com.android.manifmerger.Actions.Record
 
main(String[]) - Static method in class com.android.manifmerger.Merger
 
ManifestMerger2 - Class in com.android.manifmerger
merges android manifest files, idempotent.
ManifestMerger2.AutoAddingProperty - Interface in com.android.manifmerger
Defines a property that can add or override itself into an XML document.
ManifestMerger2.FileStreamProvider - Class in com.android.manifmerger
A ManifestMerger2.FileStreamProvider provides (buffered, if necessary) InputStream instances for a given File handle.
ManifestMerger2.Invoker<T extends ManifestMerger2.Invoker<T>> - Class in com.android.manifmerger
This class will hold all invocation parameters for the manifest merging tool.
ManifestMerger2.Invoker.Feature - Enum in com.android.manifmerger
Optional behavior of the merging tool can be turned on by setting these Feature.
ManifestMerger2.MapBasedKeyBasedValueResolver<T> - Class in com.android.manifmerger
Helper class for map based placeholders key value pairs.
ManifestMerger2.MergeFailureException - Exception in com.android.manifmerger
 
ManifestMerger2.MergeType - Enum in com.android.manifmerger
Defines the merging type expected from the tool.
ManifestModel - Class in com.android.manifmerger
Model for the manifest file merging activities.
ManifestModel() - Constructor for class com.android.manifmerger.ManifestModel
Creates a DocumentModel to be used for merging Android manifest documents
ManifestModel(boolean) - Constructor for class com.android.manifmerger.ManifestModel
Creates a DocumentModel to be used for merging Android manifest documents
ManifestProvider - Interface in com.android.manifmerger
An Object that provides a manifest.
ManifestSystemProperty - Enum in com.android.manifmerger
List of manifest files properties that can be directly overridden without using a placeholder.
MapBasedKeyBasedValueResolver(Map<T, Object>) - Constructor for class com.android.manifmerger.ManifestMerger2.MapBasedKeyBasedValueResolver
 
merge() - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Perform the merging and return the result.
merge(XmlDocument, MergingReport.Builder) - Method in class com.android.manifmerger.XmlDocument
merge this higher priority document with a higher priority document.
merge(XmlDocument, MergingReport.Builder, boolean) - Method in class com.android.manifmerger.XmlDocument
merge this higher priority document with a higher priority document.
mergeChildren(XmlElement, MergingReport.Builder) - Method in class com.android.manifmerger.XmlElement
 
MergeFailureException(Exception) - Constructor for exception com.android.manifmerger.ManifestMerger2.MergeFailureException
 
Merger - Class in com.android.manifmerger
Command line interface to the ManifestMerger2
Merger() - Constructor for class com.android.manifmerger.Merger
 
MergeType - Enum in com.android.manifmerger
Defines the default merging activity for same type.
mergeWithLowerPriorityNode(XmlElement, MergingReport.Builder) - Method in class com.android.manifmerger.XmlElement
Merge this xml element with a lower priority node.
MergingReport - Class in com.android.manifmerger
Contains the result of 2 files merging.
MergingReport.Builder - Class in com.android.manifmerger
This builder is used to accumulate logging, action recording and intermediary results as well as final result of the merging activity.
MergingReport.MergedManifestKind - Enum in com.android.manifmerger
 
MergingReport.Record - Class in com.android.manifmerger
Log record.
MergingReport.Record.Severity - Enum in com.android.manifmerger
 
MergingReport.Result - Enum in com.android.manifmerger
Overall result of the merging process.
mLogger - Variable in class com.android.manifmerger.ManifestMerger2.Invoker
 
mMainManifestFile - Variable in class com.android.manifmerger.ManifestMerger2.Invoker
 
mPlaceholders - Variable in class com.android.manifmerger.ManifestMerger2.Invoker
 
mReason - Variable in class com.android.manifmerger.Actions.Record
 
mSystemProperties - Variable in class com.android.manifmerger.ManifestMerger2.Invoker
 
mTargetId - Variable in class com.android.manifmerger.Actions.Record
 

N

newMerger(File, ILogger, ManifestMerger2.MergeType) - Static method in class com.android.manifmerger.ManifestMerger2
Creates a new ManifestMerger2.Invoker instance to invoke the merging tool to merge manifest files for an application.
NODE_TO_NAME - Static variable in class com.android.manifmerger.XmlNode
 
NodeOperationType - Enum in com.android.manifmerger
Defines node operation types as it can be provided by user's through attributes on the target xml element.

O

OrphanXmlElement - Class in com.android.manifmerger
An xml element that does not belong to a XmlDocument
OrphanXmlElement(Element, DocumentModel<ManifestModel.NodeTypes>) - Constructor for class com.android.manifmerger.OrphanXmlElement
 
OtherOperationType - Enum in com.android.manifmerger
List of other http://schemas.android.com/tools namespace instructions that can be present in a manifest file.

P

PACKAGE_NAME - Static variable in class com.android.manifmerger.PlaceholderHandler
 
performSystemPropertiesInjection(MergingReport.Builder, XmlDocument) - Method in class com.android.manifmerger.ManifestMerger2
Perform ManifestSystemProperty injection.
persist() - Method in class com.android.manifmerger.Actions
 
PlaceholderEncoder - Class in com.android.manifmerger
encode all non resolved placeholders key names.
PlaceholderEncoder() - Constructor for class com.android.manifmerger.PlaceholderEncoder
 
PlaceholderHandler - Class in com.android.manifmerger
Replaces all placeholders of the form ${name} with a tool invocation provided value
PlaceholderHandler() - Constructor for class com.android.manifmerger.PlaceholderHandler
 
PlaceholderHandler.KeyBasedValueResolver<T> - Interface in com.android.manifmerger
Interface to provide a value for a placeholder key.
PostValidator - Class in com.android.manifmerger
Validator that runs post merging activities and verifies that all "tools:" instructions triggered an action by the merging tool.
PostValidator() - Constructor for class com.android.manifmerger.PostValidator
 
prettyPrint() - Method in class com.android.manifmerger.XmlDocument
Returns a pretty string representation of this document.
PreValidator - Class in com.android.manifmerger
Validates a loaded XmlDocument and check for potential inconsistencies in the model due to user error or omission.
print(StringBuilder) - Method in class com.android.manifmerger.Actions.Record
 
printPosition() - Method in class com.android.manifmerger.XmlNode
Returns the position of this attribute in the original xml file.
process(String[]) - Method in class com.android.manifmerger.Merger
 

R

reparse() - Method in class com.android.manifmerger.XmlDocument
Forces a re-parsing of the document
resolve(String) - Method in interface com.android.manifmerger.KeyResolver
Returns an element identified with the passed key.

S

Selector - Class in com.android.manifmerger
Represents a selector to be able to identify manifest file xml elements.
Selector(String) - Constructor for class com.android.manifmerger.Selector
 
SELECTOR_LOCAL_NAME - Static variable in class com.android.manifmerger.Selector
local name for tools:selector attributes.
setFeatureName(String) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Specify the feature name for feature merging.
setFinalPackageName(String) - Method in class com.android.manifmerger.MergingReport.Builder
 
setMergeReportFile(File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Sets the file to use to write the merging report.
setOverride(ManifestSystemProperty, String) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Sets a value for a ManifestSystemProperty
setPlaceHolderValue(String, String) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Adds a new placeholder name and value for substitution.
setPlaceHolderValues(Map<String, Object>) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Adds placeholders names and associated values for substitution.
supportsSelector() - Method in class com.android.manifmerger.XmlElement
Returns true if this element supports having a tools:selector decoration, false otherwise.

T

toCamelCase() - Method in enum com.android.manifmerger.ManifestSystemProperty
 
toCamelCaseName() - Method in interface com.android.manifmerger.ConvertibleName
Returns a camel case version of itself.
toCamelCaseName() - Method in enum com.android.manifmerger.NodeOperationType
 
ToolsInstructionsCleaner - Class in com.android.manifmerger
Removes all "tools:" statements from the resulting xml.
ToolsInstructionsCleaner() - Constructor for class com.android.manifmerger.ToolsInstructionsCleaner
 
toString() - Method in class com.android.manifmerger.Actions.AttributeRecord
 
toString() - Method in class com.android.manifmerger.Actions.NodeRecord
 
toString() - Method in class com.android.manifmerger.MergingReport.Record
 
toString() - Method in class com.android.manifmerger.Selector
 
toString() - Method in class com.android.manifmerger.XmlNode.Name
 
toString() - Method in class com.android.manifmerger.XmlNode.NamespaceAwareName
 
toString() - Method in class com.android.manifmerger.XmlNode.NodeKey
 
toXmlName() - Method in interface com.android.manifmerger.ConvertibleName
Returns a xml lower-hyphen separated name of itself.
toXmlName(ManifestModel.NodeTypes) - Method in class com.android.manifmerger.ManifestModel
Returns the Xml name for this node type
toXmlName() - Method in enum com.android.manifmerger.NodeOperationType
 
trim(XmlDocument, MergingReport.Builder) - Static method in class com.android.manifmerger.ElementsTrimmer
Trims unwanted, duplicated elements from the merged document.

U

unwrapName(Node) - Static method in class com.android.manifmerger.XmlNode
Factory method to create an instance of XmlNode.NodeName for an existing xml node.
usage() - Static method in class com.android.manifmerger.Merger
 

V

validate(XmlDocument, MergingReport.Builder) - Static method in class com.android.manifmerger.PostValidator
Post validation of the merged document.
validate(MergingReport.Builder, XmlDocument) - Static method in class com.android.manifmerger.PreValidator
Validates a loaded XmlDocument and return a status of the merging model.
valueOf(String) - Static method in enum com.android.manifmerger.Actions.ActionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.ManifestMerger2.Invoker.Feature
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.ManifestMerger2.MergeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.ManifestSystemProperty
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.MergeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.MergingReport.MergedManifestKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.MergingReport.Record.Severity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.MergingReport.Result
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.NodeOperationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.OtherOperationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.manifmerger.XmlDocument.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.manifmerger.Actions.ActionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.ManifestMerger2.Invoker.Feature
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.ManifestMerger2.MergeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.ManifestSystemProperty
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.MergeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.MergingReport.MergedManifestKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.MergingReport.Record.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.MergingReport.Result
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.NodeOperationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.OtherOperationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.manifmerger.XmlDocument.Type
Returns an array containing the constants of this enum type, in the order they are declared.
visit(Document) - Static method in class com.android.manifmerger.PlaceholderEncoder
Visits a document's entire tree and check each attribute for a placeholder existence.
visit(MergingReport.Record.Severity, XmlDocument, PlaceholderHandler.KeyBasedValueResolver<String>, MergingReport.Builder) - Static method in class com.android.manifmerger.PlaceholderHandler
Visits a document's entire tree and check each attribute for a placeholder existence.

W

withFeatures(ManifestMerger2.Invoker.Feature...) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Sets some optional features for the merge tool.
withFileStreamProvider(ManifestMerger2.FileStreamProvider) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
Sets a file stream provider which allows the client of the manifest merger to provide arbitrary content lookup for files.

X

XmlAttribute - Class in com.android.manifmerger
Defines an XML attribute inside a XmlElement.
XmlAttribute(XmlElement, Attr, AttributeModel) - Constructor for class com.android.manifmerger.XmlAttribute
Creates a new facade object to a Attr xml attribute in a XmlElement.
XmlDocument - Class in com.android.manifmerger
Represents a loaded xml document.
XmlDocument(SourceFile, KeyResolver<String>, PlaceholderHandler.KeyBasedValueResolver<ManifestSystemProperty>, Element, XmlDocument.Type, Optional<String>, DocumentModel<ManifestModel.NodeTypes>) - Constructor for class com.android.manifmerger.XmlDocument
 
XmlDocument.Type - Enum in com.android.manifmerger
The document type.
XmlElement - Class in com.android.manifmerger
Xml Element which is mergeable.
XmlElement(Element, XmlDocument) - Constructor for class com.android.manifmerger.XmlElement
 
XmlLoader - Class in com.android.manifmerger
Responsible for loading XML files.
XmlNode - Class in com.android.manifmerger
Common behavior of any xml declaration.
XmlNode() - Constructor for class com.android.manifmerger.XmlNode
 
XmlNode.Name - Class in com.android.manifmerger
Implementation of XmlNode.NodeName for an node's declaration not using a namespace.
XmlNode.NamespaceAwareName - Class in com.android.manifmerger
Implementation of the XmlNode.NodeName for a namespace aware attribute.
XmlNode.NodeKey - Class in com.android.manifmerger
A xml element or attribute key.
XmlNode.NodeName - Interface in com.android.manifmerger
Abstraction to an xml name to isolate whether the name has a namespace or not.
A B C E F G H I K L M N O P R S T U V W X 
Skip navigation links