Public Types | |
Public constants | |
| enum | ValSchemes { Val_Never, Val_Always, Val_Auto } |
| ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors. More... | |
Public Member Functions | |
Destructor | |
| virtual | ~AbstractDOMParser () |
| Destructor. | |
Utility methods | |
| void | reset () |
| Reset the parser. | |
| DOMDocument * | adoptDocument () |
| Adopt the DOM document. | |
Getter methods | |
| DOMDocument * | getDocument () |
| Get the DOM document. | |
| const XMLValidator & | getValidator () const |
| Get a const reference to the validator. | |
| ValSchemes | getValidationScheme () const |
| This method returns an enumerated value that indicates the current validation scheme set on this parser. | |
| bool | getDoSchema () const |
| Get the 'do schema' flag. | |
| bool | getValidationSchemaFullChecking () const |
| Get the 'full schema constraint checking' flag. | |
| bool | getIdentityConstraintChecking () const |
| Get the identity constraint checking' flag. | |
| XMLSize_t | getErrorCount () const |
| Get error count from the last parse operation. | |
| bool | getDoNamespaces () const |
| Get the 'do namespaces' flag. | |
| bool | getExitOnFirstFatalError () const |
| Get the 'exit on first error' flag. | |
| bool | getValidationConstraintFatal () const |
| This method returns the state of the parser's validation-constraint-fatal flag. | |
| bool | getCreateEntityReferenceNodes () const |
| Get the 'include entity references' flag. | |
| bool | getIncludeIgnorableWhitespace () const |
| Get the 'include ignorable whitespace' flag. | |
| XMLCh * | getExternalSchemaLocation () const |
| Get the set of Namespace/SchemaLocation that is specified externally. | |
| XMLCh * | getExternalNoNamespaceSchemaLocation () const |
| Get the noNamespace SchemaLocation that is specified externally. | |
| SecurityManager * | getSecurityManager () const |
| Get the SecurityManager instance attached to this parser. | |
| const XMLSize_t & | getLowWaterMark () const |
| Get the raw buffer low water mark for this parser. | |
| bool | getLoadExternalDTD () const |
| Get the 'Loading External DTD' flag. | |
| bool | getLoadSchema () const |
| Get the 'Loading Schema' flag. | |
| bool | getCreateCommentNodes () const |
| Get the 'create comment node' flag. | |
| bool | getCalculateSrcOfs () const |
| Get the 'calculate src offset flag'. | |
| bool | getStandardUriConformant () const |
| Get the 'force standard uri flag'. | |
| PSVIHandler * | getPSVIHandler () |
| This method returns the installed PSVI handler. | |
| const PSVIHandler * | getPSVIHandler () const |
| This method returns the installed PSVI handler. | |
| bool | getCreateSchemaInfo () const |
| Get the 'associate schema info' flag. | |
| bool | getDoXInclude () const |
| Get the 'do XInclude' flag. | |
| bool | getGenerateSyntheticAnnotations () const |
| Get the 'generate synthetic annotations' flag. | |
| bool | getValidateAnnotations () const |
| Get the 'validate annotations' flag. | |
| bool | getIgnoreAnnotations () const |
| Get the 'ignore annotations' flag. | |
| bool | getDisableDefaultEntityResolution () const |
| Get the 'disable default entity resolution' flag. | |
| bool | getSkipDTDValidation () const |
| Get the 'skip DTD validation' flag. | |
| bool | getHandleMultipleImports () const |
| Get the 'handle multiple schema imports' flag. | |
Setter methods | |
| void | setGenerateSyntheticAnnotations (const bool newValue) |
| set the 'generate synthetic annotations' flag | |
| void | setValidateAnnotations (const bool newValue) |
| set the 'validlate annotations' flag | |
| void | setDoNamespaces (const bool newState) |
| Set the 'do namespaces' flag. | |
| void | setExitOnFirstFatalError (const bool newState) |
| Set the 'exit on first error' flag. | |
| void | setValidationConstraintFatal (const bool newState) |
| This method allows users to set the parser's behaviour when it encounters a validation constraint error. | |
| void | setCreateEntityReferenceNodes (const bool create) |
| Set the 'include entity references' flag. | |
| void | setIncludeIgnorableWhitespace (const bool include) |
| Set the 'include ignorable whitespace' flag. | |
| void | setValidationScheme (const ValSchemes newScheme) |
| This method allows users to set the validation scheme to be used by this parser. | |
| void | setDoSchema (const bool newState) |
| Set the 'do schema' flag. | |
| void | setValidationSchemaFullChecking (const bool schemaFullChecking) |
| This method allows the user to turn full Schema constraint checking on/off. | |
| void | setIdentityConstraintChecking (const bool newState) |
| This method allows users to enable or disable the parser's identity constraint checks. | |
| void | setExternalSchemaLocation (const XMLCh *const schemaLocation) |
| This method allows the user to specify a list of schemas to use. | |
| void | setExternalSchemaLocation (const char *const schemaLocation) |
| This method is same as setExternalSchemaLocation(const XMLCh* const). | |
| void | setExternalNoNamespaceSchemaLocation (const XMLCh *const noNamespaceSchemaLocation) |
| This method allows the user to specify the no target namespace XML Schema Location externally. | |
| void | setExternalNoNamespaceSchemaLocation (const char *const noNamespaceSchemaLocation) |
| This method is same as setExternalNoNamespaceSchemaLocation(const XMLCh* const). | |
| void | setSecurityManager (SecurityManager *const securityManager) |
| This allows an application to set a SecurityManager on the parser; this object stores information that various components use to limit their consumption of system resources while processing documents. | |
| void | setLowWaterMark (XMLSize_t lwm) |
| Set the raw buffer low water mark for this parser. | |
| void | setLoadExternalDTD (const bool newState) |
| Set the 'Loading External DTD' flag. | |
| void | setLoadSchema (const bool newState) |
| Set the 'Loading Schema' flag. | |
| void | setCreateCommentNodes (const bool create) |
| Set the 'create comment nodes' flag. | |
| void | setCalculateSrcOfs (const bool newState) |
| Enable/disable src offset calculation. | |
| void | setStandardUriConformant (const bool newState) |
| Force standard uri. | |
| void | useScanner (const XMLCh *const scannerName) |
| Set the scanner to use when scanning the XML document. | |
| void | useImplementation (const XMLCh *const implementationFeatures) |
| Set the implementation to use when creating the document. | |
| virtual void | setPSVIHandler (PSVIHandler *const handler) |
| This method installs the user specified PSVI handler on the parser. | |
| void | setCreateSchemaInfo (const bool newState) |
| Set the 'associate schema info' flag. | |
| void | setDoXInclude (const bool newState) |
| Set the 'do XInclude' flag. | |
| void | setIgnoreAnnotations (const bool newValue) |
| Set the 'ignore annotation' flag. | |
| void | setDisableDefaultEntityResolution (const bool newValue) |
| Set the 'disable default entity resolution' flag. | |
| void | setSkipDTDValidation (const bool newValue) |
| Set the 'skip DTD validation' flag. | |
| void | setHandleMultipleImports (const bool newValue) |
| Set the 'handle multiple schema imports' flag. | |
Parsing methods | |
| void | parse (const InputSource &source) |
| Parse via an input source object. | |
| void | parse (const XMLCh *const systemId) |
| Parse via a file path or URL. | |
| void | parse (const char *const systemId) |
| Parse via a file path or URL (in the local code page). | |
| bool | parseFirst (const XMLCh *const systemId, XMLPScanToken &toFill) |
| Begin a progressive parse operation. | |
| bool | parseFirst (const char *const systemId, XMLPScanToken &toFill) |
| Begin a progressive parse operation. | |
| bool | parseFirst (const InputSource &source, XMLPScanToken &toFill) |
| Begin a progressive parse operation. | |
| bool | parseNext (XMLPScanToken &token) |
| Continue a progressive parse operation. | |
| void | parseReset (XMLPScanToken &token) |
| Reset the parser after a progressive parse. | |
Implementation of the PSVIHandler interface. | |
| virtual void | handleElementPSVI (const XMLCh *const localName, const XMLCh *const uri, PSVIElement *elementInfo) |
| Receive notification of the PSVI properties of an element. | |
| virtual void | handlePartialElementPSVI (const XMLCh *const localName, const XMLCh *const uri, PSVIElement *elementInfo) |
| Receive notification of partial PSVI properties of an element. | |
| virtual void | handleAttributesPSVI (const XMLCh *const localName, const XMLCh *const uri, PSVIAttributeList *psviAttributes) |
| Enables PSVI information about attributes to be passed back to the application. | |
Implementation of the XMLDocumentHandler interface. | |
| virtual void | docCharacters (const XMLCh *const chars, const XMLSize_t length, const bool cdataSection) |
| Handle document character events. | |
| virtual void | docComment (const XMLCh *const comment) |
| Handle a document comment event. | |
| virtual void | docPI (const XMLCh *const target, const XMLCh *const data) |
| Handle a document PI event. | |
| virtual void | endDocument () |
| Handle the end of document event. | |
| virtual void | endElement (const XMLElementDecl &elemDecl, const unsigned int urlId, const bool isRoot, const XMLCh *const elemPrefix) |
| Handle and end of element event. | |
| virtual void | endEntityReference (const XMLEntityDecl &entDecl) |
| Handle and end of entity reference event. | |
| virtual void | ignorableWhitespace (const XMLCh *const chars, const XMLSize_t length, const bool cdataSection) |
| Handle an ignorable whitespace vent. | |
| virtual void | resetDocument () |
| Handle a document reset event. | |
| virtual void | startDocument () |
| Handle a start document event. | |
| virtual void | startElement (const XMLElementDecl &elemDecl, const unsigned int urlId, const XMLCh *const elemPrefix, const RefVectorOf< XMLAttr > &attrList, const XMLSize_t attrCount, const bool isEmpty, const bool isRoot) |
| Handle a start element event. | |
| virtual void | startEntityReference (const XMLEntityDecl &entDecl) |
| Handle a start entity reference event. | |
| virtual void | XMLDecl (const XMLCh *const versionStr, const XMLCh *const encodingStr, const XMLCh *const standaloneStr, const XMLCh *const actualEncStr) |
| Handle an XMLDecl event. | |
Deprecated DocTypeHandler Interfaces | |
| virtual void | attDef (const DTDElementDecl &elemDecl, const DTDAttDef &attDef, const bool ignoring) |
| virtual void | doctypeComment (const XMLCh *const comment) |
| virtual void | doctypeDecl (const DTDElementDecl &elemDecl, const XMLCh *const publicId, const XMLCh *const systemId, const bool hasIntSubset, const bool hasExtSubset=false) |
| virtual void | doctypePI (const XMLCh *const target, const XMLCh *const data) |
| virtual void | doctypeWhitespace (const XMLCh *const chars, const XMLSize_t length) |
| virtual void | elementDecl (const DTDElementDecl &decl, const bool isIgnored) |
| virtual void | endAttList (const DTDElementDecl &elemDecl) |
| virtual void | endIntSubset () |
| virtual void | endExtSubset () |
| virtual void | entityDecl (const DTDEntityDecl &entityDecl, const bool isPEDecl, const bool isIgnored) |
| virtual void | resetDocType () |
| virtual void | notationDecl (const XMLNotationDecl ¬Decl, const bool isIgnored) |
| virtual void | startAttList (const DTDElementDecl &elemDecl) |
| virtual void | startIntSubset () |
| virtual void | startExtSubset () |
| virtual void | TextDecl (const XMLCh *const versionStr, const XMLCh *const encodingStr) |
Protected Member Functions | |
| virtual DOMCDATASection * | createCDATASection (const XMLCh *, XMLSize_t) |
| virtual DOMText * | createText (const XMLCh *, XMLSize_t) |
| virtual DOMElement * | createElement (const XMLCh *name) |
| virtual DOMElement * | createElementNS (const XMLCh *namespaceURI, const XMLCh *elemPrefix, const XMLCh *localName, const XMLCh *qName) |
| virtual DOMAttr * | createAttr (const XMLCh *name) |
| virtual DOMAttr * | createAttrNS (const XMLCh *namespaceURI, const XMLCh *elemPrefix, const XMLCh *localName, const XMLCh *qName) |
Constructors | |
| AbstractDOMParser (XMLValidator *const valToAdopt=0, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager, XMLGrammarPool *const gramPool=0) | |
| Construct a AbstractDOMParser, with an optional validator. | |
Protected getter methods | |
| DOMNode * | getCurrentNode () |
| Get the current DOM node. | |
| XMLScanner * | getScanner () const |
| Get the XML scanner. | |
| GrammarResolver * | getGrammarResolver () const |
| Get the Grammar resolver. | |
| bool | getParseInProgress () const |
| Get the parse in progress flag. | |
| MemoryManager * | getMemoryManager () const |
Protected setter methods | |
| void | setCurrentNode (DOMNode *toSet) |
| Set the current DOM node. | |
| void | setDocument (DOMDocument *toSet) |
| Set the document node. | |
| void | setParseInProgress (const bool toSet) |
| Set the parse in progress flag. | |
Protected helper methods | |
| void | resetPool () |
| bool | isDocumentAdopted () const |
| Returns true if the user has adopted the document. | |
Protected Attributes | |
| bool | fCreateEntityReferenceNodes |
| bool | fIncludeIgnorableWhitespace |
| bool | fWithinElement |
| bool | fParseInProgress |
| bool | fCreateCommentNodes |
| bool | fDocumentAdoptedByUser |
| bool | fCreateSchemaInfo |
| bool | fDoXInclude |
| XMLScanner * | fScanner |
| XMLCh * | fImplementationFeatures |
| DOMNode * | fCurrentParent |
| DOMNode * | fCurrentNode |
| DOMEntityImpl * | fCurrentEntity |
| DOMDocumentImpl * | fDocument |
| DOMDocumentTypeImpl * | fDocumentType |
| RefVectorOf< DOMDocumentImpl > * | fDocumentVector |
| GrammarResolver * | fGrammarResolver |
| XMLStringPool * | fURIStringPool |
| XMLValidator * | fValidator |
| MemoryManager * | fMemoryManager |
| XMLGrammarPool * | fGrammarPool |
| XMLBufferMgr | fBufMgr |
| XMLBuffer & | fInternalSubset |
| PSVIHandler * | fPSVIHandler |
It is used as a base for DOM parsers (i.e. XercesDOMParser, DOMLSParser).
ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors.
Val_Always: The parser will always report validation errors. Val_Auto: The parser will report validation errors only if a grammar is specified.
| virtual AbstractDOMParser::~AbstractDOMParser | ( | ) | [virtual] |
Destructor.
| AbstractDOMParser::AbstractDOMParser | ( | XMLValidator *const | valToAdopt = 0 , |
|
| MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager , |
|||
| XMLGrammarPool *const | gramPool = 0 | |||
| ) | [protected] |
Construct a AbstractDOMParser, with an optional validator.
Constructor with an instance of validator class to use for validation. If you don't provide a validator, a default one will be created for you in the scanner.
| valToAdopt | Pointer to the validator instance to use. The parser is responsible for freeing the memory. | |
| gramPool | Pointer to the grammar pool instance from external application (through derivatives). The parser does NOT own it. | |
| manager | Pointer to the memory manager to be used to allocate objects. |
| void AbstractDOMParser::reset | ( | ) |
Reset the parser.
This method resets the state of the DOM driver and makes it ready for a fresh parse run.
| DOMDocument* AbstractDOMParser::adoptDocument | ( | ) |
Adopt the DOM document.
This method returns the DOMDocument object representing the root of the document tree.
The caller will adopt the DOMDocument and thus is responsible to call DOMDocument::release() to release the associated memory. The parser will not delete it. The ownership is transferred from the parser to the caller.
| DOMDocument* AbstractDOMParser::getDocument | ( | ) |
Get the DOM document.
This method returns the DOMDocument object representing the root of the document tree. This object provides the primary access to the document's data.
The returned DOMDocument object is owned by the parser.
| const XMLValidator& AbstractDOMParser::getValidator | ( | ) | const |
Get a const reference to the validator.
This method returns a reference to the parser's installed validator.
| ValSchemes AbstractDOMParser::getValidationScheme | ( | ) | const |
This method returns an enumerated value that indicates the current validation scheme set on this parser.
| bool AbstractDOMParser::getDoSchema | ( | ) | const |
Get the 'do schema' flag.
This method returns the state of the parser's schema processing flag.
| bool AbstractDOMParser::getValidationSchemaFullChecking | ( | ) | const |
Get the 'full schema constraint checking' flag.
This method returns the state of the parser's full schema constraint checking flag.
| bool AbstractDOMParser::getIdentityConstraintChecking | ( | ) | const |
Get the identity constraint checking' flag.
This method returns the state of the parser's identity constraint checking flag.
| XMLSize_t AbstractDOMParser::getErrorCount | ( | ) | const |
Get error count from the last parse operation.
This method returns the error count from the last parse operation. Note that this count is actually stored in the scanner, so this method simply returns what the scanner reports.
| bool AbstractDOMParser::getDoNamespaces | ( | ) | const |
Get the 'do namespaces' flag.
This method returns the state of the parser's namespace processing flag.
| bool AbstractDOMParser::getExitOnFirstFatalError | ( | ) | const |
Get the 'exit on first error' flag.
This method returns the state of the parser's exit-on-First-Fatal-Error flag. If this flag is true, then the parse will exit the first time it sees any non-wellformed XML or any validity error. The default state is true.
| bool AbstractDOMParser::getValidationConstraintFatal | ( | ) | const |
This method returns the state of the parser's validation-constraint-fatal flag.
| bool AbstractDOMParser::getCreateEntityReferenceNodes | ( | ) | const |
Get the 'include entity references' flag.
This method returns the flag that specifies whether the parser is creating entity reference nodes in the DOM tree being produced.
References fCreateEntityReferenceNodes.
| bool AbstractDOMParser::getIncludeIgnorableWhitespace | ( | ) | const |
Get the 'include ignorable whitespace' flag.
This method returns the state of the parser's include ignorable whitespace flag.
References fIncludeIgnorableWhitespace.
| XMLCh* AbstractDOMParser::getExternalSchemaLocation | ( | ) | const |
Get the set of Namespace/SchemaLocation that is specified externally.
This method returns the list of Namespace/SchemaLocation that was specified using setExternalSchemaLocation.
The parser owns the returned string, and the memory allocated for the returned string will be destroyed when the parser is deleted.
To ensure accessibility of the returned information after the parser is deleted, callers need to copy and store the returned information somewhere else.
| XMLCh* AbstractDOMParser::getExternalNoNamespaceSchemaLocation | ( | ) | const |
Get the noNamespace SchemaLocation that is specified externally.
This method returns the no target namespace XML Schema Location that was specified using setExternalNoNamespaceSchemaLocation.
The parser owns the returned string, and the memory allocated for the returned string will be destroyed when the parser is deleted.
To ensure accessibility of the returned information after the parser is deleted, callers need to copy and store the returned information somewhere else.
| SecurityManager* AbstractDOMParser::getSecurityManager | ( | ) | const |
Get the SecurityManager instance attached to this parser.
This method returns the security manager that was specified using setSecurityManager.
The SecurityManager instance must have been specified by the application; this should not be deleted until after the parser has been deleted (or a new SecurityManager instance has been supplied to the parser).
| const XMLSize_t& AbstractDOMParser::getLowWaterMark | ( | ) | const |
Get the raw buffer low water mark for this parser.
If the number of available bytes in the raw buffer is less than the low water mark the parser will attempt to read more data before continuing parsing. By default the value for this parameter is 100 bytes. You may want to set this parameter to 0 if you would like the parser to parse the available data immediately without potentially blocking while waiting for more date.
| bool AbstractDOMParser::getLoadExternalDTD | ( | ) | const |
Get the 'Loading External DTD' flag.
This method returns the state of the parser's loading external DTD flag.
| bool AbstractDOMParser::getLoadSchema | ( | ) | const |
Get the 'Loading Schema' flag.
This method returns the state of the parser's loading schema flag.
| bool AbstractDOMParser::getCreateCommentNodes | ( | ) | const |
Get the 'create comment node' flag.
This method returns the flag that specifies whether the parser is creating comment nodes in the DOM tree being produced.
References fCreateCommentNodes.
| bool AbstractDOMParser::getCalculateSrcOfs | ( | ) | const |
Get the 'calculate src offset flag'.
This method returns the state of the parser's src offset calculation when parsing an XML document.
| bool AbstractDOMParser::getStandardUriConformant | ( | ) | const |
Get the 'force standard uri flag'.
This method returns the state if the parser forces standard uri
| PSVIHandler * AbstractDOMParser::getPSVIHandler | ( | ) |
This method returns the installed PSVI handler.
Suitable for 'lvalue' usages.
References fPSVIHandler.
| const PSVIHandler * AbstractDOMParser::getPSVIHandler | ( | ) | const |
This method returns the installed PSVI handler.
Suitable for 'rvalue' usages.
References fPSVIHandler.
| bool AbstractDOMParser::getCreateSchemaInfo | ( | ) | const |
Get the 'associate schema info' flag.
This method returns the flag that specifies whether the parser is storing schema informations in the element and attribute nodes in the DOM tree being produced.
References fCreateSchemaInfo.
| bool AbstractDOMParser::getDoXInclude | ( | ) | const |
Get the 'do XInclude' flag.
This method returns the flag that specifies whether the parser will process XInclude nodes in the DOM tree being produced.
References fDoXInclude.
| bool AbstractDOMParser::getGenerateSyntheticAnnotations | ( | ) | const |
Get the 'generate synthetic annotations' flag.
| bool AbstractDOMParser::getValidateAnnotations | ( | ) | const |
Get the 'validate annotations' flag.
| bool AbstractDOMParser::getIgnoreAnnotations | ( | ) | const |
Get the 'ignore annotations' flag.
| bool AbstractDOMParser::getDisableDefaultEntityResolution | ( | ) | const |
Get the 'disable default entity resolution' flag.
| bool AbstractDOMParser::getSkipDTDValidation | ( | ) | const |
Get the 'skip DTD validation' flag.
| bool AbstractDOMParser::getHandleMultipleImports | ( | ) | const |
Get the 'handle multiple schema imports' flag.
| void AbstractDOMParser::setGenerateSyntheticAnnotations | ( | const bool | newValue | ) |
set the 'generate synthetic annotations' flag
| newValue | The value for specifying whether Synthetic Annotations should be generated or not. A synthetic XSAnnotation is created when a schema component has non-schema attributes but has no child annotations so that the non-schema attributes can be recovered under PSVI. |
| void AbstractDOMParser::setValidateAnnotations | ( | const bool | newValue | ) |
set the 'validlate annotations' flag
| newValue | The value for specifying whether Annotations should be validated or not. |
| void AbstractDOMParser::setDoNamespaces | ( | const bool | newState | ) |
Set the 'do namespaces' flag.
This method allows users to enable or disable the parser's namespace processing. When set to true, parser starts enforcing all the constraints and rules specified by the NameSpace specification.
The parser's default state is: false.
| newState | The value specifying whether NameSpace rules should be enforced or not. |
| void AbstractDOMParser::setExitOnFirstFatalError | ( | const bool | newState | ) |
Set the 'exit on first error' flag.
This method allows users to set the parser's behaviour when it encounters the first fatal error. If set to true, the parser will exit at the first fatal error. If false, then it will report the error and continue processing.
The default value is 'true' and the parser exits on the first fatal error.
| newState | The value specifying whether the parser should continue or exit when it encounters the first fatal error. |
| void AbstractDOMParser::setValidationConstraintFatal | ( | const bool | newState | ) |
This method allows users to set the parser's behaviour when it encounters a validation constraint error.
If set to true, and the the parser will treat validation error as fatal and will exit depends on the state of "getExitOnFirstFatalError". If false, then it will report the error and continue processing.
Note: setting this true does not mean the validation error will be printed with the word "Fatal Error". It is still printed as "Error", but the parser will exit if "setExitOnFirstFatalError" is set to true.
The default value is 'false'.
| newState | If true, the parser will exit if "setExitOnFirstFatalError" is set to true. |
| void AbstractDOMParser::setCreateEntityReferenceNodes | ( | const bool | create | ) |
Set the 'include entity references' flag.
This method allows the user to specify whether the parser should create entity reference nodes in the DOM tree being produced. When the 'create' flag is true, the parser will create EntityReference nodes in the DOM tree. The EntityReference nodes and their child nodes will be read-only. When the 'create' flag is false, no EntityReference nodes will be created.
The replacement text of the entity is included in either case, either as a child of the Entity Reference node or in place at the location of the reference.
The default value is 'true'.
| create | The new state of the create entity reference nodes flag. |
References fCreateEntityReferenceNodes.
| void AbstractDOMParser::setIncludeIgnorableWhitespace | ( | const bool | include | ) |
Set the 'include ignorable whitespace' flag.
This method allows the user to specify whether a validating parser should include ignorable whitespaces as text nodes. It has no effect on non-validating parsers which always include non-markup text.
When set to true (also the default), ignorable whitespaces will be added to the DOM tree as text nodes. The method DOMText::isIgnorableWhitespace() will return true for those text nodes only.
When set to false, all ignorable whitespace will be discarded and no text node is added to the DOM tree. Note: applications intended to process the "xml:space" attribute should not set this flag to false. And this flag also overrides any schema datateye whitespace facets, that is, all ignorable whitespace will be discarded even though 'preserve' is set in schema datatype whitespace facets.
| include | The new state of the include ignorable whitespace flag. |
References fIncludeIgnorableWhitespace.
| void AbstractDOMParser::setValidationScheme | ( | const ValSchemes | newScheme | ) |
This method allows users to set the validation scheme to be used by this parser.
The value is one of the ValSchemes enumerated values defined by this class:
Val_Never - turn off validation
Val_Always - turn on validation
Val_Auto - turn on validation if any internal/external DTD subset have been seen
The parser's default state is: Val_Never.
| newScheme | The new validation scheme to use. |
| void AbstractDOMParser::setDoSchema | ( | const bool | newState | ) |
Set the 'do schema' flag.
This method allows users to enable or disable the parser's schema processing. When set to false, parser will not process any schema found.
The parser's default state is: false.
Note: If set to true, namespace processing must also be turned on.
| newState | The value specifying whether schema support should be enforced or not. |
| void AbstractDOMParser::setValidationSchemaFullChecking | ( | const bool | schemaFullChecking | ) |
This method allows the user to turn full Schema constraint checking on/off.
Only takes effect if Schema validation is enabled.
Full schema constraint checking includes those checking that may be time-consuming or memory intensive. Currently, particle unique attribution constraint checking and particle derivation restriction checking are controlled by this option.
The parser's default state is: false.
| schemaFullChecking | True to turn on full schema constraint checking. |
| void AbstractDOMParser::setIdentityConstraintChecking | ( | const bool | newState | ) |
This method allows users to enable or disable the parser's identity constraint checks.
By default, the parser does identity constraint checks. The default value is true.
| newState | The value specifying whether the parser should do identity constraint checks or not in the input XML document. |
| void AbstractDOMParser::setExternalSchemaLocation | ( | const XMLCh *const | schemaLocation | ) |
This method allows the user to specify a list of schemas to use.
If the targetNamespace of a schema specified using this method matches the targetNamespace of a schema occurring in the instance document in the schemaLocation attribute, or if the targetNamespace matches the namespace attribute of the "import" element, the schema specified by the user using this method will be used (i.e., the schemaLocation attribute in the instance document or on the "import" element will be effectively ignored).
If this method is called more than once, only the last one takes effect.
The syntax is the same as for schemaLocation attributes in instance documents: e.g, "http://www.example.com file_name.xsd". The user can specify more than one XML Schema in the list.
| schemaLocation | the list of schemas to use |
| void AbstractDOMParser::setExternalSchemaLocation | ( | const char *const | schemaLocation | ) |
This method is same as setExternalSchemaLocation(const XMLCh* const).
It takes native char string as parameter
| schemaLocation | the list of schemas to use |
| void AbstractDOMParser::setExternalNoNamespaceSchemaLocation | ( | const XMLCh *const | noNamespaceSchemaLocation | ) |
This method allows the user to specify the no target namespace XML Schema Location externally.
If specified, the instance document's noNamespaceSchemaLocation attribute will be effectively ignored.
If this method is called more than once, only the last one takes effect.
The syntax is the same as for the noNamespaceSchemaLocation attribute that may occur in an instance document: e.g."file_name.xsd".
| noNamespaceSchemaLocation | the XML Schema Location with no target namespace |
| void AbstractDOMParser::setExternalNoNamespaceSchemaLocation | ( | const char *const | noNamespaceSchemaLocation | ) |
This method is same as setExternalNoNamespaceSchemaLocation(const XMLCh* const).
It takes native char string as parameter
| noNamespaceSchemaLocation | the XML Schema Location with no target namespace |
| void AbstractDOMParser::setSecurityManager | ( | SecurityManager *const | securityManager | ) |
This allows an application to set a SecurityManager on the parser; this object stores information that various components use to limit their consumption of system resources while processing documents.
If this method is called more than once, only the last one takes effect. It may not be reset during a parse.
| securityManager | the SecurityManager instance to be used by this parser |
| void AbstractDOMParser::setLowWaterMark | ( | XMLSize_t | lwm | ) |
Set the raw buffer low water mark for this parser.
If the number of available bytes in the raw buffer is less than the low water mark the parser will attempt to read more data before continuing parsing. By default the value for this parameter is 100 bytes. You may want to set this parameter to 0 if you would like the parser to parse the available data immediately without potentially blocking while waiting for more date.
| lwm | new low water mark |
| void AbstractDOMParser::setLoadExternalDTD | ( | const bool | newState | ) |
Set the 'Loading External DTD' flag.
This method allows users to enable or disable the loading of external DTD. When set to false, the parser will ignore any external DTD completely if the validationScheme is set to Val_Never.
The parser's default state is: true.
This flag is ignored if the validationScheme is set to Val_Always or Val_Auto.
| newState | The value specifying whether external DTD should be loaded or not. |
| void AbstractDOMParser::setLoadSchema | ( | const bool | newState | ) |
Set the 'Loading Schema' flag.
This method allows users to enable or disable the loading of schemas. When set to false, the parser not attempt to load schemas beyond querying the grammar pool for them.
The parser's default state is: true.
| newState | The value specifying whether schemas should be loaded if they're not found in the grammar pool. |
| void AbstractDOMParser::setCreateCommentNodes | ( | const bool | create | ) |
Set the 'create comment nodes' flag.
This method allows the user to specify whether the parser should create comment nodes in the DOM tree being produced.
The default value is 'true'.
| create | The new state of the create comment nodes flag. |
References fCreateCommentNodes.
| void AbstractDOMParser::setCalculateSrcOfs | ( | const bool | newState | ) |
Enable/disable src offset calculation.
This method allows users to enable/disable src offset calculation. Disabling the calculation will improve performance.
The parser's default state is: false.
| newState | The value specifying whether we should enable or disable src offset calculation |
| void AbstractDOMParser::setStandardUriConformant | ( | const bool | newState | ) |
Force standard uri.
This method allows users to tell the parser to force standard uri conformance.
The parser's default state is: false.
| newState | The value specifying whether the parser should reject malformed URI. |
| void AbstractDOMParser::useScanner | ( | const XMLCh *const | scannerName | ) |
Set the scanner to use when scanning the XML document.
This method allows users to set the scanner to use when scanning a given XML document.
| scannerName | The name of the desired scanner |
| void AbstractDOMParser::useImplementation | ( | const XMLCh *const | implementationFeatures | ) |
Set the implementation to use when creating the document.
This method allows users to set the implementation to use to create the document when parseing.
| implementationFeatures | The names of the desired features the implementation should have. |
References MemoryManager::deallocate(), fImplementationFeatures, fMemoryManager, and XMLString::replicate().
| virtual void AbstractDOMParser::setPSVIHandler | ( | PSVIHandler *const | handler | ) | [virtual] |
This method installs the user specified PSVI handler on the parser.
| handler | A pointer to the PSVI handler to be called when the parser comes across 'PSVI' events as per the schema specification. |
| void AbstractDOMParser::setCreateSchemaInfo | ( | const bool | newState | ) |
Set the 'associate schema info' flag.
This method allows users to specify whether the parser should store schema informations in the element and attribute nodes in the DOM tree being produced.
| newState | The state to set |
| void AbstractDOMParser::setDoXInclude | ( | const bool | newState | ) |
Set the 'do XInclude' flag.
This method allows users to specify whether the parser should process XInclude nodes in the DOM tree being produced.
| newState | The state to set |
References fDoXInclude.
| void AbstractDOMParser::setIgnoreAnnotations | ( | const bool | newValue | ) |
Set the 'ignore annotation' flag.
This method gives users the option to not generate XSAnnotations when "traversing" a schema.
The parser's default state is false
| newValue | The state to set |
| void AbstractDOMParser::setDisableDefaultEntityResolution | ( | const bool | newValue | ) |
Set the 'disable default entity resolution' flag.
This method gives users the option to not perform default entity resolution. If the user's resolveEntity method returns NULL the parser will try to resolve the entity on its own. When this option is set to true, the parser will not attempt to resolve the entity when the resolveEntity method returns NULL.
The parser's default state is false
| newValue | The state to set |
| void AbstractDOMParser::setSkipDTDValidation | ( | const bool | newValue | ) |
Set the 'skip DTD validation' flag.
This method gives users the option to skip DTD validation only when schema validation is on (i.e. when performing validation, we will ignore the DTD, except for entities, when schema validation is enabled).
NOTE: This option is ignored if schema validation is disabled.
The parser's default state is false
| newValue | The state to set |
| void AbstractDOMParser::setHandleMultipleImports | ( | const bool | newValue | ) |
Set the 'handle multiple schema imports' flag.
This method gives users the ability to import multiple schemas that have the same namespace.
NOTE: This option is ignored if schema validation is disabled.
The parser's default state is false
| newValue | The state to set |
| void AbstractDOMParser::parse | ( | const InputSource & | source | ) |
Parse via an input source object.
This method invokes the parsing process on the XML file specified by the InputSource parameter. This API is borrowed from the SAX Parser interface.
| source | A const reference to the InputSource object which points to the XML file to be parsed. |
| SAXException | Any SAX exception, possibly wrapping another exception. | |
| XMLException | An exception from the parser or client handler code. | |
| DOMException | A DOM exception as per DOM spec. |
| void AbstractDOMParser::parse | ( | const XMLCh *const | systemId | ) |
Parse via a file path or URL.
This method invokes the parsing process on the XML file specified by the Unicode string parameter 'systemId'. This method is borrowed from the SAX Parser interface.
| systemId | A const XMLCh pointer to the Unicode string which contains the path to the XML file to be parsed. |
| SAXException | Any SAX exception, possibly wrapping another exception. | |
| XMLException | An exception from the parser or client handler code. | |
| DOMException | A DOM exception as per DOM spec. |
| void AbstractDOMParser::parse | ( | const char *const | systemId | ) |
Parse via a file path or URL (in the local code page).
This method invokes the parsing process on the XML file specified by the native char* string parameter 'systemId'.
| systemId | A const char pointer to a native string which contains the path to the XML file to be parsed. |
| SAXException | Any SAX exception, possibly wrapping another exception. | |
| XMLException | An exception from the parser or client handler code. | |
| DOMException | A DOM exception as per DOM spec. |
| bool AbstractDOMParser::parseFirst | ( | const XMLCh *const | systemId, | |
| XMLPScanToken & | toFill | |||
| ) |
Begin a progressive parse operation.
This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.
It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.
| systemId | A pointer to a Unicode string representing the path to the XML file to be parsed. | |
| toFill | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls. |
parseFirst(char*,...)
parseFirst(InputSource&,...)
| bool AbstractDOMParser::parseFirst | ( | const char *const | systemId, | |
| XMLPScanToken & | toFill | |||
| ) |
Begin a progressive parse operation.
This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.
It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.
| systemId | A pointer to a regular native string representing the path to the XML file to be parsed. | |
| toFill | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls. |
parseFirst(XMLCh*,...)
parseFirst(InputSource&,...)
| bool AbstractDOMParser::parseFirst | ( | const InputSource & | source, | |
| XMLPScanToken & | toFill | |||
| ) |
Begin a progressive parse operation.
This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.
It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.
| source | A const reference to the InputSource object which points to the XML file to be parsed. | |
| toFill | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls. |
parseFirst(XMLCh*,...)
parseFirst(char*,...)
| bool AbstractDOMParser::parseNext | ( | XMLPScanToken & | token | ) |
Continue a progressive parse operation.
This method is used to continue with progressive parsing of XML files started by a call to 'parseFirst' method.
It parses the XML file and stops as soon as it comes across a XML token (as defined in the XML specification).
| token | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls. |
parseFirst(char*,...)
parseFirst(InputSource&,...)
| void AbstractDOMParser::parseReset | ( | XMLPScanToken & | token | ) |
Reset the parser after a progressive parse.
If a progressive parse loop exits before the end of the document is reached, the parser has no way of knowing this. So it will leave open any files or sockets or memory buffers that were in use at the time that the parse loop exited.
The next parse operation will cause these open files and such to be closed, but the next parse operation might occur at some unknown future point. To avoid this problem, you should reset the parser if you exit the loop early.
If you exited because of an error, then this cleanup will be done for you. Its only when you exit the file prematurely of your own accord, because you've found what you wanted in the file most likely.
| token | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls. |
parseFirst(char*,...)
parseFirst(InputSource&,...)
| virtual void AbstractDOMParser::handleElementPSVI | ( | const XMLCh *const | localName, | |
| const XMLCh *const | uri, | |||
| PSVIElement * | elementInfo | |||
| ) | [virtual] |
Receive notification of the PSVI properties of an element.
The scanner will issue this call after the XMLDocumentHandler endElement call. Since the scanner will issue the psviAttributes call immediately after reading the start tag of an element, all element content will be effectively bracketed by these two calls.
| localName | The name of the element whose end tag was just parsed. | |
| uri | The namespace to which the element is bound | |
| elementInfo | Object containing the element's PSVI properties |
Implements PSVIHandler.
| virtual void AbstractDOMParser::handlePartialElementPSVI | ( | const XMLCh *const | localName, | |
| const XMLCh *const | uri, | |||
| PSVIElement * | elementInfo | |||
| ) | [virtual] |
Receive notification of partial PSVI properties of an element.
This callback is made right after the psviAttributes call for non-empty element.
The PSVIElement passed in has all fields properly set and it can be safely accessed the same way as the one passed in handleElementPSVI. However, fields listed below always have default values.
getValidity() PSVIItem::VALIDITY_NOTKNOWN getValidationAttemped() PSVIItem::VALIDATION_NONE getMemberTypeDefinition() 0 getSchemaNormalizedValue() 0 getCanonicalRepresentation() 0 getNotationDeclaration() 0
| localName | The name of the element upon which start tag these attributes were encountered. | |
| uri | The namespace to which the element is bound | |
| elementInfo | Object containing the element's partial PSVI properties |
Reimplemented from PSVIHandler.
| virtual void AbstractDOMParser::handleAttributesPSVI | ( | const XMLCh *const | localName, | |
| const XMLCh *const | uri, | |||
| PSVIAttributeList * | psviAttributes | |||
| ) | [virtual] |
Enables PSVI information about attributes to be passed back to the application.
This callback will be made on *all* elements; on elements with no attributes, the final parameter will be null.
| localName | The name of the element upon which start tag these attributes were encountered. | |
| uri | The namespace to which the element is bound | |
| psviAttributes | Object containing the attributes' PSVI properties with information to identify them. |
Implements PSVIHandler.
| virtual void AbstractDOMParser::docCharacters | ( | const XMLCh *const | chars, | |
| const XMLSize_t | length, | |||
| const bool | cdataSection | |||
| ) | [virtual] |
Handle document character events.
This method is used to report all the characters scanned by the parser. This DOM implementation stores this data in the appropriate DOM node, creating one if necessary.
| chars | A const pointer to a Unicode string representing the character data. | |
| length | The length of the Unicode string returned in 'chars'. | |
| cdataSection | A flag indicating if the characters represent content from the CDATA section. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::docComment | ( | const XMLCh *const | comment | ) | [virtual] |
Handle a document comment event.
This method is used to report any comments scanned by the parser. A new comment node is created which stores this data.
| comment | A const pointer to a null terminated Unicode string representing the comment text. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::docPI | ( | const XMLCh *const | target, | |
| const XMLCh *const | data | |||
| ) | [virtual] |
Handle a document PI event.
This method is used to report any PI scanned by the parser. A new PI node is created and appended as a child of the current node in the tree.
| target | A const pointer to a Unicode string representing the target of the PI declaration. | |
| data | A const pointer to a Unicode string representing the data of the PI declaration. See the PI production rule in the XML specification for details. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::endDocument | ( | ) | [virtual] |
Handle the end of document event.
This method is used to indicate the end of the current document.
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::endElement | ( | const XMLElementDecl & | elemDecl, | |
| const unsigned int | urlId, | |||
| const bool | isRoot, | |||
| const XMLCh *const | elemPrefix | |||
| ) | [virtual] |
Handle and end of element event.
This method is used to indicate the end tag of an element. The DOM parser pops the current element off the top of the element stack, and make it the new current element.
| elemDecl | A const reference to the object containing element declaration information. | |
| urlId | An id referring to the namespace prefix, if namespaces setting is switched on. | |
| isRoot | A flag indicating whether this element was the root element. | |
| elemPrefix | A const pointer to a Unicode string containing the namespace prefix for this element. Applicable only when namespace processing is enabled. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::endEntityReference | ( | const XMLEntityDecl & | entDecl | ) | [virtual] |
Handle and end of entity reference event.
This method is used to indicate that an end of an entity reference was just scanned.
| entDecl | A const reference to the object containing the entity declaration information. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::ignorableWhitespace | ( | const XMLCh *const | chars, | |
| const XMLSize_t | length, | |||
| const bool | cdataSection | |||
| ) | [virtual] |
Handle an ignorable whitespace vent.
This method is used to report all the whitespace characters, which are determined to be 'ignorable'. This distinction between characters is only made, if validation is enabled.
Any whitespace before content is ignored. If the current node is already of type DOMNode::TEXT_NODE, then these whitespaces are appended, otherwise a new Text node is created which stores this data. Essentially all contiguous ignorable characters are collected in one node.
| chars | A const pointer to a Unicode string representing the ignorable whitespace character data. | |
| length | The length of the Unicode string 'chars'. | |
| cdataSection | A flag indicating if the characters represent content from the CDATA section. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::resetDocument | ( | ) | [virtual] |
Handle a document reset event.
This method allows the user installed Document Handler to 'reset' itself, freeing all the memory resources. The scanner calls this method before starting a new parse event.
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::startDocument | ( | ) | [virtual] |
Handle a start document event.
This method is used to report the start of the parsing process.
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::startElement | ( | const XMLElementDecl & | elemDecl, | |
| const unsigned int | urlId, | |||
| const XMLCh *const | elemPrefix, | |||
| const RefVectorOf< XMLAttr > & | attrList, | |||
| const XMLSize_t | attrCount, | |||
| const bool | isEmpty, | |||
| const bool | isRoot | |||
| ) | [virtual] |
Handle a start element event.
This method is used to report the start of an element. It is called at the end of the element, by which time all attributes specified are also parsed. A new DOM Element node is created along with as many attribute nodes as required. This new element is added appended as a child of the current node in the tree, and then replaces it as the current node (if the isEmpty flag is false.)
| elemDecl | A const reference to the object containing element declaration information. | |
| urlId | An id referring to the namespace prefix, if namespaces setting is switched on. | |
| elemPrefix | A const pointer to a Unicode string containing the namespace prefix for this element. Applicable only when namespace processing is enabled. | |
| attrList | A const reference to the object containing the list of attributes just scanned for this element. | |
| attrCount | A count of number of attributes in the list specified by the parameter 'attrList'. | |
| isEmpty | A flag indicating whether this is an empty element or not. If empty, then no endElement() call will be made. | |
| isRoot | A flag indicating whether this element was the root element. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::startEntityReference | ( | const XMLEntityDecl & | entDecl | ) | [virtual] |
Handle a start entity reference event.
This method is used to indicate the start of an entity reference. If the expand entity reference flag is true, then a new DOM Entity reference node is created.
| entDecl | A const reference to the object containing the entity declaration information. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::XMLDecl | ( | const XMLCh *const | versionStr, | |
| const XMLCh *const | encodingStr, | |||
| const XMLCh *const | standaloneStr, | |||
| const XMLCh *const | actualEncStr | |||
| ) | [virtual] |
Handle an XMLDecl event.
This method is used to report the XML decl scanned by the parser. Refer to the XML specification to see the meaning of parameters.
This method is a no-op for this DOM implementation.
| versionStr | A const pointer to a Unicode string representing version string value. | |
| encodingStr | A const pointer to a Unicode string representing the encoding string value. | |
| standaloneStr | A const pointer to a Unicode string representing the standalone string value. | |
| actualEncStr | A const pointer to a Unicode string representing the actual encoding string value. |
Implements XMLDocumentHandler.
| virtual void AbstractDOMParser::attDef | ( | const DTDElementDecl & | elemDecl, | |
| const DTDAttDef & | attDef, | |||
| const bool | ignoring | |||
| ) | [virtual] |
| virtual void AbstractDOMParser::doctypeComment | ( | const XMLCh *const | comment | ) | [virtual] |
| virtual void AbstractDOMParser::doctypeDecl | ( | const DTDElementDecl & | elemDecl, | |
| const XMLCh *const | publicId, | |||
| const XMLCh *const | systemId, | |||
| const bool | hasIntSubset, | |||
| const bool | hasExtSubset = false | |||
| ) | [virtual] |
| virtual void AbstractDOMParser::doctypePI | ( | const XMLCh *const | target, | |
| const XMLCh *const | data | |||
| ) | [virtual] |
| virtual void AbstractDOMParser::doctypeWhitespace | ( | const XMLCh *const | chars, | |
| const XMLSize_t | length | |||
| ) | [virtual] |
| virtual void AbstractDOMParser::elementDecl | ( | const DTDElementDecl & | decl, | |
| const bool | isIgnored | |||
| ) | [virtual] |
| virtual void AbstractDOMParser::endAttList | ( | const DTDElementDecl & | elemDecl | ) | [virtual] |
| virtual void AbstractDOMParser::endIntSubset | ( | ) | [virtual] |
| virtual void AbstractDOMParser::endExtSubset | ( | ) | [virtual] |
| virtual void AbstractDOMParser::entityDecl | ( | const DTDEntityDecl & | entityDecl, | |
| const bool | isPEDecl, | |||
| const bool | isIgnored | |||
| ) | [virtual] |
| virtual void AbstractDOMParser::resetDocType | ( | ) | [virtual] |
| virtual void AbstractDOMParser::notationDecl | ( | const XMLNotationDecl & | notDecl, | |
| const bool | isIgnored | |||
| ) | [virtual] |
| virtual void AbstractDOMParser::startAttList | ( | const DTDElementDecl & | elemDecl | ) | [virtual] |
| virtual void AbstractDOMParser::startIntSubset | ( | ) | [virtual] |
| virtual void AbstractDOMParser::startExtSubset | ( | ) | [virtual] |
| virtual void AbstractDOMParser::TextDecl | ( | const XMLCh *const | versionStr, | |
| const XMLCh *const | encodingStr | |||
| ) | [virtual] |
| virtual DOMCDATASection* AbstractDOMParser::createCDATASection | ( | const XMLCh * | , | |
| XMLSize_t | ||||
| ) | [protected, virtual] |
| virtual DOMElement* AbstractDOMParser::createElement | ( | const XMLCh * | name | ) | [protected, virtual] |
| virtual DOMElement* AbstractDOMParser::createElementNS | ( | const XMLCh * | namespaceURI, | |
| const XMLCh * | elemPrefix, | |||
| const XMLCh * | localName, | |||
| const XMLCh * | qName | |||
| ) | [protected, virtual] |
| virtual DOMAttr* AbstractDOMParser::createAttrNS | ( | const XMLCh * | namespaceURI, | |
| const XMLCh * | elemPrefix, | |||
| const XMLCh * | localName, | |||
| const XMLCh * | qName | |||
| ) | [protected, virtual] |
| DOMNode * AbstractDOMParser::getCurrentNode | ( | ) | [protected] |
Get the current DOM node.
This provides derived classes with access to the current node, i.e. the node to which new nodes are being added.
References fCurrentNode.
| XMLScanner * AbstractDOMParser::getScanner | ( | ) | const [protected] |
Get the XML scanner.
This provides derived classes with access to the XML scanner.
References fScanner.
| GrammarResolver * AbstractDOMParser::getGrammarResolver | ( | ) | const [protected] |
Get the Grammar resolver.
This provides derived classes with access to the grammar resolver.
References fGrammarResolver.
| bool AbstractDOMParser::getParseInProgress | ( | ) | const [protected] |
Get the parse in progress flag.
This provides derived classes with access to the parse in progress flag.
References fParseInProgress.
| MemoryManager * AbstractDOMParser::getMemoryManager | ( | ) | const [protected] |
References fMemoryManager.
| void AbstractDOMParser::setCurrentNode | ( | DOMNode * | toSet | ) | [protected] |
Set the current DOM node.
This method sets the current node maintained inside the parser to the one specified.
| toSet | The DOM node which will be the current node. |
References fCurrentNode.
| void AbstractDOMParser::setDocument | ( | DOMDocument * | toSet | ) | [protected] |
Set the document node.
This method sets the DOM Document node to the one specified.
| toSet | The new DOM Document node for this XML document. |
| void AbstractDOMParser::setParseInProgress | ( | const bool | toSet | ) | [protected] |
Set the parse in progress flag.
This method sets the parse in progress flag to true or false.
| toSet | The value of the flag to be set. |
References fParseInProgress.
| void AbstractDOMParser::resetPool | ( | ) | [protected] |
| bool AbstractDOMParser::isDocumentAdopted | ( | ) | const [protected] |
Returns true if the user has adopted the document.
bool AbstractDOMParser::fCreateEntityReferenceNodes [protected] |
Referenced by getCreateEntityReferenceNodes(), and setCreateEntityReferenceNodes().
bool AbstractDOMParser::fIncludeIgnorableWhitespace [protected] |
Referenced by getIncludeIgnorableWhitespace(), and setIncludeIgnorableWhitespace().
bool AbstractDOMParser::fWithinElement [protected] |
bool AbstractDOMParser::fParseInProgress [protected] |
Referenced by getParseInProgress(), and setParseInProgress().
bool AbstractDOMParser::fCreateCommentNodes [protected] |
Referenced by getCreateCommentNodes(), and setCreateCommentNodes().
bool AbstractDOMParser::fDocumentAdoptedByUser [protected] |
bool AbstractDOMParser::fCreateSchemaInfo [protected] |
Referenced by getCreateSchemaInfo().
bool AbstractDOMParser::fDoXInclude [protected] |
Referenced by getDoXInclude(), and setDoXInclude().
XMLScanner* AbstractDOMParser::fScanner [protected] |
Referenced by getScanner().
XMLCh* AbstractDOMParser::fImplementationFeatures [protected] |
Referenced by useImplementation().
DOMNode* AbstractDOMParser::fCurrentParent [protected] |
DOMNode* AbstractDOMParser::fCurrentNode [protected] |
Referenced by getCurrentNode(), and setCurrentNode().
DOMEntityImpl* AbstractDOMParser::fCurrentEntity [protected] |
DOMDocumentImpl* AbstractDOMParser::fDocument [protected] |
DOMDocumentTypeImpl* AbstractDOMParser::fDocumentType [protected] |
RefVectorOf<DOMDocumentImpl>* AbstractDOMParser::fDocumentVector [protected] |
GrammarResolver* AbstractDOMParser::fGrammarResolver [protected] |
Referenced by getGrammarResolver().
XMLStringPool* AbstractDOMParser::fURIStringPool [protected] |
XMLValidator* AbstractDOMParser::fValidator [protected] |
MemoryManager* AbstractDOMParser::fMemoryManager [protected] |
Referenced by getMemoryManager(), and useImplementation().
XMLGrammarPool* AbstractDOMParser::fGrammarPool [protected] |
XMLBufferMgr AbstractDOMParser::fBufMgr [protected] |
XMLBuffer& AbstractDOMParser::fInternalSubset [protected] |
PSVIHandler* AbstractDOMParser::fPSVIHandler [protected] |
Referenced by getPSVIHandler().


