Class SaxPomHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- fr.paris.lutece.plugins.lutecetools.service.SaxPomHandler
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class SaxPomHandler extends DefaultHandler
SaxPomHandler
-
-
Constructor Summary
Constructors Constructor Description SaxPomHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)voidendElement(String uri, String localName, String qName)StringgetCoreVersion()Returns Core versionStringgetJiraKey()Returns JIRA keyStringgetParentPomVersion()Returns Parent Pom versionStringgetScmConnection()Returns the SCM ConnectionStringgetScmDeveloperConnection()Returns the SCM Developer ConnectionStringgetScmUrl()Returns the SCM URLvoidstartElement(String uri, String localName, String qName, Attributes attributes)-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
getParentPomVersion
public String getParentPomVersion()
Returns Parent Pom version- Returns:
- The Parent Pom version
-
getCoreVersion
public String getCoreVersion()
Returns Core version- Returns:
- The Core version
-
getJiraKey
public String getJiraKey()
Returns JIRA key- Returns:
- The JIRA key
-
getScmUrl
public String getScmUrl()
Returns the SCM URL- Returns:
- The SCM URL
-
getScmConnection
public String getScmConnection()
Returns the SCM Connection- Returns:
- The SCM Connection
-
getScmDeveloperConnection
public String getScmDeveloperConnection()
Returns the SCM Developer Connection- Returns:
- the SCM Developer Connection
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length) throws SAXException- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
-