Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.binding.xml.parser
Class DescriptorElement<CHILD extends DescriptorElement,PARENT extends DescriptorElement>

    java.lang.Object
      org.teleal.common.xml.DOMElement<CHILD,PARENT>
          org.teleal.cling.binding.xml.parser.DescriptorElement<CHILD,PARENT>

Direct Known Subclasses:
  DeviceElement, ServiceElement

    public abstract class DescriptorElement<CHILD extends DescriptorElement,PARENT extends DescriptorElement>

extends org.teleal.common.xml.DOMElement<CHILD,PARENT>

Author:
  Christian Bauer

Nested Class Summary

Nested classes/interfaces inherited from class org.teleal.common.xml.DOMElement
`org.teleal.common.xml.DOMElement.ArrayBuilder<T extends org.teleal.common.xml.DOMElement>, org.teleal.common.xml.DOMElement.Builder<T extends org.teleal.common.xml.DOMElement>`

Field Summary
`static String` | `XPATH_PREFIX`

Fields inherited from class org.teleal.common.xml.DOMElement
`CHILD_BUILDER, PARENT_BUILDER`

Constructor Summary
`DescriptorElement(XPath xpath, Element element)`

Method Summary
`CHILD` | `createChild(ELEMENT el)`
`void` | `createChildIfNotNull(ELEMENT el, Object content)`
`boolean` | `equals(ELEMENT element)`
`protected abstract String` | `getNamespaceURI()`
`DescriptorElement` | `getRequiredChild(ELEMENT el)`
`protected String` | `prefix(String localName)`
`DescriptorElement` | `setContent(String content)`

Methods inherited from class org.teleal.common.xml.DOMElement
`adoptOrImport, appendChild, createChild, createChild, createChildBuilder, createParentBuilder, findChildren, findChildWithIdentifier, getAttribute, getChildren, getChildren, getContent, getElementName, getFirstChild, getParent, getRequiredChild, getW3CElement, getXpath, getXPathChildElement, getXPathChildElements, getXPathElements, getXPathParentElement, getXPathParentElements, getXPathResult, getXPathResult, getXPathString, removeChild, removeChildren, replaceChild, replaceEqualChild, setAttribute, toSimpleXMLString, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### XPATH_PREFIX

    public static final String XPATH_PREFIX

See Also:
  Constant Field Values

Constructor Detail

### DescriptorElement

    public DescriptorElement(XPath xpath,
                             Element element)

Method Detail

### prefix

    protected String prefix(String localName)

  Overrides:
    `prefix` in class `org.teleal.common.xml.DOMElement<CHILD extends DescriptorElement,PARENT extends DescriptorElement>`

### setContent

    public DescriptorElement setContent(String content)

  Overrides:
    `setContent` in class `org.teleal.common.xml.DOMElement<CHILD extends DescriptorElement,PARENT extends DescriptorElement>`

### getRequiredChild

    public DescriptorElement getRequiredChild(ELEMENT el)
                                       throws org.teleal.common.xml.ParserException

  Throws:
    `org.teleal.common.xml.ParserException`

### equals

    public boolean equals(ELEMENT element)

### createChild

    public CHILD createChild(ELEMENT el)

### createChildIfNotNull

    public void createChildIfNotNull(ELEMENT el,
                                     Object content)

### getNamespaceURI

    protected abstract String getNamespaceURI()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.