| 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() |
Node |
SOAPRequest.getBodyNode() |
Node |
SOAPResponse.getBodyNode() |
Node |
SOAPRequest.getEnvelopeNode() |
Node |
SOAPResponse.getEnvelopeNode() |
Node |
SOAPResponse.getFaultActorNode() |
Node |
SOAPResponse.getFaultCodeNode() |
Node |
SOAPResponse.getFaultDetailNode() |
Node |
SOAPResponse.getFaultNode() |
Node |
SOAPResponse.getFaultStringNode() |
Node |
SOAPResponse.getMethodResponseNode(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
SOAPRequest.setContent(Node node) |
void |
SOAPResponse.setContent(Node node) |
void |
SOAPRequest.setEnvelopeNode(Node node) |
void |
SOAPResponse.setEnvelopeNode(Node 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() |
Node |
AllowedValueRange.getAllowedValueRangeNode() |
Node |
Argument.getArgumentNode()
Gets the argument node containing argument definition.
|
Node |
Device.getDeviceNode() |
Node |
Icon.getIconNode()
Gets the underlying XML node for this icon.
|
Node |
Device.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) |
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) |
void |
Device.setDeviceNode(Node node) |
void |
Device.setRootNode(Node node) |
(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) |
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(Node root,
Node 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() |
Node |
ServiceData.getSCPDNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeData.setNode(Node node) |
void |
ServiceData.setSCPDNode(Node node) |
| 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.
|