Package | Description |
---|---|
org.apache.archiva.maven2.metadata | |
org.apache.archiva.metadata.repository.storage | |
org.apache.archiva.metadata.repository.storage.maven2 | |
org.apache.archiva.xml |
Modifier and Type | Method and Description |
---|---|
static ArchivaRepositoryMetadata |
MavenMetadataReader.read(Path metadataFile)
Read and return the
ArchivaRepositoryMetadata object from the provided xml file. |
static ArchivaRepositoryMetadata |
MavenMetadataReader.read(StorageAsset metadataFile) |
Modifier and Type | Method and Description |
---|---|
String |
RepositoryStorage.getFilePathWithVersion(String requestPath,
ManagedRepositoryContent managedRepositoryContent) |
Modifier and Type | Method and Description |
---|---|
String |
Maven2RepositoryStorage.getFilePathWithVersion(String requestPath,
ManagedRepositoryContent managedRepositoryContent) |
Modifier and Type | Method and Description |
---|---|
Element |
XMLReader.getElement(String xpathExpr) |
List<Node> |
XMLReader.getElementList(String xpathExpr) |
List<String> |
XMLReader.getElementListText(String xpathExpr) |
String |
XMLReader.getElementText(Node context,
String xpathExpr) |
String |
XMLReader.getElementText(String xpathExpr) |
boolean |
XMLReader.hasElement(String xpathExpr) |
static void |
XMLWriter.write(Document doc,
Writer writer)
Write the Document to the provided Writer, leaving the Writer open.
|
static void |
XMLWriter.write(Document doc,
Writer writer,
boolean close)
Write the Document to the provided Writer, with an option to close the writer upon completion.
|
Constructor and Description |
---|
XMLReader(String type,
Path file) |
XMLReader(String type,
URL url) |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.