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, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected 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 ContentHandler
startElement
in class DefaultHandler
public void endElement(String uri, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
protected String currentOrNull()
Copyright © 2009-2012 jclouds. All Rights Reserved.