@Retention(value=RUNTIME) public @interface PathMatch
Примеры:
@PathMatch(enter = "tag/subtag")
public void begin( XEventPath path ){ ... }
@PathMatch(exit = "/root/subtag")
public void finish( XEventPath path ){ ... }
@PathMatch(content = "tag1")
public void finish( XEventPath path, String content ){ ... }
@PathMatch(content = "tag2")
public void finish( String content, XEventPath path ){ ... }
Copyright © 2018. All rights reserved.