Gateway
BOT
27-Jul-18 01:24 AM
[dscrdeql] <AndronicusBass-Founder> I think you will need to relax and just enjoy the friendly community and positivity. you can understand that the entire cryptocurrency community around the world is a little down from the entire bear market this year. Our project is having real world tangible products so this is something many are excited about.
[dscrdeql] <Jonathan> ok see that, don't see a way to deposit usd though
[dscrdeql] <AndronicusBass-Founder> Im not logged in but find usd and click green deposit button like the other currencies, there are some options there but I dont know which one is best. will have to check reviews
[dscrdeql] <Jonathan> Ah ok, didn't know I could put usd in the search. Thanks! @AndronicusBass-Founder
[dscrdeql] <Jellysmash> Good time to buy EQL
[dscrdeql] <AndronicusBass-Founder> @MySoulisNotForSale And please adhere to the #rules that you agreed to when you joined this server particularly point 4, Thank you
[dscrdeql] <Jellysmash> Especially if masternodes come into play
[dscrdeql] <MySoulisNotForSale> this is going to be POS?
[dscrdeql] <Jellysmash> Not sure
[dscrdeql] <Jellysmash> I i think buy cheap now before it gets too expensive...that's what I'm doing
[dscrdeql] <AndronicusBass-Founder> Information will be released in upcoming announcements when they are ready
[dscrdeql] <Jellysmash> Yep, thanks
[dscrdeql] <Jellysmash> Buy, buy, buy
[dscrdeql] <Jonathan> trying to lol
[dscrdeql] <MySoulisNotForSale> @Jonathan see? told you there is USD pair
[dscrdeql] <Jonathan> Just trying to get around the third party deposit system
[dscrdeql] <Jonathan> or looks like it at least
[dscrdeql] <Jonathan> 2 of them don't like Americans
[dscrdeql] <AndronicusBass-Founder> I am going to research ratings on them.
[dscrdeql] <MySoulisNotForSale> lol
[dscrdeql] <MySoulisNotForSale> no comment
[dscrdeql] <Jonathan> eh it's ok, I can wait till I get more coin and swap up
[dscrdeql] <Jonathan> we're not all bad @MySoulisNotForSale
[dscrdeql] <MySoulisNotForSale> don't trip . .I am Syrian/American
[dscrdeql] <MySoulisNotForSale> I took an ooath do defend this country . from enemies, foreign and domestic. . it's just too bad most people don't know the enemy within
[dscrdeql] <Jonathan> I don't trip, unless my doggie walks in front of me
[dscrdeql] <MySoulisNotForSale> hell, I was even in the US navy for 4 years
[dscrdeql] <Jonathan> Nice, my grandpa was in the navy. My dad was in Vietnam
[dscrdeql] <MySoulisNotForSale> nkice
[dscrdeql] <MySoulisNotForSale> *nice
[dscrdeql] <Biomech-Founder> Holy shit, what did I just step in?
[dscrdeql] <Jonathan> lol
[dscrdeql] <CowboyCrypto- Founder> Bullshit lol
[dscrdeql] <Biomech-Founder> Smells like it.
[dscrdeql] <CowboyCrypto- Founder> Which should be the best signal all yeat
[dscrdeql] <CowboyCrypto- Founder> Year
[dscrdeql] <Biomech-Founder> could be.
[dscrdeql] <Biomech-Founder> Ok, WTH.
[dscrdeql] <Biomech-Founder> POS, probably not but we haven't ruled it out. All founders agree that we like, want, and need masternodes. Exact details are being ironed out, as KMD platform has new tech that make's 'em doable in a somewhat unique way. We'll know shortly, and y'all will know shortly after
[dscrdeql] <beastMode> hey hey hey
[dscrdeql] <Biomech-Founder> And yes, the USD pair on Exrates is actually USD, not tether
[dscrdeql] <Biomech-Founder> I'll ignore the sniping. Everybody chill
[dscrdeql] <AndronicusBass-Founder> By entering this discord, the #rules are agreed to, so please adhere to them
[dscrdeql] <Biomech-Founder> We will always give the community a heads up regarding our plans WHEN THEY ARE SOLID, but not before. I learned that the hard way when I was part of the GameCredits team. Too much info, one little things goes wrong and you spend six weeks swatting FUD that could be used to fix the issue. So we will be pretty damn solid on any timelines we post.
[dscrdeql] <MySoulisNotForSale> what happened now
[dscrdeql] <Biomech-Founder> The flip side is, we seriously want the community's input. We take everything into consideration. Sometimes, we think something is a great idea, but doesn't fit. Others, not so much But we wanna hear 'em all.
[dscrdeql] <Biomech-Founder> Nothing happened, I'm just takin' a minute to clarify our position.
[dscrdeql] <MySoulisNotForSale> wooo, california is burning again
[dscrdeql] <MySoulisNotForSale> Redding fire, yosemite fire. .
[dscrdeql] <AndronicusBass-Founder> what is 'wooo'?
[dscrdeql] <MySoulisNotForSale> the sound of my lungs burning
[dscrdeql] <MySoulisNotForSale> steped outside and took a wiff
[dscrdeql] <MySoulisNotForSale> smoke is thick in the valley
[dscrdeql] <MySoulisNotForSale> apparently they evacuated all of yosemite
[dscrdeql] <Jellysmash> @Biomech thanks for the clarification
[dscrdeql] <Jellysmash> Either way....Buy, buy, buy
[dscrdeql] <ganjie> good morning
[dscrdeql] <MySoulisNotForSale> If you look at the electra coin, the people who bought cheap and are making a killing from their MN' rewards keep driving the price of the coin down. . I remember buying eca over a year ago at 6-10 satoshi, and it's still the same price now
[dscrdeql] <MySoulisNotForSale> them whales do lot's of damage
[dscrdeql] <Jonathan> In any case, all the Founder have been nothing but helpful and I really appreciate it :EQLI:
[dscrdeql] <AndronicusBass-Founder> I heard about Electra coin but not sure what it's for. However what you must realise, buying Equaliser gives holders the opportunity to purchase property we build by paying with our coin which also strengthens Equaliser's value.
[dscrdeql] <Jellysmash> @ganjie morning
[tlgrm] <b> Did you link telegram to discord??
[dscrdeql] <MySoulisNotForSale> @AndronicusBass-Founder hell yeah. . I'll be one of your first property purchasers . . I already have the land
[dscrdeql] <Jellysmash> Maybe it depends on the percentage of mn rewards @MySoulisNotForSale
[dscrdeql] <AndronicusBass-Founder> Nice. When I get my own land it will be in the dry outback, I prefer rural living
[dscrdeql] <Jellysmash> @AndronicusBass how many coins do you think will be needed to purchase property?...just a rough guestimate....1million?
[tlgrm] <AndronicusBass> We did, bro :) (re @b: Did you link telegram to discord??)
(edited)
[dscrdeql] <MySoulisNotForSale> cowboy said something about 80k usd for a house
[dscrdeql] <CowboyCrypto- Founder> This will all be configured when we start building
[tlgrm] <b> Wow my phone hasn't stopped singing for the last 3 hours
[tlgrm] <AndronicusBass> I've turned off notifications too lol.
[dscrdeql] <CowboyCrypto- Founder> It seriously depends on what you want and several other factors
[dscrdeql] <CowboyCrypto- Founder> B how’s the island
[dscrdeql] <CowboyCrypto- Founder> And what’s my boy gettin into down there lol
[tlgrm] <b> Hot but good we busy.
[dscrdeql] <CowboyCrypto- Founder> Good deal
[tlgrm] <b> We actually were driving around all day looking for more ladders we need like 20 more


