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 ServiceDescriptorBinderDescriptorBindingExceptionValidationExceptionpublic <S extends Service> S describe(S undescribedService, Document dom) throws DescriptorBindingException, ValidationException
describe in interface ServiceDescriptorBinderDescriptorBindingExceptionValidationExceptionprotected <S extends Service> S buildInstance(S undescribedService, MutableService descriptor) throws ValidationException
ValidationExceptionprotected void hydrateBasic(MutableService descriptor, Service undescribedService)
protected void hydrateRoot(MutableService descriptor, Element rootElement) throws DescriptorBindingException
DescriptorBindingExceptionpublic void hydrateActionList(MutableService descriptor, Node actionListNode) throws DescriptorBindingException
DescriptorBindingExceptionpublic 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 ServiceDescriptorBinderDescriptorBindingExceptionpublic Document buildDOM(Service service) throws DescriptorBindingException
buildDOM in interface ServiceDescriptorBinderDescriptorBindingExceptionpublic void warning(SAXParseException e) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic void error(SAXParseException e) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException e) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionCopyright © 2023 jUPnP.org. All rights reserved.