public class XMLReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_ALIAS |
static String |
ATTRIBUTE_RECEIVER |
static String |
ATTRIBUTE_SENDER |
static String |
ATTRIBUTE_URL |
static String |
ELEMENT_PARTNER |
static String |
ELEMENT_PARTNERSHIP |
static String |
ELEMENT_ROOT |
static String |
TYPE |
| Constructor and Description |
|---|
XMLReader() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
loadPartner(IPartnerStore store,
org.dom4j.Element child) |
protected static String |
loadPartnership(IPartnerStore store,
org.dom4j.Element child) |
static IPartnerStore |
read(IPartnerStore store,
InputStream in) |
static IPartnerStore |
read(IPartnerStore store,
String filename) |
static IPartnerStore |
read(IPartnerStore store,
URL url) |
protected static String |
requireAttribute(org.dom4j.Element element,
String attributeName) |
public static final String TYPE
public static final String ATTRIBUTE_URL
public static final String ELEMENT_ROOT
public static final String ELEMENT_PARTNER
public static final String ATTRIBUTE_ALIAS
public static final String ELEMENT_PARTNERSHIP
public static final String ATTRIBUTE_SENDER
public static final String ATTRIBUTE_RECEIVER
public static IPartnerStore read(IPartnerStore store, InputStream in) throws org.dom4j.DocumentException, XMLException
org.dom4j.DocumentExceptionXMLExceptionpublic static IPartnerStore read(IPartnerStore store, URL url) throws IOException, org.dom4j.DocumentException, XMLException
IOExceptionorg.dom4j.DocumentExceptionXMLExceptionpublic static IPartnerStore read(IPartnerStore store, String filename) throws IOException, org.dom4j.DocumentException, XMLException
IOExceptionorg.dom4j.DocumentExceptionXMLExceptionprotected static String loadPartner(IPartnerStore store, org.dom4j.Element child) throws XMLException
XMLExceptionprotected static String loadPartnership(IPartnerStore store, org.dom4j.Element child) throws XMLException
XMLExceptionprotected static String requireAttribute(org.dom4j.Element element, String attributeName) throws XMLException
XMLExceptionCopyright © 2017. All rights reserved.