Inventory Received
Inventory In Tool
Inventory Sent
eBay errors
WHI errors
Select Seller
Results Per Page
{{item}}


Basic
This is the the example shown on the Getting Started page. This is the simplest way to use a device client.
var configuration = new DeviceConfiguration
{
Protocol = "http://",
Host = "<IP_ADDRESS>",
Port = 11111,
ApiVersion = "v1",
DeviceNumber = 0,
};
ITelescope telescope = new Telescope(configuration);
More simple, if the device parameters match the default configuration
var configuration = new DeviceConfiguration();
ITelescope telescope = new Telescope(configuration);
Add a logger
A logger is only necessary if you want to log the raw responses coming from a device.
The constructor accept logger that implements ASCOMAlpacaClient.Logging.ILogger
. For conveniency, adapters for common logger are provided in additional NuGet packages. Currently NLog and Serilog are available. Feel free to open an issue or a Pull Request if you need implementation for other logger
var serilogLogger = new LoggerConfiguration().CreateLogger();
ASCOMAlpacaClient.Logging.ILogger logger = new SerilogAdapter(serilogLogger);
telescope = new Telescope(configuration, logger);
Put the ClientID and ClientTransactionID in the requests
To put the ClientID and ClientTransactionID in the request, the ClientId
has to be set in the configuration object and a ClientTransactionIdGenerator
has to be passed to the device constructor. ClientTransactionIdGenerator instance should be unique (same instance used for each device) unless each device has his own ClientId
var configuration = new DeviceConfiguration
{
Protocol = "http://",
Host = "<IP_ADDRESS>",
Port = 11111,
ApiVersion = "v1",
DeviceNumber = 0,
ClientId = 1
};
IClientTransactionIdGenerator clientTransactionIdGenerator = new ClientTransactionIdGenerator();
telescope = new Telescope(configuration, clientTransactionIdGenerator);
Combine ClientTransactionIdGenerator and Logger
The most complete constructor allows using a ClientTransactionIdGenerator and a Logger
var configuration = new DeviceConfiguration
{
Protocol = "http://",
Host = "<IP_ADDRESS>",
Port = 11111,
ApiVersion = "v1",
DeviceNumber = 0,
ClientId = 1
};
IClientTransactionIdGenerator clientTransactionIdGenerator = new ClientTransactionIdGenerator();
var serilogLogger = new LoggerConfiguration().CreateLogger();
ASCOMAlpacaClient.Logging.ILogger logger = new SerilogAdapter(serilogLogger);
telescope = new Telescope(configuration, clientTransactionIdGenerator, logger);


