public final class PresRulesParser
extends java.lang.Object
Constructor and Description |
---|
PresRulesParser() |
Modifier and Type | Method and Description |
---|---|
static ActionsType |
actionsFromElement(org.w3c.dom.Element element)
Creates actions object from the element.
|
static org.w3c.dom.Element |
elementFromActions(org.w3c.dom.Document document,
ActionsType actions)
Creates actions element from the object.
|
static org.w3c.dom.Element |
elementFromDevicePermission(org.w3c.dom.Document document,
ProvideDevicePermissionType devicePermission)
Creates devicePermission element from the object.
|
static org.w3c.dom.Element |
elementFromPersonPermission(org.w3c.dom.Document document,
ProvidePersonPermissionType personPermission)
Creates personPermission element from the object.
|
static org.w3c.dom.Element |
elementFromServicePermission(org.w3c.dom.Document document,
ProvideServicePermissionType serviceService)
Creates serviceService element from the object.
|
static org.w3c.dom.Element |
elementFromTransfomations(org.w3c.dom.Document document,
TransformationsType transformations)
Creates transformations element from the object.
|
static TransformationsType |
transformationsFromElement(org.w3c.dom.Element element)
Creates transfomations object from the element.
|
public static ActionsType actionsFromElement(org.w3c.dom.Element element) throws java.lang.Exception
element
- the element to analyze.java.lang.Exception
- if there is some error during parsing.public static org.w3c.dom.Element elementFromActions(org.w3c.dom.Document document, ActionsType actions) throws java.lang.Exception
document
- the xml document.actions
- the actions to analyze.java.lang.Exception
- if there is some error during creating.public static TransformationsType transformationsFromElement(org.w3c.dom.Element element) throws java.lang.Exception
element
- the element to analyze.java.lang.Exception
- if there is some error during parsing.public static org.w3c.dom.Element elementFromTransfomations(org.w3c.dom.Document document, TransformationsType transformations) throws java.lang.Exception
document
- the xml document.transformations
- the transformations to analyze.java.lang.Exception
- if there is some error during creating.public static org.w3c.dom.Element elementFromServicePermission(org.w3c.dom.Document document, ProvideServicePermissionType serviceService) throws java.lang.Exception
document
- the xml document.serviceService
- the serviceService to analyze.java.lang.Exception
- if there is some error during creating.public static org.w3c.dom.Element elementFromDevicePermission(org.w3c.dom.Document document, ProvideDevicePermissionType devicePermission) throws java.lang.Exception
document
- the xml document.devicePermission
- the devicePermission to analyze.java.lang.Exception
- if there is some error during creating.public static org.w3c.dom.Element elementFromPersonPermission(org.w3c.dom.Document document, ProvidePersonPermissionType personPermission) throws java.lang.Exception
document
- the xml document.personPermission
- the personPermission to analyze.java.lang.Exception
- if there is some error during creating.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.