Package org.jclouds.cim.xml
Class ResourceAllocationSettingDataHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jclouds.http.functions.ParseSax.HandlerWithResult<ResourceAllocationSettingData>
-
- org.jclouds.cim.xml.ResourceAllocationSettingDataHandler
-
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<ResourceAllocationSettingData>>
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class ResourceAllocationSettingDataHandler extends ParseSax.HandlerWithResult<ResourceAllocationSettingData>
-
-
Field Summary
Fields Modifier and Type Field Description protected ResourceAllocationSettingData.Builder
builder
protected StringBuilder
currentText
-
Constructor Summary
Constructors Constructor Description ResourceAllocationSettingDataHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(String uri, String localName, String qName)
ResourceAllocationSettingData
getResult()
void
startElement(String uri, String localName, String qName, Attributes attrs)
-
Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult
getRequest, setContext
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Field Detail
-
currentText
protected StringBuilder currentText
-
builder
protected ResourceAllocationSettingData.Builder builder
-
-
Method Detail
-
getResult
public ResourceAllocationSettingData getResult()
- Specified by:
getResult
in classParseSax.HandlerWithResult<ResourceAllocationSettingData>
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attrs)
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
endElement
public void endElement(String uri, String localName, String qName)
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length)
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
-