Stan Models in CmdStanPy¶
The: CmdStanModel class manages the Stan program and its corresponding compiled executable. It provides properties and functions to inspect the model code and filepaths. By default, the Stan program is compiled on instantiation.
import os
from cmdstanpy import cmdstan_path, CmdStanModel
bernoulli_stan = os.path.join(cmdstan_path(), 'examples', 'bernoulli', 'bernoulli.stan')
bernoulli_model = CmdStanModel(stan_file=bernoulli_stan)
bernoulli_model.name
bernoulli_model.stan_file
bernoulli_model.exe_file
bernoulli_model.code()
A model object can be instantiated by specifying either the Stan program file path or the compiled executable file path or both. If both are specified, the constructor will check the timestamps on each and will only re-compile the program if the Stan file has a later timestamp which indicates that the program may have been edited.
Model compilation¶
Model compilation is carried out via the GNU Make build tool.
The CmdStan makefile
contains a set of general rules which
specify the dependencies between the Stan program and the
Stan platform components and low-level libraries.
Optional behaviors can be specified by use of variables
which are passed in to the make
command as name, value pairs.
Model compilation is done in two steps:
The
stanc
compiler translates the Stan program to C++.The C++ compiler compiles the generated code and links in the necessary supporting libraries.
Therefore, both the constructor and the compile
method
allow optional arguments stanc_options
and cpp_options
which
specify options for each compilation step.
Options are specified as a Python dictionary mapping
compiler option names to appropriate values.
To use Stan’s
parallelization
features, Stan programs must be compiled with the appropriate C++ compiler flags.
If you are running GPU hardware and wish to use the OpenCL framework to speed up matrix operations,
you must set the C++ compiler flag STAN_OPENCL.
For high-level within-chain parallelization using the Stan language reduce_sum function,
it’s necessary to set the C++ compiler flag STAN_THREADS. While any value can be used,
we recommend the value True
.
For example, given Stan program named ‘proc_parallel.stan’, you can take advantage of both kinds of parallelization by specifying the compiler options when instantiating the model:
proc_parallel_model = CmdStanModel(
stan_file='proc_parallel.stan',
cpp_options={"STAN_THREADS": True, "STAN_OPENCL": True},
)
Specifying a custom Make tool¶
To use custom Make-tool use set_make_env
function.
from cmdstanpy import set_make_env
set_make_env("mingw32-make.exe") # On Windows with mingw32-make


