public final class RegistryEntry extends Object
| Constructor and Description |
|---|
RegistryEntry(Document dom)
creates a RegistryEntry after XML DOM Document root element node name it is the name of the
Entry
|
RegistryEntry(String rootName)
creates an empty RegistryEntry
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getAsInputStream() |
Document |
getDocument() |
String |
getName() |
static RegistryEntry |
parse(byte[] bytes)
Factory method to create RegistryEntry from serialized XML
|
static RegistryEntry |
parse(InputStream in)
Factory method to create RegistryEntry from stream XML
|
public RegistryEntry(Document dom)
dom - public RegistryEntry(String rootName) throws IOException, SAXException, ParserConfigurationException
rootName - IOExceptionSAXExceptionParserConfigurationExceptionpublic static RegistryEntry parse(byte[] bytes) throws IOException, SAXException, ParserConfigurationException
bytes - IOExceptionSAXExceptionParserConfigurationExceptionpublic static RegistryEntry parse(InputStream in) throws IOException, SAXException, ParserConfigurationException
IOExceptionSAXExceptionParserConfigurationExceptionpublic InputStream getAsInputStream() throws TransformerException
TransformerExceptionpublic String getName()
public Document getDocument()
Copyright © 2019 eXo Platform SAS. All Rights Reserved.