Packages that use Node
Package
Description
Parser for the I2P news format, which follows Atom with additional metadata for the update notification feature.
SOAP envelope handling used by the Cybergarage UPnP stack.
Core UPnP device, service and root-device model of the Cybergarage stack.
UPnP control actions and subscription messages of the Cybergarage stack.
UPnP GENA eventing of the Cybergarage stack.
Device-description and service-control XML parsing of the Cybergarage stack.
Small DOM/XML node wrapper used by the Cybergarage stack.
XML parser abstraction used by the Cybergarage xml package.
Uses of Node in net.i2p.router.news
Methods in net.i2p.router.news that return NodeModifier and TypeMethodDescriptionProcess the XML file.NewsXMLParser.parse(InputStream in) Process the XML input stream.Modified from UPnP JaxpParser.Methods in net.i2p.router.news that return types with arguments of type NodeModifier and TypeMethodDescriptionHelper to get all Nodes matching the name.Methods in net.i2p.router.news with parameters of type NodeModifier and TypeMethodDescriptionprivate voidExtracts the feed contents from the root node.private static NewsEntryThis does not check for any missing values.private BlocklistEntriesNewsXMLParser.extractBlocklistEntries(Node feed) This does not check for any missing values.NewsXMLParser.extractCRLEntries(Node feed) This does not check for any missing values.NewsXMLParser.extractNewsEntries(Node feed) This does not check for any missing values.private static NewsMetadataNewsXMLParser.extractNewsMetadata(Node feed) Extracts the metadata of the feed.Helper to get all Nodes matching the name.private static voidXMLParser.output(StringBuilder buf, Node node, int indentLevel) A replacement forNode.output(PrintWriter, int, boolean), which does not recognize #text.Modified from UPnP JaxpParser.static voidXMLParser.toString(StringBuilder buf, Node node) A replacement forNode.toString(String, boolean), which does not recognize #text.private booleanValidate an XML node, throwing if it is invalid.Method parameters in net.i2p.router.news with type arguments of type NodeModifier and TypeMethodDescriptionstatic booleanPersistNews.store(I2PAppContext ctx, List<Node> entries) Store each entry.booleanNewsManager.storeEntries(List<Node> entries) Store each entry.Uses of Node in org.cybergarage.soap
Fields in org.cybergarage.soap declared as NodeModifier and TypeFieldDescriptionprivate NodeSOAPRequest.rootNode/////////////////////////////////////////////private NodeSOAPResponse.rootNode/////////////////////////////////////////////Methods in org.cybergarage.soap that return NodeModifier and TypeMethodDescriptionstatic final NodeSOAP.createEnvelopeBodyNode()Builds an empty SOAP envelope with a Body child.SOAPRequest.getBodyNode()Return the SOAP body node.SOAPResponse.getBodyNode()Get the SOAP body node.SOAPRequest.getEnvelopeNode()Return the SOAP envelope node.SOAPResponse.getEnvelopeNode()Get the SOAP envelope node.SOAPResponse.getFaultActorNode()Get the SOAP fault actor node.SOAPResponse.getFaultCodeNode()Get the SOAP fault code node.SOAPResponse.getFaultDetailNode()Get the SOAP fault detail node.SOAPResponse.getFaultNode()Get the SOAP fault node.SOAPResponse.getFaultStringNode()Get the SOAP fault string node.SOAPResponse.getMethodResponseNode(String name) Get the method response node for the given name.private NodeSOAPRequest.getRootNode()Parses and caches the body if it has not been parsed.private NodeSOAPResponse.getRootNode()The SOAP body's root node.Methods in org.cybergarage.soap with parameters of type NodeModifier and TypeMethodDescriptionvoidSOAPRequest.setContent(Node node) Set the XML content from a node.voidSOAPResponse.setContent(Node node) Set the content from an XML node.voidSOAPRequest.setEnvelopeNode(Node node) Set the SOAP envelope node.voidSOAPResponse.setEnvelopeNode(Node node) Set the SOAP envelope node.private voidSOAPRequest.setRootNode(Node node) Records the parsed body of the request.private voidSOAPResponse.setRootNode(Node node) Sets the SOAP body's root node.Uses of Node in org.cybergarage.upnp
Fields in org.cybergarage.upnp declared as NodeModifier and TypeFieldDescriptionprivate final NodeAction.actionNodeThe action node containing action definitionprivate NodeAllowedValue.allowedValueNodeThe underlying XML node containing the allowed value data.private NodeAllowedValueRange.allowedValueRangeNodeThe underlying XML node containing the allowed value range data.private NodeArgument.argumentNode/////////////////////////////////////////////private NodeDevice.deviceNodeThis device's node within the description.private NodeIcon.iconNode/////////////////////////////////////////////private NodeDevice.rootNodeThe root node of the description document.private NodeAction.serviceNodeThe service node this action belongs toprivate NodeArgument.serviceNodeThe node of the service this argument belongs to.private NodeService.serviceNode/////////////////////////////////////////////private NodeStateVariable.serviceNodeThe XML node the variable was read from.private NodeStateVariable.stateVariableNode/////////////////////////////////////////////Methods in org.cybergarage.upnp that return NodeModifier and TypeMethodDescriptionAction.getActionNode()Gets the action node.Argument.getActionNode()Gets the action node this argument belongs to.AllowedValue.getAllowedValueNode()Get the underlying XML node.AllowedValueRange.getAllowedValueRangeNode()Get the underlying XML node.Argument.getArgumentNode()Gets the argument node containing argument definition.Device.getDeviceNode()Gets this device's own element node.private NodeService.getDeviceNode()Gets the device node containing this service.Icon.getIconNode()Gets the underlying XML node for this icon.Device.getRootNode()Gets the node holding this device's root description.private NodeService.getRootNode()Gets the root node of the device description.private NodeService.getSCPDNode()Gets the SCPD node for this service, loading it if necessary.private NodeService.getSCPDNode(File scpdFile) Gets the SCPD node by parsing from a file.private NodeService.getSCPDNode(URL scpdUrl) Gets the SCPD node by parsing from a URL.private NodeAction.getServiceNode()Gets the service node this action belongs to.private NodeArgument.getServiceNode()Gets the service node this argument belongs to.Service.getServiceNode()Gets the XML node representing this service.StateVariable.getServiceNode()Gets the service node this state variable belongs to.StateVariable.getStateVariableNode()Gets the state variable node containing variable definition.Methods in org.cybergarage.upnp with parameters of type NodeModifier and TypeMethodDescriptionprivate voidAdds a device described by the node.private DeviceFinds the device matching the description node.static booleanAction.isActionNode(Node node) Checks if the given node is an action node.static booleanAllowedValue.isAllowedValueNode(Node node) Checks if the given node is an allowedValue element.static booleanAllowedValueRange.isAllowedValueRangeNode(Node node) Checks if the given node is an allowedValueRange element.static booleanArgument.isArgumentNode(Node node) Checks if the specified node is an argument node.static booleanDevice.isDeviceNode(Node node) Tests whether a node is a device element.static booleanIcon.isIconNode(Node node) Checks if the given XML node represents an icon.static booleanService.isServiceNode(Node node) Checks if the given XML node represents a service.static booleanStateVariable.isStateVariableNode(Node node) Tests whether a node names a state variable element.private voidControlPoint.removeDevice(Node rootNode) Removes the device matching the description node.voidDevice.setDeviceNode(Node node) Sets this device's own element node.voidDevice.setRootNode(Node node) Sets the node holding this device's root description.(package private) voidStateVariable.setServiceNode(Node n) Sets service node this state variable belongs to.Constructors in org.cybergarage.upnp with parameters of type NodeModifierConstructorDescriptionCreates a new Action with a given service node.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.Creates a new Argument associated with the specified service node.Creates a new Argument associated with the specified service node and argument node.Creates a device with no root node but the given device node.Creates a device from a root description node and its own node.Creates an Icon from an existing XML 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.Uses of Node in org.cybergarage.upnp.control
Methods in org.cybergarage.upnp.control that return NodeModifier and TypeMethodDescriptionprivate NodeActionRequest.createContentNode(Service service, Action action, ArgumentList argList) Creates the response content node for one action.private NodeQueryRequest.createContentNode(StateVariable stateVar) Builds the response content node with the variable's value.private NodeControlResponse.createFaultResponseNode(int errCode) Builds a SOAP fault element with a default description.private NodeControlResponse.createFaultResponseNode(int errCode, String errDescr) Builds the SOAP fault node for an error.private NodeActionResponse.createResponseNode(Action action) Creates the response node for one action.private NodeQueryResponse.createResponseNode(String var) Builds the response node carrying one variable's value.ActionRequest.getActionNode()Gets the action node from the request.private NodeActionResponse.getActionResponseNode()Gets the completed action response node.private NodeQueryResponse.getReturnNode()Gets the return value node from the query response.private NodeControlResponse.getUPnPErrorCodeNode()Gets the UPnP error code node.private NodeControlResponse.getUPnPErrorDescriptionNode()Gets the UPnP error description node.private NodeControlResponse.getUPnPErrorNode()Gets the UPnP error node from the fault detail.private NodeQueryRequest.getVarNameNode()Gets the variable name node from the query request.Uses of Node in org.cybergarage.upnp.event
Methods in org.cybergarage.upnp.event that return NodeModifier and TypeMethodDescriptionprivate NodeNotifyRequest.createPropertySetNode(String varName, String value) Builds the propertyset element holding one named value.private NodeNotifyRequest.getVariableNode()Finds the propertyset element in the request body.Methods in org.cybergarage.upnp.event with parameters of type NodeModifier and TypeMethodDescriptionprivate PropertyNotifyRequest.getProperty(Node varNode) Reads a Property element out of a variable node.Uses of Node in org.cybergarage.upnp.xml
Fields in org.cybergarage.upnp.xml declared as NodeModifier and TypeFieldDescriptionprivate NodeNodeData.node/////////////////////////////////////////////private NodeServiceData.scpdNode/////////////////////////////////////////////Methods in org.cybergarage.upnp.xml that return NodeModifier and TypeMethodDescriptionNodeData.getNode()Get the XML node.ServiceData.getSCPDNode()Returns the service control protocol description node.Methods in org.cybergarage.upnp.xml with parameters of type NodeModifier and TypeMethodDescriptionvoidSet the XML node.voidServiceData.setSCPDNode(Node node) Records the service control protocol description.Uses of Node in org.cybergarage.xml
Subclasses with type arguments of type Node in org.cybergarage.xmlFields in org.cybergarage.xml declared as NodeModifier and TypeFieldDescriptionprivate NodeNode.parentNode/////////////////////////////////////////////Methods in org.cybergarage.xml that return NodeModifier and TypeMethodDescriptionNodeList.getEndsWith(String name) Gets the first node whose name ends with the specified string.Node.getNode(int index) Gets the child node at the specified index.Gets the first child node with the specified name.NodeList.getNode(int n) Gets the node at the specified index.Gets the first node with the specified name.Node.getNodeEndsWith(String name) Gets the first child node whose name ends with the specified string.Node.getParentNode()Gets the parent node of this node.Node.getRootNode()Gets the root node of the tree this node belongs to.Parses XML content from the specified file.abstract NodeParser.parse(InputStream inStream) Parses XML content from the specified input stream.Parses XML content from the specified string.Parses XML content from the specified URL.Methods in org.cybergarage.xml with parameters of type NodeModifier and TypeMethodDescriptionvoidAdds a child node to this node.voidNode.insertNode(Node node, int index) Inserts a child node at the specified index.booleanNode.removeNode(Node node) Removes a child node from this node.booleanCopies all properties from another node to this node.voidNode.setParentNode(Node node) Sets the parent node of this node.Constructors in org.cybergarage.xml with parameters of type NodeUses of Node in org.cybergarage.xml.parser
Methods in org.cybergarage.xml.parser that return NodeModifier and TypeMethodDescriptionJaxpParser.parse(InputStream inStream) Parses XML content from the specified input stream using JAXP.Parses a DOM node and converts it to a Node tree.Recursively parses a DOM node and converts it to a Node tree.Methods in org.cybergarage.xml.parser with parameters of type Node