{% extends 'layouts/layout-cookie-banner.html' %} {% extends 'layouts/layout.html' %} {% block pageTitle %} What you need {% endblock %} {% block content %}
This will take longer if you are using assistive technologies.
So that we can match you to your NHS record, you will need to tell us your NHS number and date of birth.
If you do not know these details, you can tell us your:
You will need a working mobile phone with signal, as we will text you a security code.


Am a Junior Web developer, currently working finance plan. I am able to build a Web presence from the ground up -- from concept, navigation, layout and programming to research on UX. Skilled at writing well-designed, testable and efficient code using current best practices in backend api development. Fast learner, hard worker and team player who is proficient in Python-django, Python-flask, Angulat Js and also vanilla Js.
I have been tasked with developing training materials including Computer Based Training, developing and maintaining web applications such as front-end user interface, database management, Implementing Python functions for Inter Intel systems, liaising with customers and internal team and assisting with help desk tasks.
Currently am a working as full stack engineer. Our main tech stack is Python Django and Angular Js.
Capitalize on my statistical and research skills. Mostly made my presence felt at the compliance department, most of my work was reviewing and inspection of hospital claims and ease the work for the compliance officers on approving them. Collecting claims and diseases data from the hospital claims to help in better planning and allocation of funds to hospitals by the organisation
This Was a bootcamp training project. Mainly to test on my skills as a python developer. So its a python API, created using flask-restful framework. All the relevant instructions on installing and testing is on the Readme.md of the develop branch.
This Was a project. Mainly to practise on my front-end development skills. Its purely created using css3, vanilla javascript and Html5.All the relevant instructions on testing and viewing on github pages is on the Readme.md
This Was a short front-end development project we took wit africa collect textiles. We had to put it to a halt after being commited alot with tasks and projects of Interintel technologies. Its Readme.md
GPA: 3.0
GPA: 3.56
Apart from being a web developer, I enjoy most of my time being outdoors. During the warmer months here, I enjoy mountain biking, free climbing, and kayaking.
When forced indoors, I follow a number of sci-fi and fantasy genre movies and television shows, I am an aspiring chef, and I spend a large amount of my free time exploring the latest technology advancements in the full-stack web development world.


