| Package | Description |
|---|---|
| net.i2p.router.news | Classes to parse the I2P news format, which follows the Atom standard with additional metadata for the I2P update notification feature. |
| org.cybergarage.soap | SOAP (Simple Object Access Protocol) implementation for UPnP. |
| org.cybergarage.upnp | Universal Plug and Play (UPnP) framework core components. |
| org.cybergarage.upnp.control | UPnP control and action invocation framework. |
| org.cybergarage.upnp.xml | XML parsing and data handling for UPnP device descriptions. |
| org.cybergarage.xml | XML parsing and manipulation utilities. |
| org.cybergarage.xml.parser | XML parser implementations and utilities. |
| Modifier and Type | Method and Description |
|---|---|
Node | NewsXMLParser.parse(File file)Process the XML file. |
Node | NewsXMLParser.parse(InputStream in)Process the XML input stream. |
Node | XMLParser.parse(Node parentNode,
Node domNode,
int rank)Modified from UPnP JaxpParser |
| Modifier and Type | Method and Description |
|---|---|
static List<Node> | NewsXMLParser.getNodes(Node node,
String name)Helper to get all Nodes matching the name |
| Modifier and Type | Method and Description |
|---|---|
static List<Node> | NewsXMLParser.getNodes(Node node,
String name)Helper to get all Nodes matching the name |
Node | XMLParser.parse(Node parentNode,
Node domNode,
int rank)Modified from UPnP JaxpParser |
static void | XMLParser.toString(StringBuilder buf,
Node node)A replacement for Node.toString(), which does not recognize #text. |
| Modifier and Type | Method and Description |
|---|---|
static boolean | PersistNews.store(I2PAppContext ctx,
List<Node> entries)Store each entry. |
boolean | NewsManager.storeEntries(List<Node> entries)Store each entry. |
| Modifier and Type | Method and Description |
|---|---|
static Node | SOAP.createEnvelopeBodyNode()createEnvelopeBodyNode. |
Node | SOAPRequest.getBodyNode()Return the SOAP body node. |
Node | SOAPResponse.getBodyNode()Get the SOAP body node. |
Node | SOAPRequest.getEnvelopeNode()Return the SOAP envelope node. |
Node | SOAPResponse.getEnvelopeNode()Get the SOAP envelope node. |
Node | SOAPResponse.getFaultActorNode()Get the SOAP fault actor node. |
Node | SOAPResponse.getFaultCodeNode()Get the SOAP fault code node. |
Node | SOAPResponse.getFaultDetailNode()Get the SOAP fault detail node. |
Node | SOAPResponse.getFaultNode()Get the SOAP fault node. |
Node | SOAPResponse.getFaultStringNode()Get the SOAP fault string node. |
Node | SOAPResponse.getMethodResponseNode(String name)Get the method response node for the given name. |
| Modifier and Type | Method and Description |
|---|---|
void | SOAPRequest.setContent(Node node)Set the XML content from a node. |
void | SOAPResponse.setContent(Node node)Set the content from an XML node. |
void | SOAPRequest.setEnvelopeNode(Node node)Set the SOAP envelope node. |
void | SOAPResponse.setEnvelopeNode(Node node)Set the SOAP envelope node. |
| Modifier and Type | Method and Description |
|---|---|
Node | Argument.getActionNode()Gets the action node this argument belongs to. |
Node | Action.getActionNode()Gets the action node. |
Node | AllowedValue.getAllowedValueNode()Get the underlying XML node. |
Node | AllowedValueRange.getAllowedValueRangeNode()Get the underlying XML node. |
Node | Argument.getArgumentNode()Gets the argument node containing argument definition. |
Node | Device.getDeviceNode()getDeviceNode. |
Node | Icon.getIconNode()Gets the underlying XML node for this icon. |
Node | Device.getRootNode()getRootNode. |
Node | Service.getServiceNode()Gets the XML node representing this service. |
Node | StateVariable.getServiceNode()Gets the service node this state variable belongs to. |
Node | StateVariable.getStateVariableNode()Gets the state variable node containing variable definition. |
| Modifier and Type | Method and Description |
|---|---|
static boolean | Action.isActionNode(Node node)Checks if the given node is an action node. |
static boolean | AllowedValue.isAllowedValueNode(Node node)Checks if the given node is an allowedValue element. |
static boolean | AllowedValueRange.isAllowedValueRangeNode(Node node)Checks if the given node is an allowedValueRange element. |
static boolean | Argument.isArgumentNode(Node node)Checks if the specified node is an argument node. |
static boolean | Device.isDeviceNode(Node node)isDeviceNode. |
static boolean | Icon.isIconNode(Node node)Checks if the given XML node represents an icon. |
static boolean | Service.isServiceNode(Node node)Checks if the given XML node represents a service. |
static boolean | StateVariable.isStateVariableNode(Node node)isStateVariableNode. |
void | Device.setDeviceNode(Node node)setDeviceNode. |
void | Device.setRootNode(Node node)setRootNode. |
(package private) void | StateVariable.setServiceNode(Node n)Sets service node this state variable belongs to. |
| Constructor and Description |
|---|
Action(Node serviceNode)Creates a new Action with a given service node. |
Action(Node serviceNode,
Node actionNode)Creates a new Action with given service and action nodes. |
AllowedValue(Node node)Create an AllowedValue wrapping the given XML node. |
AllowedValueRange(Node node)Creates an AllowedValueRange from an XML node. |
Argument(Node servNode)Creates a new Argument associated with the specified service node. |
Argument(Node servNode,
Node argNode)Creates a new Argument associated with the specified service node and argument node. |
Device(Node device)Device. |
Device(Node root,
Node device)Device. |
Icon(Node node)Creates an Icon from an existing XML node. |
Service(Node node)Creates a Service instance from an existing XML node. |
StateVariable(Node serviceNode,
Node stateVarNode)Creates a StateVariable with specified service and state variable nodes. |
| Modifier and Type | Method and Description |
|---|---|
Node | ActionRequest.getActionNode()Gets the action node from the request. |
| Modifier and Type | Method and Description |
|---|---|
Node | NodeData.getNode()Get the XML node. |
Node | ServiceData.getSCPDNode()getSCPDNode. |
| Modifier and Type | Method and Description |
|---|---|
void | NodeData.setNode(Node node)Set the XML node. |
void | ServiceData.setSCPDNode(Node node)setSCPDNode. |
| Modifier and Type | Method and Description |
|---|---|
Node | NodeList.getEndsWith(String name)Gets the first node whose name ends with the specified string. |
Node | NodeList.getNode(int n)Gets the node at the specified index. |
Node | Node.getNode(int index)Gets the child node at the specified index. |
Node | NodeList.getNode(String name)Gets the first node with the specified name. |
Node | Node.getNode(String name)Gets the first child node with the specified name. |
Node | Node.getNodeEndsWith(String name)Gets the first child node whose name ends with the specified string. |
Node | Node.getParentNode()Gets the parent node of this node. |
Node | Node.getRootNode()Gets the root node of the tree this node belongs to. |
Node | Parser.parse(File descriptionFile)Parses XML content from the specified file. |
abstract Node | Parser.parse(InputStream inStream)Parses XML content from the specified input stream. |
Node | Parser.parse(String descr)Parses XML content from the specified string. |
Node | Parser.parse(URL locationURL)Parses XML content from the specified URL. |
| Modifier and Type | Method and Description |
|---|---|
void | Node.addNode(Node node)Adds a child node to this node. |
void | Node.insertNode(Node node,
int index)Inserts a child node at the specified index. |
boolean | Node.removeNode(Node node)Removes a child node from this node. |
boolean | Node.set(Node otherNode)Copies all properties from another node to this node. |
void | Node.setParentNode(Node node)Sets the parent node of this node. |
| Constructor and Description |
|---|
Node(Node otherNode)Creates a copy of an existing node. |
| Modifier and Type | Method and Description |
|---|---|
Node | JaxpParser.parse(InputStream inStream)Parses XML content from the specified input stream using JAXP. |
Node | JaxpParser.parse(Node parentNode,
Node domNode)Parses a DOM node and converts it to a Node tree. |
Node | JaxpParser.parse(Node parentNode,
Node domNode,
int rank)Recursively parses a DOM node and converts it to a Node tree. |
| Modifier and Type | Method and Description |
|---|---|
Node | JaxpParser.parse(Node parentNode,
Node domNode)Parses a DOM node and converts it to a Node tree. |
Node | JaxpParser.parse(Node parentNode,
Node domNode,
int rank)Recursively parses a DOM node and converts it to a Node tree. |