org.jclouds.vcloud.xml
Class OrgNetworkHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<OrgNetwork>
org.jclouds.vcloud.xml.OrgNetworkHandler
- All Implemented Interfaces:
- InvocationContext<ParseSax.HandlerWithResult<OrgNetwork>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class OrgNetworkHandler
- extends ParseSax.HandlerWithResult<OrgNetwork>
- Author:
- Adrian Cole
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taskHandler
protected final TaskHandler taskHandler
currentText
protected StringBuilder currentText
network
protected ReferenceType network
org
protected ReferenceType org
orgDescription
protected String orgDescription
tasks
protected List<Task> tasks
startAddress
protected String startAddress
endAddress
protected String endAddress
inherited
protected boolean inherited
gateway
protected String gateway
netmask
protected String netmask
dns1
protected String dns1
dns2
protected String dns2
dnsSuffix
protected String dnsSuffix
ipRanges
protected Set<IpRange> ipRanges
allocatedIpAddresses
protected Set<String> allocatedIpAddresses
ipScope
protected IpScope ipScope
parentNetwork
protected ReferenceType parentNetwork
fenceMode
protected FenceMode fenceMode
serviceEnabled
protected boolean serviceEnabled
defaultLeaseTime
protected Integer defaultLeaseTime
maxLeaseTime
protected Integer maxLeaseTime
dhcpService
protected DhcpService dhcpService
inFirewallRule
protected boolean inFirewallRule
firewallRuleEnabled
protected boolean firewallRuleEnabled
firewallRuleDescription
protected String firewallRuleDescription
firewallPolicy
protected FirewallPolicy firewallPolicy
tcp
protected boolean tcp
udp
protected boolean udp
protocols
protected FirewallProtocols protocols
port
protected int port
destinationIp
protected String destinationIp
firewallRules
protected List<FirewallRule> firewallRules
firewallService
protected FirewallService firewallService
natType
protected NatType natType
natPolicy
protected NatPolicy natPolicy
mappingMode
protected MappingMode mappingMode
externalIP
protected String externalIP
vAppScopedVmId
protected String vAppScopedVmId
vmNicId
protected int vmNicId
externalPort
protected int externalPort
internalIP
protected String internalIP
internalPort
protected int internalPort
natProtocol
protected NatProtocol natProtocol
vAppScopedLocalId
protected String vAppScopedLocalId
natRules
protected List<NatRule> natRules
natService
protected NatService natService
features
protected Features features
configuration
protected OrgNetwork.Configuration configuration
networkPool
protected ReferenceType networkPool
allowedExternalIpAddresses
protected Set<String> allowedExternalIpAddresses
OrgNetworkHandler
@Inject
public OrgNetworkHandler(TaskHandler taskHandler)
getResult
public OrgNetwork getResult()
- Specified by:
getResult
in class ParseSax.HandlerWithResult<OrgNetwork>
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attrs)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String name,
String qName)
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class org.xml.sax.helpers.DefaultHandler
currentOrNull
protected String currentOrNull()
Copyright © 2009-2011 jclouds. All Rights Reserved.