this is the body of page
any thing within the body of a web page is display in the main browser window


RPICSIO
The EventData Class
The EventData Class
The EventData class provides a container to transport event data. An instantiated object of this class is created by an
InteruptPortMM class for every
OnInterrupt triggered and is passed as a parameter in the InterruptEventHandlerMM delegate
Source Code
The source code for this class is available online for
download
and also in
browseable form.
Example Code
Example code which demonstrates the use of this class can be found on the Interrupt Port Example page.
Syntax
public class EventData
A class to encapsulate event data.
Public Constructors
public EventData(InterruptPortMM portObjectIn)
Constructor.
- Parameters
- portObjectIn - The InterruptPortMM object which is sending this event.
public EventData(InterruptPortMM portObjectIn, int evCodeIn, uint evValueIn)
Constructor.
- Parameters
- portObjectIn - The InterruptPortMM object which is sending this event.
- evCodeIn - A user specified code which appears in the events.
- evValueIn - The current state of the pin 0 or 1 (low or high).
Public Methods
public override string ToString()
Outputs the event data as a nice human readable string. An example would be
GPIO=GPIO_4, date=2014-11-30 15:22:56.45677, evCode=00A4, evValue=1
Public Properties
public int EvCode { get; }
Gets the event code. This is a user defined value specified when
the interrupt port was created. There is no set accessor - this value is set in the Constructor.
- value
- The user-defined identification code for this event.
public DateTime EventDateTime { get; }
Gets the event date time. Will never return null. There is no set
accessor. The event dateTime is set when the event is created.
- value
- The datetime value when the event was created.
public GpioEnum EvGPIO { get; }
Gets the event GPIO. There is no set accessor - this value is derived from the PortObject.
- value
- The gpioID of the InterruptPortMM object that generated this event.
public int EvMSec { get; }
Gets the milli-seconds value of the event. There is no set accessor - this value is derived from the EventDateTime.
- value
- The milli-seconds value of the date and time this event was generated.
public int EvSec { get; }
Gets the seconds value of the event. There is no set accessor - this value is derived from the EventDateTime
- value
- The seconds value of the date and time this event was generated.
public bool EvState { get; }
Gets the event boolean state. This is false if EvValue is zero otherwise true
- value
- true the EvValue is non-zero, false it is zero.
public long EvTicks { get; }
Gets the ticks value of the event.. There is no set accessor - this value is derived from the EventDateTime.
A tick is 100 nano seconds or 0.1 micro sec.
- value
- The number of ticks of the date and time this event was generated.
public int EvUSec { get; }
Gets the micro-seconds value of the event. There is no set accessor - this value is derived from the EventDateTime.
- value
- The micro-seconds value of the date and time this event was generated.
public uint EvValue { get; }
Gets the event value. This will be 0 for pin is now low, 1 for pin is now high.
- value
- The state of the pin when the interrupt was generated.
public InterruptPortMM PortObject { get; set; }
Gets/Sets the port object which generated this event.
- value
- The InterruptPortMM object that generated this event.


