public class MetadataUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataUtils.Position |
| Modifier and Type | Field and Description |
|---|---|
static DocumentBuilder |
docBuilder |
static Transformer |
transformer |
| Constructor and Description |
|---|
MetadataUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addContent(String path,
Document doc,
String toAddContent,
org.gcube.common.resources.gcore.utils.XPathHelper documentHelper,
MetadataUtils.Position position) |
static String |
getGisLinkByUUID(String uuid) |
static org.gcube.common.resources.gcore.utils.XPathHelper |
getHelper(Node root) |
static String |
readFile(String path) |
public static Transformer transformer
public static DocumentBuilder docBuilder
public static org.gcube.common.resources.gcore.utils.XPathHelper getHelper(Node root)
public static String readFile(String path) throws IOException
IOExceptionpublic static String getGisLinkByUUID(String uuid) throws org.gcube.portlets.user.uriresolvermanager.exception.UriResolverMapException, org.gcube.portlets.user.uriresolvermanager.exception.IllegalArgumentException
org.gcube.portlets.user.uriresolvermanager.exception.UriResolverMapExceptionorg.gcube.portlets.user.uriresolvermanager.exception.IllegalArgumentExceptionpublic static void addContent(String path, Document doc, String toAddContent, org.gcube.common.resources.gcore.utils.XPathHelper documentHelper, MetadataUtils.Position position) throws SAXException, IOException
SAXExceptionIOExceptionCopyright © 2021. All Rights Reserved.