public class NetworkHandler extends ParseSax.HandlerWithResult<Network>
Modifier and Type | Field and Description |
---|---|
protected StringBuilder |
currentText |
protected String |
description |
protected FenceMode |
fenceMode |
protected String |
gateway |
protected Logger |
logger |
protected String |
netmask |
protected ReferenceType |
network |
Constructor and Description |
---|
NetworkHandler() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
Network |
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 Logger logger
protected StringBuilder currentText
protected ReferenceType network
protected String description
protected String gateway
protected String netmask
protected FenceMode fenceMode
public Network getResult()
getResult
in class ParseSax.HandlerWithResult<Network>
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String name, 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
Copyright © 2009-2012 jclouds. All Rights Reserved.