The HIPC data standards working group defines the metadata, assay results and controlled vocabularies used by HIPC centers to submit experimental results to NIAID/ImmPort. Most of the standards we develop are incorporated into the ImmPort data deposition templates.
HIPC specifies content for some experiment types. This includes:
- Transcriptional Profiling Experiments (e.g. microarray and RNA-seq)
In addition to the experimental metadata submission to ImmPort, HIPC requires submission of the underlying data to NCBI.
For details, please see HIPC Standards Working Group Transcription Profiling standards.
- Cell Cytometry Experiments
In addition to raw data in .fcs files, HIPC requires the submission of derived data (e.g., the cell population frequencies).
- Multiplex Bead Array Assays (MBAA) Experiments (e.g. Luminex)
In addition to results from the assayed biological samples (experimental samples), HIPC requires submission of the results from the control samples and their standard curves.
These are submitted using the control sample and standard curve templates.
All HIPC centers submit data directly to ImmPort using the templates available at immport.org
Questions?
For questions about ImmPort data depositions, email<EMAIL_ADDRESS>For questions about HIPC data standards, email<EMAIL_ADDRESS>More information about HIPC can be found at immuneprofiling.org


The following details some of the talks I've performed through the years.
Testing and you!
Summer of Tech, December 2011
A look introducing developers to the process of testing, why do defects happen, and why they're not a badge of shame.
Culture clash: managing management relationships
WeTest Session, August 2011
Peer workshop exploring the relationship between testing and management. How can we foster better relations and an understanding of what we do? Do we understand the needs of management?
Exploring gravity
WeTest Workshops, November 2013
Workshop around exploring gravity by dropping a series of items. The workshop examined how we initially plan activities, and have to replan and pivot when things don't to as we expect (there were a number of trap doors in the exercise).
Deprogramming the cargo cult of testing
Let's Test Oz, September 2014 / AgileNZ, September 2015
A look at the journey of my team from testing within a waterfall process to embracing life in agile. What did we keep, what did we throw away? And how we challenged ourselves to be daring.
The Testing Game
WeTest Workshops, November 2015
Testing a simple system where two dice are rolled as part of a number guessing game. What could go wrong? Exploring testers ability to explore


{%extends 'base_tube.html'%} {%block title%}Music Downloader{%endblock%} {%block theme%}Music Download{%endblock%} {%block tips%}


Mary's Peak Area
Trail Area Warning
The Mary's Peak area is seasonally closed to biking from October 15 to May 15.
Description
The Mary’s Peak trail area is managed by the USFS. It is quite possibly the most scenic and cardio demanding system in the Team Dirt purview. The trail system involves a large climb and fast descent. The Northridge trail contains several sections of exposure with roots and off camber tread. Also, note that this trail system is popular with hikers, so cautious descents are advised.
The most common ride is a loop starting at the Woods Creek Gate, then climbing 3.5 miles up the USFS 2005 road to the East Ridge trailhead. From there, you will climb the East Ridge trail until the intersection with the Tie trailhead (for reference, there is a wooden bench here). You will then be able to make the decision to take the Tie trail over to the Northridge trail, bypassing much of the steepest ascent (if chosen, you will miss the first section of the Northridge trail), or continue with the ascent to reach the peak. It is recommended taking the ascent, at least once. If you choose to ascend to the peak, simply ride across the parking lot to the trailhead of the Northridge trail. From there, it is a fast loamy switchback full descent back to the Woods Creek Gate.
Note, If you decide to shuttle the ride by parking a car at the peak, you will need to purchase a day parking pass for $5 (cash only).
Trails
Please help out fellow riders, by submitting a trail report when you discover a trail hazard. Also, general trail reports help too, since it keeps our records up to date. You can submit a trail report by clicking on the trail in the table below, logging into trailforks (accounts are free), and creating a trail report.


IR -> SelectionDag -> X86TargetLowering [legalize dag operations w.r.t
target ] -> SelectionDAGISel(manual
implementation) || X86FastIsel ->
InstrEmitter:EmitMachineNode[ emit MachineInstructions ] ->
X86DAGToDAGISel::Select[ Register Allocation] ->
X86AsmPrinter::EmitInstruction
llvm/lib/CodeGen/CodeGenPrepare.cpp
// Build a truncate instruction.
truncation due to casting may lead to deletion of original instruction. it has an undo method, which erases the instruction
Codegen preparation. Common to all architectures. We may loose instruction information here.
// OptimizeCmpExpression - sink the given CmpInst
// into user blocks to reduce
// the number of virtual reduce registers
// that must be created and
OptimizeCmpExpression(CmpInst *CI) {}
OptimizeNoopCopyExpression -
if the specified cast instruction is Noop copy
(e.g, copy from one pointer type to another, i32->i8)
Also adds another
Look for opportunities to duplicate return instructions to the predecessor to enable tail call optimizations.
/// bb0:
/// %tmp0 = tail call i32 @f0()
/// br label %return
/// bb1:
/// %tmp1 = tail call i32 @f1()
/// br label %return
/// return:
/// %retval = phi i32 [ %tmp0, %bb0 ], [ %tmp1, %bb1 ], [ %tmp2, %bb2 ]
/// ret i32 %retval
/// bb0:
/// %tmp0 = tail call i32 @f0()
/// ret i32 %tmp0
/// bb1:
/// %tmp1 = tail call i32 @f1()
/// ret i32 %tmp1
// Duplicate the return into CallBB.
(void)FoldReturnIntoUncondBranch(RI, BB, CallBB);
creates a truncated instruction
TruncBuilder(Instruction *Opnd, Type *Ty) : TypePromotionAction(Opnd) {}
class SExtBuilder : public TypePromotionAction {}
// a = b==b ? 2 : 3 -> if(b==b) 2 else 3
CodeGenPrepare::OptimizeSelectInst(SelectInst *SI) {}
// Some targets have expensive vector shifts if the lanes aren't all the same // (e.g. x86 only introduced "vpsllvd" and friends with AVX2). In these cases // it's often worth sinking a ShuffleVectorInstr splat down to its use so that // codegen can spot all lanes aren identical.
bool CodeGenPrepare::OptimizeShuffleVectorInst(ShuffleVectorInst *SVI) {}
X86InstrInfo.cpp
bool X86InstrInfo::AnalyzeBranch{}
Two eraseFromParent: 1. If the block has any instructions after a JMP, delete them. => dead code. 2. Delete the JMP if it's equivalent to a fall-through. //jmp not required.
Question: can we even instrument this.
only modifies jump instructions which can't even
jCC L1 jmp L2
we could also instrument how many times a particular branch is taken. This transformation may potentially interfere with that.
Check if an instruction already performs the same compare.
This may effect the instrumentation
// Try to remove the load by folding it to a register
// operand at the use. We fold the load instructions if load
// defines a virtual
// register, the virtual register is used once in the same BB,
// instructions in-between do not load or store, and have no side
// effects.
MachineBasicBlock *EmitXBegin;
// Utility function to emit xbegin specifying the start of an RTM region
// RTM - restricted transactional memory
deletes the previous instruction to insert
I don't think what's the point of intrumenting some instructions.
EmitAtomicLoadArith - emit the code sequence for pseudo atomic
instructions.
EmitAtomicLoadArith6432
EmitPCMPSTRM
// When we get size specific XMM0 registers, i.e. XMM0_V16I8
// or XMM0_V32I8 in AVX all of this code can be replaced withth
// that
// in the .td file.file


