public class UDA10ServiceDescriptorBinderImpl extends Object implements ServiceDescriptorBinder, ErrorHandler
Constructor and Description |
---|
UDA10ServiceDescriptorBinderImpl() |
Modifier and Type | Method and Description |
---|---|
Document |
buildDOM(Service service) |
protected <S extends Service> |
buildInstance(S undescribedService,
MutableService descriptor) |
<S extends Service> |
describe(S undescribedService,
Document dom) |
<S extends Service> |
describe(S undescribedService,
String descriptorXml) |
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
String |
generate(Service service) |
void |
hydrateAction(MutableAction action,
Node actionNode) |
void |
hydrateActionArgument(MutableActionArgument actionArgument,
Node actionArgumentNode) |
void |
hydrateActionList(MutableService descriptor,
Node actionListNode) |
protected void |
hydrateBasic(MutableService descriptor,
Service undescribedService) |
protected void |
hydrateRoot(MutableService descriptor,
Element rootElement) |
void |
hydrateServiceStateTableList(MutableService descriptor,
Node serviceStateTableNode) |
void |
hydrateStateVariable(MutableStateVariable stateVariable,
Element stateVariableElement) |
void |
warning(SAXParseException e) |
public <S extends Service> S describe(S undescribedService, String descriptorXml) throws DescriptorBindingException, ValidationException
describe
in interface ServiceDescriptorBinder
DescriptorBindingException
ValidationException
public <S extends Service> S describe(S undescribedService, Document dom) throws DescriptorBindingException, ValidationException
describe
in interface ServiceDescriptorBinder
DescriptorBindingException
ValidationException
protected <S extends Service> S buildInstance(S undescribedService, MutableService descriptor) throws ValidationException
ValidationException
protected void hydrateBasic(MutableService descriptor, Service undescribedService)
protected void hydrateRoot(MutableService descriptor, Element rootElement) throws DescriptorBindingException
DescriptorBindingException
public void hydrateActionList(MutableService descriptor, Node actionListNode) throws DescriptorBindingException
DescriptorBindingException
public void hydrateAction(MutableAction action, Node actionNode)
public void hydrateActionArgument(MutableActionArgument actionArgument, Node actionArgumentNode)
public void hydrateServiceStateTableList(MutableService descriptor, Node serviceStateTableNode)
public void hydrateStateVariable(MutableStateVariable stateVariable, Element stateVariableElement)
public String generate(Service service) throws DescriptorBindingException
generate
in interface ServiceDescriptorBinder
DescriptorBindingException
public Document buildDOM(Service service) throws DescriptorBindingException
buildDOM
in interface ServiceDescriptorBinder
DescriptorBindingException
public void warning(SAXParseException e) throws SAXException
warning
in interface ErrorHandler
SAXException
public void error(SAXParseException e) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException e) throws SAXException
fatalError
in interface ErrorHandler
SAXException
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.