public class OrgNetworkHandler extends ParseSax.HandlerWithResult<OrgNetwork>
Constructor and Description |
---|
OrgNetworkHandler(TaskHandler taskHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
protected String |
currentOrNull() |
void |
endElement(String uri,
String name,
String qName) |
OrgNetwork |
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 final TaskHandler taskHandler
protected StringBuilder currentText
protected ReferenceType network
protected ReferenceType org
protected String orgDescription
protected String startAddress
protected String endAddress
protected boolean inherited
protected String gateway
protected String netmask
protected String dns1
protected String dns2
protected String dnsSuffix
protected IpScope ipScope
protected ReferenceType parentNetwork
protected FenceMode fenceMode
protected boolean serviceEnabled
protected Integer defaultLeaseTime
protected Integer maxLeaseTime
protected DhcpService dhcpService
protected boolean inFirewallRule
protected boolean firewallRuleEnabled
protected String firewallRuleDescription
protected FirewallPolicy firewallPolicy
protected boolean tcp
protected boolean udp
protected FirewallProtocols protocols
protected int port
protected String destinationIp
protected List<FirewallRule> firewallRules
protected FirewallService firewallService
protected NatType natType
protected NatPolicy natPolicy
protected MappingMode mappingMode
protected String externalIP
protected String vAppScopedVmId
protected int vmNicId
protected int externalPort
protected String internalIP
protected int internalPort
protected NatProtocol natProtocol
protected String vAppScopedLocalId
protected NatService natService
protected Features features
protected OrgNetwork.Configuration configuration
protected ReferenceType networkPool
@Inject public OrgNetworkHandler(TaskHandler taskHandler)
public OrgNetwork getResult()
getResult
in class ParseSax.HandlerWithResult<OrgNetwork>
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
protected String currentOrNull()
Copyright © 2009-2012 jclouds. All Rights Reserved.