Java Doc for AntXMLContext.java in  » Build » ANT » org » apache » tools » ant » helper » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Build » ANT » org.apache.tools.ant.helper 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.tools.ant.helper.AntXMLContext

AntXMLContext
public class AntXMLContext (Code)
Context information for the ant processing.



Constructor Summary
public  AntXMLContext(Project project)
    

Method Summary
public  voidaddTarget(Target target)
    
public  voidconfigureId(Object element, Attributes attr)
     Scans an attribute list for the id attribute and stores a reference to the target object in the project if an id is found.
public  RuntimeConfigurablecurrentWrapper()
    
public  voidendPrefixMapping(String prefix)
     End of prefix to uri mapping.
public  FilegetBuildFile()
    
public  FilegetBuildFileParent()
    
public  StringgetCurrentProjectName()
    
public  TargetgetCurrentTarget()
    
public  MapgetCurrentTargets()
     Get the targets in the current source file.
public  TargetgetImplicitTarget()
    
public  LocatorgetLocator()
    
public  StringgetPrefixMapping(String prefix)
    
public  ProjectgetProject()
    
public  VectorgetTargets()
    
public  VectorgetWrapperStack()
    
public  booleanisIgnoringProjectTag()
    
public  RuntimeConfigurableparentWrapper()
    
public  voidpopWrapper()
    
public  voidpushWrapper(RuntimeConfigurable wrapper)
    
public  voidsetBuildFile(File buildFile)
    
public  voidsetCurrentProjectName(String name)
    
public  voidsetCurrentTarget(Target target)
    
public  voidsetCurrentTargets(Map currentTargets)
     Set the map of the targets in the current source file.
public  voidsetIgnoreProjectTag(boolean flag)
    
public  voidsetImplicitTarget(Target target)
    
public  voidsetLocator(Locator locator)
    
public  voidstartPrefixMapping(String prefix, String uri)
     Called during parsing, stores the prefix to uri mapping.


Constructor Detail
AntXMLContext
public AntXMLContext(Project project)(Code)
constructor
Parameters:
  project - the project to which this antxml context belongs to




Method Detail
addTarget
public void addTarget(Target target)(Code)
add a new target
Parameters:
  target - target to add



configureId
public void configureId(Object element, Attributes attr)(Code)
Scans an attribute list for the id attribute and stores a reference to the target object in the project if an id is found.

This method was moved out of the configure method to allow it to be executed at parse time.
Parameters:
  element - the current element
Parameters:
  attr - attributes of the current element




currentWrapper
public RuntimeConfigurable currentWrapper()(Code)
get the current runtime configurable wrapper can return null runtime configurable wrapper



endPrefixMapping
public void endPrefixMapping(String prefix)(Code)
End of prefix to uri mapping.
Parameters:
  prefix - the namespace prefix



getBuildFile
public File getBuildFile()(Code)
find out the build file the build file to which the xml context belongs



getBuildFileParent
public File getBuildFileParent()(Code)
find out the parent build file of this build file the parent build file of this build file



getCurrentProjectName
public String getCurrentProjectName()(Code)
find out the current project name current project name



getCurrentTarget
public Target getCurrentTarget()(Code)
get the current target current target



getCurrentTargets
public Map getCurrentTargets()(Code)
Get the targets in the current source file. the current targets.



getImplicitTarget
public Target getImplicitTarget()(Code)
get the implicit target implicit target



getLocator
public Locator getLocator()(Code)
access the locator locator



getPrefixMapping
public String getPrefixMapping(String prefix)(Code)
prefix to namespace uri mapping
Parameters:
  prefix - the prefix to map the uri for this prefix, null if not present



getProject
public Project getProject()(Code)
find out the project to which this antxml context belongs project



getTargets
public Vector getTargets()(Code)
access the vector of targets vector of targets



getWrapperStack
public Vector getWrapperStack()(Code)
access the stack of wrappers the stack of wrappers



isIgnoringProjectTag
public boolean isIgnoringProjectTag()(Code)
tells whether the project tag is being ignored whether the project tag is being ignored



parentWrapper
public RuntimeConfigurable parentWrapper()(Code)
get the runtime configurable wrapper of the parent project can return null runtime configurable wrapper of the parent project



popWrapper
public void popWrapper()(Code)
remove a runtime configurable wrapper from the stack



pushWrapper
public void pushWrapper(RuntimeConfigurable wrapper)(Code)
add a runtime configurable wrapper to the internal stack
Parameters:
  wrapper - runtime configurable wrapper



setBuildFile
public void setBuildFile(File buildFile)(Code)
sets the build file to which the XML context belongs
Parameters:
  buildFile - ant build file



setCurrentProjectName
public void setCurrentProjectName(String name)(Code)
set the name of the current project
Parameters:
  name - name of the current project



setCurrentTarget
public void setCurrentTarget(Target target)(Code)
sets the current target
Parameters:
  target - current target



setCurrentTargets
public void setCurrentTargets(Map currentTargets)(Code)
Set the map of the targets in the current source file.
Parameters:
  currentTargets - a map of targets.



setIgnoreProjectTag
public void setIgnoreProjectTag(boolean flag)(Code)
sets the flag to ignore the project tag
Parameters:
  flag - to ignore the project tag



setImplicitTarget
public void setImplicitTarget(Target target)(Code)
sets the implicit target
Parameters:
  target - the implicit target



setLocator
public void setLocator(Locator locator)(Code)
sets the locator
Parameters:
  locator - locator



startPrefixMapping
public void startPrefixMapping(String prefix, String uri)(Code)
Called during parsing, stores the prefix to uri mapping.
Parameters:
  prefix - a namespace prefix
Parameters:
  uri - a namespace uri



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.