Enable external connectivity through this router by connecting it to an “external network”
# File lib/ropenstack/quantum.rb, line 115 def add_router_gateway(router, external_gateway_info) data = { 'router' => {'external_gateway_info' => external_gateway_info}} return put_request(address("routers/"+router), data, @token) end
Connect a router to a subnet, given router id and subnet id.
# File lib/ropenstack/quantum.rb, line 106 def add_router_interface(router, subnet) data = { 'subnet_id' => subnet } return put_request(address("routers/"+router+"/add_router_interface"), data, @token) end
Create a new network on Openstack given a name and tenant id.
# File lib/ropenstack/quantum.rb, line 47 def create_network(name, tenant, admin_state_up = true) data = { 'network' => { 'name' => name, 'tenant_id' => tenant, 'admin_state_up' => admin_state_up } } return post_request(address("networks"), data, @token) end
Create a new port given network and device ids, optional parameter subnet id allows for scoping the port to a single subnet.
# File lib/ropenstack/quantum.rb, line 77 def create_port(network, device, subnet = nil) data = { 'port' => { 'network_id' => network, 'device_id' => device, } } if subnet data['port']['fixed_ips'] = [{'subnet_id' => subnet}] end return post_request(address("ports"), data, @token) end
Create a new router with a given name.
# File lib/ropenstack/quantum.rb, line 93 def create_router(name, admin_state_up = true) data = { 'router' =>{ 'name' => name, 'admin_state_up' => admin_state_up, } } return post_request(address("routers"), data, @token) end
Create a new ipv4 subnet in a network, given a network id, and a IP range in CIDR format.
# File lib/ropenstack/quantum.rb, line 62 def create_subnet(network, cidr) data = { 'subnet' => { 'network_id' => network, 'ip_version' => 4, 'cidr' => cidr } } return post_request(address("subnets"), data, @token) end
Delete a network given a network id.
# File lib/ropenstack/quantum.rb, line 149 def delete_network(network) return delete_request(address("networks/" + network), @token) end
Delete a port given a port id.
# File lib/ropenstack/quantum.rb, line 142 def delete_port(port) return delete_request(address("ports/" + port), @token) end
Delete a router given a routers id.
# File lib/ropenstack/quantum.rb, line 163 def delete_router(router) return delete_request(address("routers/" + router), @token) end
Clear a routers external gateway information given a router id.
# File lib/ropenstack/quantum.rb, line 170 def delete_router_gateway(router) data = { 'router' => {'external_gateway_info' => nil}} return put_request(address('routers/' + router), data, @token) end
Delete a connection between a subnet and router given either port or subnet ids.
# File lib/ropenstack/quantum.rb, line 183 def delete_router_interface(router, id, type) data = case type when 'port' then { 'port_id' => id } when 'subnet' then { 'subnet_id' => id } else raise "Invalid Interface Type" end return put_request(address("routers/" + router + "/remove_router_interface"), data, @token) end
Delete a subnet given a subnet id
# File lib/ropenstack/quantum.rb, line 156 def delete_subnet(subnet) return delete_request(address("subnets/" + subnet), @token) end
Get a list of ports specific to a device_id
# File lib/ropenstack/quantum.rb, line 33 def device_ports(device_id) return get_request(address("ports?device_id=#{device_id}"), @token) end
Weird function for adding a port to multiple subnets if nessessary.
# File lib/ropenstack/quantum.rb, line 131 def move_port_to_subnets(port_id, subnet_ids) id_list = Array.new() subnet_ids.each do |id| id_list << { "subnet_id" => id } end return update_port(port_id, id_list) end
Get a list of a tenants networks
# File lib/ropenstack/quantum.rb, line 12 def networks return get_request(address("networks"), @token) end
Get a list of ports
# File lib/ropenstack/quantum.rb, line 26 def ports return get_request(address("ports"), @token) end
Retrieve routers owned by the tenant making the request
# File lib/ropenstack/quantum.rb, line 40 def routers return get_request(address("routers"), @token) end
Get a list of subnets
# File lib/ropenstack/quantum.rb, line 19 def subnets return get_request(address("subnets"), @token) end
Update a specific ports fixed_ips, including subnet and ip data.
# File lib/ropenstack/quantum.rb, line 123 def update_port(port, fixed_ips) data = { 'port' => { 'fixed_ips' => fixed_ips } } return put_request(address("ports/"+port), data, @token) end


Total {{p.total}} records, showing from {{p.from+1}} - {{p.from+p.size+1}}
{% elif p["total"] == 0 %}
No search results found for "{{p["q"]}}"
{% else %}
Searched
{% if p["q"] != "*" %} for "{{p["q"]}}", {% endif %}
took {{p["took"]}} ms, to return {{p["total"]}} results
showing from {{p.from+1}} - {{p.from+p.size+1}}


The resource pack hides end crystals since there are many of them in the cells.
4 weeks.
Check out the readme file in the world download or watch Deaf's Video (Click Here)
There's a schematic located in the ZIP folder with the world. Please read the Quick Reference Hand Book for more information
Check out the Quick Reference Hand Book.
Guards can enter via respawn, stasis, or the guard portal and can exit via guard portal or emergency exit. Please check out the Quick Reference Hand Book.
The area bans work by having a dropper repeatedly dispense a shulker full of max size books. When the server tries to send the information in the books to the client, it causes some sort of error which causes them to be kicked.
Ban Books can be made in vanilla survival. It can then just be copied to fill up a shulker box, so it does not count as cheating.
Area banning does not work in singleplayer, but if the area ban machines are not working on a server, make sure that you have escape mode enabled. The outer chunk bans are disabled and inner chunk bans locked when escape mode is off.
You can post the method in the #prison-discussion channel in Deaf's Discord, or you could wait for an event to try it either live on stream or just with trained guards. Make sure that your escape attempt stays within the rules however, as if it does not it does not count.
If you're on a vanilla server you'll need to switch to spigot. In vanilla area bans cover an area of 192x192 blocks instead of the 64x64 in spigot.
Escape rules:


About Us
Learn how we became an industry icon
known for consistent quality
Showcase services in a
spacious & clean manner
Showcase services in a
spacious & clean manner
More About Me
Completed Projects
Satisfied Clients
Job Offers
Missed Deadlines
Pivot is a well designed template built from the ground up for startups to build sites really quickly. Check it out with Variant now.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem.
Latest news & views from deep inside the Rarelab
-
Building layouts that have established vertical rhythm. Published on July 15th 2014
-
Discussing the latest design trends and how they impact on the theme marketplace Published on July 10th 2014
-
Variant: Our new page building tool has just been released, now let's all celebrate shall we!? Published on July 7th 2014
-
How to manage customer expectations when launching a new product Published on July 3rd 2014


Oil - Low Refining Margins Offset By Tight Crude Supplies
by HFIRSummary
- Refining margins are getting obliterated. Tanker rates shot up again last week and refinery run cuts are now expected. So the question becomes, why are physical crude spreads so tight?
- We have a few theories as to why this is happening and Energy Aspect had a theory as well.
- Our take is that global crude is very tight and hence another reason why physical timespreads refuse to sell-off.
- We think the combination of OPEC exports being lower ~4 mb/d y-o-y and low global oil-on-water are contributing to the tight physical timespreads.
- As for global oil inventories, the overall trend has been supportive. We are now below last year's levels according to the high-frequency weekly reports.
Welcome to the global crude edition of Oil Markets Daily!
Refining margins are getting obliterated. Tanker rates shot up again last week and refinery run cuts are now expected. So the question becomes, why are physical crude spreads so tight?
Brent 1-2
Refining Margins
Source: Energy Aspects
We have a few theories as to why this is happening and Energy Aspect had a theory as well.
- Refineries are limited by how much they can cut throughput as local product supplies are tight.
- Drop in refining margins is related to higher tanker rates, not outright higher crude prices.
- Lower OPEC exports globally and lower global oil-on-water have kept crude supplies very tight.
EA stated in today's weekly report that outright refinery run cut should have started, but due to constraints, the estimated run cut has only been ~300k b/d, which is puny.
Our take is that global crude is very tight and hence another reason why physical timespreads refuse to sell-off.
We think this is also largely contributable to OPEC exports being ~4 mb/d lower y-o-y. You can see that last November saw the Saudis spike exports to ~8.3 mb/d to placate Trump. This year? It is at ~6.7 mb/d for Nov.
In addition, it appears Iraqi exports are being impacted by the recent protests with exports falling ~200k b/d m-o-m.
Iraqi exports this year have also disappointed to the downside as you can see in the chart above.
Finally, when you put the lower export figures together, you get lower oil-on-water.
Which we think is the main cause for the backwardated timespreads in global crude.
This, of course, is bullish for crude, but we will need to see the timespreads continue to hold-up as refinery throughput increases.
Source: Energy Aspects
Global CDU outages are expected to drop another ~4.3 mb/d by next month, so this increase in demand will quickly hit global crude storages.
As for global oil inventories, the overall trend has been supportive.
We are now below last year's levels according to the high-frequency weekly reports.
But for oil watchers, the drop in refining margin is of concern, so we will be watching the physical spreads closely.
Thank you for reading this article. HFI Research also has a premium service that provides these reports to subscribers on a weekly basis:
If you are interested, see for yourself why we are the largest energy/value service on Seeking Alpha! We look forward to seeing you being part of the HFI Research community!
Disclosure: I am/we are long UWT. I wrote this article myself, and it expresses my own opinions. I am not receiving compensation for it (other than from Seeking Alpha). I have no business relationship with any company whose stock is mentioned in this article.