public class NetworkConnectionHandler extends ParseSax.HandlerWithResult<NetworkConnection>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
connected |
protected StringBuilder |
currentText |
protected String |
externalIpAddress |
protected String |
ipAddress |
protected IpAddressAllocationMode |
ipAddressAllocationMode |
protected String |
MACAddress |
protected String |
network |
protected int |
networkConnectionIndex |
| Constructor and Description |
|---|
NetworkConnectionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
protected String |
currentOrNull() |
void |
endElement(String uri,
String localName,
String qName) |
NetworkConnection |
getResult() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
getRequest, setContextendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected StringBuilder currentText
protected String network
protected int networkConnectionIndex
protected String ipAddress
protected String externalIpAddress
protected boolean connected
protected String MACAddress
protected IpAddressAllocationMode ipAddressAllocationMode
public NetworkConnection getResult()
getResult in class ParseSax.HandlerWithResult<NetworkConnection>public void startElement(String uri, String localName, String qName, Attributes attrs)
startElement in interface ContentHandlerstartElement in class DefaultHandlerpublic void endElement(String uri, String localName, String qName)
endElement in interface ContentHandlerendElement in class DefaultHandlerpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerprotected String currentOrNull()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.