Class SaxPomHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
fr.paris.lutece.plugins.releaser.util.pom.SaxPomHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String uri, String localName, String qName) Returns Core versionReturns JIRA keyReturns Parent Pom versionReturns the SCM ConnectionReturns the SCM Developer ConnectionReturns 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, warningMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
SaxPomHandler
public SaxPomHandler()
-
-
Method Details
-
getParentPomVersion
Returns Parent Pom version- Returns:
- The Parent Pom version
-
getCoreVersion
Returns Core version- Returns:
- The Core version
-
getJiraKey
Returns JIRA key- Returns:
- The JIRA key
-
getScmUrl
Returns the SCM URL- Returns:
- The SCM URL
-
getScmConnection
Returns the SCM Connection- Returns:
- The SCM Connection
-
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
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-