returns the location of an element dom flavor . concode_field_sep String PREFIX concode_elem_sep String URI concode_elem_sep String Q_LINE_ATTR concode_elem_sep ContentHandler nextHandler concode_elem_sep String SRC_ATTR concode_elem_sep String Q_COL_ATTR concode_elem_sep String COL_ATTR concode_elem_sep Locator locator concode_elem_sep String LINE_ATTR concode_elem_sep String Q_SRC_ATTR concode_field_sep void endPrefixMapping concode_elem_sep void startElement concode_elem_sep Attributes addLocationAttributes concode_elem_sep int getLine concode_elem_sep int getLine concode_elem_sep String getLocationString concode_elem_sep String getLocationString concode_elem_sep void startDocument concode_elem_sep void endDocument concode_elem_sep void remove concode_elem_sep void characters concode_elem_sep void endElement concode_elem_sep void startPrefixMapping concode_elem_sep void skippedEntity concode_elem_sep int getColumn concode_elem_sep int getColumn concode_elem_sep void setDocumentLocator concode_elem_sep void ignorableWhitespace concode_elem_sep String getURI concode_elem_sep String getURI concode_elem_sep void processingInstruction
Location function ( Element arg0 , String arg1 ) { Attr loc0 = arg0 . getAttributeNodeNS ( URI , SRC_ATTR ) ; if ( loc0 == null ) { return Location . UNKNOWN ; } return new LocationImpl ( arg1 == null ? arg0 . getNodeName ( ) : arg1 , loc0 . getValue ( ) , getLine ( arg0 ) , getColumn ( arg0 ) ) ; }